Fixing dual boot windows partision
Carl Friis-Hansen
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.
>>
>> Ben
>>
>
> 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:
http://www.howtogeek.com/howto/ubuntu/reinstall-ubuntu-grub-bootloader-after-windows-wipes-it-out/
Look at the second chapter explaining what to do if Windows will not boot,
but Ubuntu is there (as in your case, it appears).
--
---------=oOOo=---------
Carl Friis-Hansen
http://carl-fh.com/
Phone: +46 372 15033
---------=oOOo=---------
More information about the ubuntu-users
mailing list