UberStudent Forums
http://uberstudent.com/phpBB/

lost grub after installing winxp
http://uberstudent.com/phpBB/viewtopic.php?f=4&t=418
Page 1 of 1

Author:  Brian Croll [ Sun Mar 10, 2013 5:23 pm ]
Post subject:  lost grub after installing winxp

Hello again, i have installed xp on a pre existing partition to enable viewing a couple window discs that wine could'nt cope with. I new this would overwrite grub but with my limited knowledge thought that i would get back into uberstudent using the super grub disc (which worked) then use update-grub which never.It did find the new xp system and generated a new cfg. file but i still get the xp boot which being microsoft failed to create a menu that detects linux. How do i get grub back ?

Author:  Stephen Ewen [ Sun Mar 10, 2013 7:03 pm ]
Post subject:  Re: lost grub after installing winxp

Brian, I'm unfamiliar with Super Grub Disk, but you might try downloading http://sourceforge.net/projects/linux-secure/files/ and burning it to disk, then booting in to it and running the program Boot Repair from the live session and seeing if it places grub properly. In general, installing Windows atop Linux is trouble, because Microsoft has no interest in OS interoperability. You have to install Linux atop Windows.

Author:  David Baum [ Sun Mar 10, 2013 9:54 pm ]
Post subject:  Re: lost grub after installing winxp

Hi,

you were on the right way. Boot your UberStudent live CD/USB (I'm unfamiliar with Super Grub Disk, too).
After typing
Code:
update-grub
you have to type (do this if all your operating systems are detected only!)
Code:
grub-install /dev/sda
where /dev/sda is your hard drive.
Verify it is called /dev/sda under Applications --> Preferences --> Disk Utility like in my picture below.
This command will restore Grub in the MBR.
This applies to Grub2 and Grub-PC which are installed by default in UberStudent

Good luck

Attachments:
diskutility.png
diskutility.png [ 145.31 KiB | Viewed 11301 times ]

Author:  Brian Croll [ Mon Mar 11, 2013 10:42 am ]
Post subject:  Re: lost grub after installing winxp

Wicked grub-install worked a treat got grub back with all partitions showing. Thanks

Author:  David Baum [ Mon Mar 11, 2013 1:30 pm ]
Post subject:  Re: lost grub after installing winxp

Glad you got it working :)
Stephen Ewen wrote:
You have to install Linux atop Windows.
That's the way to go. Plus it makes partitionning a lot easier.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/