Comment 54 for bug 610898

Revision history for this message
bcbc (bcbc) wrote : Re: [Bug 610898] Re: grub-pc upgrade renders computer unbootable when Wubi is installed to partition other than Windows

I don't think anyone is doing the grub-install on Wubi intentionally -
sometimes they will follow bad instructions and do it. So the sledgehammer
approach is good (that's what I was testing). I wasn't aware of
"grub-install /dev/loop0" being useful - thought it was more a glitch that
grub had that in the list, so I'll note that (although I suspect it will be
unnecessary to ever do this if everything is working as it should).

In terms of there being another grub update on Maverick prior to providing
this fix - that will likely cause problems. If at all possible they should
be combined as any grub update will break a Wubi install (so far Maverick
has remained safe excluding the upgrade from Lucid).

Anyway - I'm happy to see the fix come out. Thanks for the effort.

On Thu, Apr 7, 2011 at 4:26 AM, Colin Watson <email address hidden> wrote:

> Thanks for testing. I'm glad to hear confirmation that this saga may
> finally be nearing its end.
>
> For the record, I wouldn't recommend propagating the idea that 'sudo
> grub-install /dev/sda2' is a good thing to run on Wubi. The correct
> command is:
>
> sudo grub-install /dev/loop0
>
> As it happens, it makes no difference right now, because lupin-support
> overrides everything with a large hammer so that it makes absolutely no
> difference what device you tell grub-install to use - /dev/loop0,
> /dev/sda2, /dev/sda, etc. will all behave the same way. In the future,
> though, we may change this, so please don't assume that anything other
> than /dev/loop0 will work.
>
> --
>