Fixing dual boot windows partision

Karl F. Larsen klarsen1 at gmail.com
Sun Jun 21 16:25:39 UTC 2009


-----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.

73 Karl



- --

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
        Key ID = 3951B48D

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKPl8DNuSIOjlRtI0RAt0NAJwKgD0twRJ/PA6vAuzs+k9SVQwpOACgjq7j
bnrRMDN8DhNOYtf4kS+QP0c=
=J+Cy
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list