grub-pc upgrade renders computer unbootable when Wubi is installed to partition other than Windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Invalid
|
Undecided
|
Unassigned | ||
Wubi |
Fix Released
|
High
|
Colin Watson | ||
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Colin Watson | ||
Maverick |
Fix Released
|
High
|
Colin Watson | ||
Natty |
Invalid
|
Undecided
|
Unassigned | ||
lupin (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
Users with wubi 10.04 are running the latest grub-pc updates, and it's installing the grub2 bootloader to their drive MBR, rendering their computers unbootable.
Users are reporting that the computer boots straight to a grub rescue prompt, with the error 'no such device xxxxxxx'. They cannot boot windows or access their system restore utilities. Grub2 is in the MBR pointing to partition #256.
I first reported this on the #grub IRC channel, in the following bug https:/
Here are the links to the ubuntuforums.org threads...
http://
http://
http://
http://
http://
http://
http://
I suspect, but cannot be certain, that it may be related to another bug in the lupin-support overrides of grub, that fails to identify a wubi installed ubuntu, when it has been installed to a partition other than the main windows partition. https:/
Although not conclusive, it seems that the most affected users reported installing wubi to a partition other than windows.
=======
FOLLOW UP: Aug 13 2010
=======
I ran a new 10.04 wubi install on two computers. On the first wubi was installed on the same partition as windows. On the second it was installed on an external drive.
After installing, I booted wubi on both, connected to the internet and immediately downloaded all updates. When the grub-pc screen was presented, I clicked Forward (without checking the box) and then proceeded to select ALL devices presented to install grub.
On the WUBI on the same partition as Windows, this had no effect (verified with Bootinfoscript)
On the WUBI on a different partition than Windows, this installed grub to the MBR of both drives, with grub looking in partition #256.
===========
CONFIRMED:
===========
This only affects WUBI installs on a partition other than windows, therefore, is probably a duplicate of bug 604417.
Side note:
On both computers, Wubi would not start upon reboot after completion of updates. When I clicked on Ubuntu under the Windows Boot Manager, both computers rebooted. (This is totally unrelated to the MBR issue). To fix I had to boot each wubi install from a grub command line (from a direct ubuntu install), and then run "sudo update-grub", after which I was able to boot normally into the wubi install using the Windows Boot Manager. I'm not sure how a user with just wubi would do this!? Chroot from a live CD!?
Related branches
summary: |
- grub-pc update renders computer unbootable + "No such device" - grub-pc update renders computer unbootable |
description: | updated |
description: | updated |
Changed in wubi: | |
status: | New → Confirmed |
tags: | added: iso-testing maverick |
summary: |
- "No such device" - grub-pc update renders computer unbootable + grub-pc upgrade renders computer unbootable when Wubi is installed to + partition other than Windows |
Changed in lupin (Ubuntu): | |
status: | New → Triaged |
Changed in lupin (Ubuntu): | |
importance: | Undecided → High |
Changed in wubi: | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
tags: | added: patch |
Changed in lupin (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in lupin (Ubuntu Natty): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in lupin (Ubuntu Maverick): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in lupin (Ubuntu Lucid): | |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Undecided → High |
milestone: | none → ubuntu-10.04.3 |
status: | New → Triaged |
Changed in grub2 (Ubuntu Lucid): | |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Undecided → High |
milestone: | none → ubuntu-10.04.3 |
status: | New → Triaged |
Changed in grub2 (Ubuntu Maverick): | |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in grub2 (Ubuntu Natty): | |
status: | New → Invalid |
Changed in lupin (Ubuntu Maverick): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in lupin (Ubuntu Lucid): | |
status: | Triaged → In Progress |
Changed in lupin (Ubuntu Maverick): | |
status: | Triaged → In Progress |
Changed in wubi: | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | Triaged → Fix Released |
Can someone please clarify what the fix should be. It's easy enough to reinstall the windows bootloader to get windows booting, but in some cases the ubuntu will still not boot. My suspicion is that the wubildr needs to be updated to be compatible with the latest grub-pc version, but a) it's just a theory and b) how do we get an updated wubildr to fix this?
There are users out there who've lost their entire wubi install due to not understanding what it means to reinstall or where their data is stored.