Update readme with better details of how to use.

This commit is contained in:
Eric Renfro 2024-06-23 23:22:55 -04:00
parent e8a5abfd65
commit 468b471e85
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -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.