Fixing dual boot windows partision
ubuntuuser at carl-fh.com
Sun Jun 21 16:48:40 UTC 2009
On Sun, June 21, 2009 18:25, Karl F. Larsen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Ben Edwards wrote:
>> I have a Ununtu install with a dual boot pasrtision. The windows
>> install is broken but if I try to reinstall I think the windows
>> install will overwrite the boot record and wipe out grub. Any advise
>> would be apreciated.
> I'm sure it will. When you find out you can't boot from anything but
> Windows, you need to find out what partition your Ubuntu is in and then
> boot up with your LiveCD and then open a terminal and on the terminal
> type grub. This will put you into the grub system.
> Grub uses a odd numbering system. If your Ubuntu is in partition
> /dev/sda5 this translates to (hd0,4) and like that. So as the first step
> use the right number for your Ubuntu but it will llok like:
> grub root(hd0,4) (follow with a enter)
> If that is the right address for your Ubuntu then it will print out what
> it finds. Otherwise it will say error.
> Next step tell it where to put the Grub info:
> grub setup (hd0)
> If you get no error then reboot and you should be able to boot up in
> either Windows or Ubuntu.
In addition you might find this link useful:
Look at the second chapter explaining what to do if Windows will not boot,
but Ubuntu is there (as in your case, it appears).
Phone: +46 372 15033
More information about the ubuntu-users