Fixing dual boot windows partision
Karl F. Larsen
klarsen1 at gmail.com
Sun Jun 21 16:25:39 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
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.
Karl F. Larsen, AKA K5DI
Key ID = 3951B48D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the ubuntu-users