You are not logged in.
Pages: 1
I have the same problem found in this thread. But since I don't know if I'm allowed to add my problem there, I created this new thread.
I have a BTRFS setup on my laptop. Since I read that Grub doesn't need a separate /boot partition anymore I wanted to switch to a simpler layout using only one partition (/dev/sda1) and BTRFS subvolumes for the rest. I tried to test the setup in VirtualBox first. This is what I did:
1. I created /dev/sda1 spanning the whole disk using fdisk.
2. I encrypted /dev/sda1 using cryptsetup, opened it (/dev/mapper/volume) and mounted it to /mnt.
3. I created the subvolumes @ and @home and mounted them to /mnt/root and /mnt/root/home respectively.
4. I followed the rest of Beginner's Guide (although I'm a long-time Arch user this is still the best document concerning installation IMHO) and substituted /mnt with /mnt/root where necessary.
5. After chrooting into the new system and configuring the initial ramdisk, I installed grub with pacman and tried this command: grub-install --target=i386-pc --recheck /dev/sda
I always get the error "grub-install:error: attempt to install to encrypted disk without cryptodisk enabled. Set 'GRUB_ENABLE_CRYPTODISK=1' in file '/etc/default/grub'"
The option is not available in /etc/default/grub. Although i tried it with or without adding this option, it doesn't work.
Does anyone know a solution? Is my desired setup even possible?
Last edited by mamr (2015-02-07 20:08:49)
Offline
Hi mamr. Try out Pavan's blog post here. I think it may help with the problems you're facing
Offline
That did the trick. Thanks!
Offline
Pages: 1