[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 |
URL:
<http://savannah.gnu.org/bugs/?45709>
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:
Release: Git master
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
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
outputs:
=====
/dev/mapper/disk1-terra1
/dev/mapper/disk2-terra2
/dev/mapper/disk3-terra3
=====
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/disk2-terra2
/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:
=====
set
root='lvmid/VSnSKT-mFjn-H3fD-xC1o-eyCG-3a5S-rgNQy3/thnod1-e6Gy-O5Gl-8t6h-6zGv-zPjV-jG1kUK
lvmid/4fRRgD-yA28-KKou-f2Uj-RhFP-nFBd-K7ysCV/DoXOeq-5RM2-OdZI-5Tt3-C41n-ROYj-eAT0bp
lvmid/uwsOsc-fegJ-RM3r-qASe-Ix0w-MiVx-BNqmeS/xie7dX-aAXH-Iet7-O8Bl-2sxU-82Am-hifghT'
=====
/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:
<http://savannah.gnu.org/bugs/?45709>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #45709] Grub git master makes bad grub.cfg with btrfs raid of lvm volumes,
James Harvey <=