Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#50246 - [grub] grub-mkconfig generates an erroneous grub.cfg
Attached to Project:
Arch Linux
Opened by Juan Simón (j1simon) - Wednesday, 03 August 2016, 16:53 GMT
Last edited by Christian Hesse (eworm) - Friday, 05 August 2016, 12:00 GMT
Opened by Juan Simón (j1simon) - Wednesday, 03 August 2016, 16:53 GMT
Last edited by Christian Hesse (eworm) - Friday, 05 August 2016, 12:00 GMT
|
Detailsgrub 1:2.02.beta3-1
When I generate grub.cfg with 'sudo grub-mkconfig -o /boot/grub/grub.cfg' it generates this config file: http://pastebin.com/BsXWBUjT It fails to boot because this line "linux /vmlinuz-linux-ck root=UUID= rw acpi_osi=Linux", where is the UUID code? If I disable UUID in grub (GRUB_DISABLE_LINUX_UUID=true), it ignores this setting and it generates the same line. |
This task depends upon
Closed by Christian Hesse (eworm)
Friday, 05 August 2016, 12:00 GMT
Reason for closing: Fixed
Additional comments about closing: grub 2.02.beta3-3
Friday, 05 August 2016, 12:00 GMT
Reason for closing: Fixed
Additional comments about closing: grub 2.02.beta3-3
I just checked this also fails in the previous beta version of grub (1:2.02.beta2-6).
My main disks are:
sdb1 ext2 boot 71a0c4af-e5cd-43da-a6c6-af0219327db9 /boot
└─sdb
sdb2 f2fs system ea54d4b3-a6f8-4141-96cd-481c8880b9ed /
└─sdb
Possibly we are missing parentheses there... Upstream git already has these.
Just to make sure... What do these commands return?
grub-probe --target=device /
grub-probe --device $(grub-probe --target=device /) --target=fs_uuid
linux /vmlinuz-linux-ck root=UUID= rw ...
..."
And it still ignores the setting GRUB_DISABLE_LINUX_UUID.
First of all... You should start reading my posts.
What do the commands return?
I don't install [testing] versions.
$ grub-probe --target=device /
/dev/sdb2
$ sudo grub-probe --device $(grub-probe --target=device /) --target=fs_uuid
grub-probe: error: unknown filesystem.
Grub does not support f2fs, so it will not detect the UUID correctly. The missing parentheses broke your setup then.
grub 2.02.beta3-3 should fix your issue. Please note that it will use the device, not UUID.
Thx