[Bug 1475919] Re: update-grub generates invalid grub.cfg when using btrfs as root filesystem in RAID5 mode on three disks
Marcus Tomlinson
marcus.tomlinson at canonical.com
Thu Mar 5 13:08:23 UTC 2020
This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.
** Changed in: grub2 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1475919
Title:
update-grub generates invalid grub.cfg when using btrfs as root
filesystem in RAID5 mode on three disks
Status in grub2 package in Ubuntu:
Incomplete
Bug description:
this is how the btrfs filesystem is laid out:
root at manning:~# btrfs fi df /
Data, RAID5: total=6.00GiB, used=2.93GiB
System, RAID1: total=32.00MiB, used=16.00KiB
Metadata, RAID1: total=512.00MiB, used=215.86MiB
GlobalReserve, single: total=80.00MiB, used=0.00B
root at manning:~# btrfs fi sh /
Label: 'M-root' uuid: 365c6d42-8359-4239-ba1a-2b3a25f97ac2
Total devices 3 FS bytes used 3.14GiB
devid 1 size 10.93GiB used 3.28GiB path /dev/sda3
devid 2 size 10.93GiB used 3.50GiB path /dev/sdb3
devid 3 size 10.93GiB used 3.28GiB path /dev/sdc3
device UUIDs are disabled in /etc/default/grub :
GRUB_DISABLE_LINUX_UUID=true
the relevant part of the generated grub.cfg looks like this:
echo 'Loading Linux 3.19.0-22-generic ...'
linux /vmlinuz-3.19.0-22-generic root=/dev/sda3
/dev/sdb3
/dev/sdc3 ro single nomodeset rootflags=subvol=@
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.19.0-22-generic
when i re-enable UUIDs the generated grub.cfg comes out correct.
btw. this is on Lubuntu 15.04 (Vivid Vervet)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1475919/+subscriptions
More information about the foundations-bugs
mailing list