Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-3595 boot-update btrfs bugs
  3. FL-2154

Boot-update does not add rootflags to grub.cfg when booting from BTRFS root.

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Normal 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
      

            drobbins drobbins
            kd5lpb kd5lpb [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: