Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
btrfs on luks [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
nathanlkoch
Apprentice
Apprentice


Joined: 31 Jan 2021
Posts: 163
Location: Earth / Sol

PostPosted: Tue Feb 22, 2022 6:16 pm    Post subject: btrfs on luks [solved] Reply with quote

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
View user's profile Send private message
nathanlkoch
Apprentice
Apprentice


Joined: 31 Jan 2021
Posts: 163
Location: Earth / Sol

PostPosted: Wed Feb 23, 2022 3:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum