View previous topic :: View next topic |
Author |
Message |
nathanlkoch Apprentice
Joined: 31 Jan 2021 Posts: 163 Location: Earth / Sol
|
Posted: Tue Feb 22, 2022 6:16 pm Post subject: btrfs on luks [solved] |
|
|
Hello,
I am attempting to install btrfs on an encrypted luks on a 32bit efi mac.
The layout is as such.
/dev/sda1 1GB vfat /boot/efi
/dev/sda2 4GB swap
/dev/sda3 luks parition formatted for btrfs
btrfs subvol=activeroot
subvol=boot
subvol=home
mounted as
btrfs subvol=activeroot /
btrfs subvol=boot /boot
/dev/sda2 /boot/efi
btrfs subvol=home /home
I half baked followed this tutorial without the use of dracut.
https://wiki.gentoo.org/wiki/Full_Encrypted_Btrfs/Native_System_Root_Guide#Mapping_names_are_build_from_uuid
I was getting errors about -gcrypt when installed cryptsetup. I just left it alone.
Because I'm using a 32bit MacPro I think I incorrectly formatted /dev/sda1 as vfat instead of regular fat and it's not detecting my system.
I have /etc/default/grub setup the way the tutorial says.
mtab looks good and so does fstab.
Could use some assistance.
From what I understand is grub needs to unlock the disk and see the partitions first but because /boot and / root are in an encrypted partition the kernel has no way of being able to be read? Is that correct?
-Nate
Last edited by nathanlkoch on Sat Feb 26, 2022 12:18 am; edited 1 time in total |
|
Back to top |
|
|
nathanlkoch Apprentice
Joined: 31 Jan 2021 Posts: 163 Location: Earth / Sol
|
Posted: Wed Feb 23, 2022 3:57 am Post subject: |
|
|
I just scrapped the install. Went luks lvm.
That documentation needs updating though. Maybe a new tutorial for btrfs encrypted for bios and eufi. |
|
Back to top |
|
|
|