-
Sub-task
-
Resolution: Fixed
-
Normal
-
None
-
None
When configuring grub.cfg for a BTRFS root (in this instance, located at ROOT/funtoo), boot-update does not add the appropriate rootflags. /boot is not a separate partition or subvolume, but is located at ROOT/funtoo/boot.
What is created by boot-update:
menuentry "Funtoo Linux genkernel - kernel-genkernel-x86_64-3.19.0-gentoo" { insmod part_msdos insmod btrfs set root=(hostdisk//dev/sda,msdos1) search --no-floppy --fs-uuid --set 79c768ad-5512-4d14-b342-d82e49171412 linux /boot/kernel-genkernel-x86_64-3.19.0-gentoo real_root=/dev/sda1 initrd /boot/initramfs-genkernel-x86_64-3.19.0-gentoo set gfxpayload=keep }
In order to boot the system, the following changes must be made:
linux /ROOT/funtoo/boot/kernel-genkernel-x86_64-3.19.0-gentoo real_root=/dev/sda1 real_rootflags=subvol=ROOT/funtoo initrd /ROOT/funtoo/boot/initramfs-genkernel-x86_64-3.19.0-gentoo