installs:raspi:argon-oneup:home-setup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| installs:raspi:argon-oneup:home-setup [2026/03/01 16:39] – added end of steps elraphik | installs:raspi:argon-oneup:home-setup [2026/03/01 20:42] (current) – change info size elraphik | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| <code bash> | <code bash> | ||
| export DEVICE=/ | export DEVICE=/ | ||
| + | export PART=/ | ||
| # Wipe disk | # Wipe disk | ||
| sudo wipefs -a $DEVICE | sudo wipefs -a $DEVICE | ||
| Line 21: | Line 22: | ||
| # Install cryptsetup and use it to encrypt the device with a passkey | # Install cryptsetup and use it to encrypt the device with a passkey | ||
| sudo apt update && sudo apt install cryptsetup -y | sudo apt update && sudo apt install cryptsetup -y | ||
| - | sudo cryptsetup luksFormat $DEVICE | + | sudo cryptsetup luksFormat $PART |
| # Now open the device with passkey, it should be located at / | # Now open the device with passkey, it should be located at / | ||
| - | sudo cryptsetup open $DEVICE | + | sudo cryptsetup open $PART crypt_home |
| export VOLUME=/ | export VOLUME=/ | ||
| Line 48: | Line 49: | ||
| <code bash> | <code bash> | ||
| # Retrieve UUID of the partition | # Retrieve UUID of the partition | ||
| - | sudo blkid / | + | sudo blkid $PART |
| # Should return / | # Should return / | ||
| sudo nano / | sudo nano / | ||
| - | # Add crypt_home UUID=YOUR-UUID none luks | + | # Add crypt_home UUID=YOUR-UUID none luks,initramfs |
| # Now configure your fstab | # Now configure your fstab | ||
| - | sudo blkid / | + | sudo blkid $VOLUME |
| sudo nano /etc/fstab | sudo nano /etc/fstab | ||
| - | # Add UUID=CRYPTHOME-UUID | + | # Add / |
| </ | </ | ||
| + | |||
| + | <WRAP center round info 100%> | ||
| + | If you pay attention here, you'll notice the " | ||
| + | I noticed that when booting, the prompt for the decryption passphrase does not appear if the disk decryption does not happen during the initramfs boot phase. If not present, it'll try to decypher during the systemd phase, in which you cannot interact with the prompt, so it will timeout and fail pretty hard. | ||
| + | </ | ||
| + | |||
| Okay now it's almost all set, just need to move some folders around : | Okay now it's almost all set, just need to move some folders around : | ||
| Line 76: | Line 83: | ||
| # Regen initramfs | # Regen initramfs | ||
| - | sudo update-initramfs -u -k all | + | sudo update-initramfs -c -k all |
| # Now reboot | # Now reboot | ||
installs/raspi/argon-oneup/home-setup.1772383181.txt.gz · Last modified: 2026/03/01 16:39 by elraphik
