Wubi grub prompt on install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wubi |
Fix Released
|
High
|
Colin Watson | ||
grub2 (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Lucid |
Fix Released
|
High
|
Colin Watson | ||
Maverick |
Fix Released
|
High
|
Colin Watson | ||
Natty |
Fix Released
|
High
|
Colin Watson |
Bug Description
Installed Wubi Natty Alpha daily-live for the last day or so - it works fine when I install to the same partition as Windows (/dev/sda2) but if I install on /dev/sda3 (other NTFS partition) it fails as follows:
1. WIndows install completes successfully
2. Reboot and selecting Ubuntu, to run the Ubiquity Ubuntu install completes successfully
3. After install, reboot and selecting Ubuntu boots to grub prompt.
I can't see any difference between the installs on /dev/sda2 and /dev/sda3 except...
Running "set" from the grub prompt on the /dev/sda3 install shows:
?=0
color_highlight
color_normal=
lang=
pager=
prefix=
root=loop0
show_panic_
whereas running it from the /dev/sda2 install shows:
?=0
color_highlight
color_normal=
default=
gfxmode=auto
lang=
menu_color_
menu_color_
prefix=
root=loop0
show_panic_
One thing strange is that (memdisk)/boot/grub does not exist. ls (memdisk)/ shows "wubildr.cfg" and ls (memdisk) "Device memdisk: Filesystem type tarfs - Total size 20 sectors"
After manually booting the install:
linux /vmlinuz root=/dev/sda3 loop=/ubuntu/
initrd /initrd.img
boot
it runs fine, and then sudo update-grub and it reboots and shows the grub menu the same as the same-partition install does. Note, that the regenerated grub.cfg shows no differences between the old one, but if I hit 'c' and enter "set" again it shows the variables matching that of the /dev/sda2 initial install.
All the "set" info may be a red-herring. I'm just trying to provide any information that might help diagnose this. I've installed other versions of Wubi to /dev/sda3 without a problem.
Related branches
Changed in grub2 (Ubuntu Natty): | |
status: | New → Triaged |
importance: | Undecided → High |
status: | Triaged → In Progress |
milestone: | none → ubuntu-11.04-beta-2 |
assignee: | nobody → Colin Watson (cjwatson) |
summary: |
- Natty Wubi grub prompt on non-windows partition install + Natty Wubi grub prompt on install |
Changed in grub2 (Ubuntu Maverick): | |
milestone: | none → maverick-updates |
tags: | added: iso-testing |
Changed in wubi: | |
status: | New → Fix Released |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
Ruled out ntfs corruption with CHKDSK. Then I installed 10.04.2 wubi and it boots fine on /dev/sda3. So there appears to be something about the Natty where /host is not the main Windows partition.
PS before I removed the Natty install, I ran updates and it stopped booting again - dropping at the grub prompt.
This is the section of grub.cfg that differs from a lucid 10.04.2 grub:
function load_video {
true
}
insmod part_msdos /dev/sda, msdos3) ' disks/root. disk grub/unicode. pf2 ; then
insmod ntfs
set root='(
search --no-floppy --fs-uuid --set=root 8654915254914639
loopback loop0 /ubuntu/
set root=(loop0)
if loadfont /usr/share/
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm