From 468b471e85acc46cd9425c78098f06c722751e1d Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sun, 23 Jun 2024 23:22:55 -0400 Subject: [PATCH] Update readme with better details of how to use. --- README.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a65936c..13eb544 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -LMDE Expert Mode Installation Helper Script +# LMDE Expert Mode Installation Helper Script Used to provide good defaults to LMDE to install with or without encryption, hibernation support, and with BtrFS subvolumes. @@ -16,3 +16,35 @@ Options: -s, --swap Enable Swap/Hibernation support. -d, --debug Enable DEBUG mode for testing. ``` + +## Initial Setup + +To prepare your disk for this, you need to pre-create the paritions needed as you have to supply those partitions to the installer. + +Do this using cfdisk or GParted from the live media of the LMDE environment. + +You will need: + +* 100MB for /boot/efi as FAT32 with boot+esp flags. +* 2GB for /boot if you're using encryption, otherwise you can supply @boot to the installer. +* Remainder for / as BtrFS + +## Installation + +Run lmde-expert.sh with appropriate parameters. An example of this for NVME-based SSD, and Encryption with Hibernation: + +`./lmde-expert.sh /dev/nvme0n1p3 /dev/nvme0n1p2 /dev/nvme0n1p1 -e -s` + +This will start the provisioning setup, with the full expectations that the system is ready to go as-is, as it will format. You will get one prompt before it actually starts. + +## Expert-Step + +After the installation gets to the step where you run the "expert" portion, you can run this again with the --expert flag, and it will finish the installation steps during this phase. + +## Post-Installation + +After you've installed and booted for the first time, to get BtrFS Snapshots setup, you can run the postinstall script: + +`sudo ./lmde-postinstall.sh` + +This will simply install and setup btrfs with snapshots and create your first snapshot automatically.