FS#38446 - [grub] grub-mkconfig does not generate correct entries for root on btrfs subvolume

Attached to Project: Arch Linux
Opened by Luis Agostinho (luismagostinho) - Friday, 10 January 2014, 21:47 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 12 January 2014, 12:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
grub-mkconfig does not generate correct entries for root on btrfs subvolume

Additional info:
* package version(s)
grub 1:2.02.beta2-1


Steps to reproduce:
grub-mkconfig -o /boot/grub/grub.cfg

The generated file has an entries like
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /boot/vmlinuz-linux root=UUID=5b4ef961-8e72-4b99-9d04-7351f33a036e rw
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /boot/initramfs-linux.img

And with a btrfs subvolume it should be something like
echo 'Loading Linux linux ...'
linux /@arch/boot/vmlinuz-linux root=UUID=5b4ef961-8e72-4b99-9d04-7351f33a036e rw rootflags=subvol=@arch
echo 'Loading initial ramdisk ...'
initrd /@arch/boot/initramfs-linux.img

In my case the root subvolume is @arch.
   grub.cfg (6.5 KiB)
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 12 January 2014, 12:09 GMT
Reason for closing:  Duplicate
Additional comments about closing:  38453
Comment by Luis Agostinho (luismagostinho) - Friday, 10 January 2014, 21:56 GMT
I forgot to change the catagorie to Packages:Core.
Is there a way I can change this?

Loading...