[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #45709] Grub git master makes bad grub.cfg with btrfs raid of lvm v

From: James Harvey
Subject: [bug #45709] Grub git master makes bad grub.cfg with btrfs raid of lvm volumes
Date: Thu, 06 Aug 2015 21:41:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36


                 Summary: Grub git master makes bad grub.cfg with btrfs raid
of lvm volumes
                 Project: GNU GRUB
            Submitted by: jamespharvey20
            Submitted on: Thu 06 Aug 2015 09:41:05 PM GMT
                Category: None
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: James Harvey
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Git master
         Reproducibility: Every Time
         Planned Release: None



grub 2.02.beta2 (-5 Arch, using git tag grub-2.02-beta2" works fine.  git
master produces this bug.  git master, even with patch 45163.patch which I
hoped would fix this (at http://savannah.gnu.org/bugs/?45163) still causes
this bug.

grub-mkconfig runs "/usr/bin/grub-probe --target=device /boot", which


On my system with a btrfs raid1 made up of 3 logical volumes from LVM.  This
causes /boot/grub/grub.cfg to contain:

        echo    'Loading Linux linux ...'
        linux   /original/boot/vmlinuz-linux root=/dev/mapper/disk1-terra1
/dev/mapper/disk3-terra3 rw rootflags=subvol=original  consoleblank=0
init=/usr/lib/systemd/systemd fbcon=scrollback:128k
        echo    'Loading initial ramdisk ...'

Which causes a boot failure, as it the kernel line is spread out across 3
separate lines, and contains two mapper volumes it doesn't need due to the way
btrfs raid works.

/boot/grub/grub.cfg also has:


/boot/grub/grub.cfg also includes 3 "insmod part_gpt" and 3 "insmod lvm" which
probably doesn't matter that it's duplicated, but would be nice to be fixed.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]