Recovery mode incorrect on wubi installs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lupin (Ubuntu) |
Fix Released
|
High
|
Colin Watson |
Bug Description
The fix from bug 889650 introduced a new bug (see final comment from that bug):
Anyway, there is a slight difference still. This is the real install:
menuentry 'Ubuntu, with Linux 3.2.0-1-generic (recovery mode)' --class
ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root
02d7ccaf-
echo 'Loading Linux 3.2.0-1-generic ...'
linux /vmlinuz-
root=UUID=
echo 'Loading initial ramdisk ...'
initrd /initrd.
}
And this is the Wubi one:
menuentry 'Ubuntu, with Linux 3.2.0-1-generic (recovery mode)' --class
ubuntu --class gnu-linux --class gnu --class os {
set gfxpayload=
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 18B4B7BBB4B799A8
loopback loop0 /ubuntu/
set root=(loop0)
echo 'Loading Linux 3.2.0-1-generic ...'
linux /boot/vmlinuz-
loop=/ubuntu/
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
Anyway... I was trying to boot the wubi recovery and it just kept getting
stuck, displaying only "Loading initial ramdisk...". Nothing i did made a
change except when I hit ESC it continued to the lightdm logon. And after
removing "set gfxpayload=
Read-only recovery menu (which it does on the normal install).
Looking at the scripts, 10_linux has:
if ! ${recovery} ; then
save_
cat << EOF
set gfxpayload=
EOF
fi
whereas 10_lupin has:
if ! ${recovery} ; then
save_
fi
cat << EOF
set gfxpayload=
EOF
Thanks
Changed in lupin (Ubuntu): | |
importance: | Undecided → High |
Changed in lupin (Ubuntu): | |
status: | New → Triaged |
assignee: | nobody → Colin Watson (cjwatson) |
This bug was fixed in the package lupin - 0.51
---------------
lupin (0.51) precise; urgency=low
* Never use 'set gfxpayload=keep' in recovery mode (LP: #916209).
-- Colin Watson <email address hidden> Wed, 18 Jan 2012 16:32:40 +0000