update-grub generates illegal directive in grub.cfg
Bug #820500 reported by
traderbam@yahoo.co.uk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
Grub 1.99 in Ubuntu 11.04 32-bit desktop. "update-grub" produces this stanza in grub.cfg. The set root line is illegal - presumably it should be "set root='(hd0,1)'
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=
insmod part_msdos
insmod ext2
set root='(
search --no-floppy --fs-uuid --set=root cb4ea337-
linux /vmlinuz-
initrd /initrd.
}
affects: | grub (Ubuntu) → grub2 (Ubuntu) |
Changed in grub2 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in grub2 (Ubuntu): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
This does not cause a boot failure because, it seems, the subsequent search line does find the kernel files. But if that search line is commented out the boot fails.