Overclock.net banner

1 - 3 of 3 Posts

·
Old Timer
Joined
·
4,895 Posts
Discussion Starter #1
I have Ubuntu and Windows XP dual-booting on my laptop, but Windows became corrupted, so I did a repair instalation. However, its still not working right (lots of problems behind the seens), so I want to reinstall it from scratch. However, I have heard that in a Windows/Linux dual-boot you must install Windows first, because Windows overrights the Linux boot loader. I really REALLY dont want to have to reinstall Ubuntu (I JUST finnished getting it all setup), so are there any ways to get GRUB to load if Windows was installed second?
 

·
Premium Member
Joined
·
5,047 Posts
<a href="http://www.debian-administration.org/articles/325" target="_blank">http://www.debian-administration.org/articles/325</a> since ubuntu is based off debain this may help you some.. if you search around there are a few ways to resolve this issue..
 

·
Premium Member
Joined
·
5,047 Posts
<b>Using the Desktop/LiveCD and Overwriting the Windows bootloader</b><br />
<br />
1. Pop in the Live CD, boot from it until you reach the desktop. <br />
2. Open a terminal window or switch to a tty (Ctrl + Alt + F1). <br />
3. Type "sudo grub" <br />
4. Type "root (hd0,6)", or whatever your harddisk + boot partition numbers are (my /boot is at /dev/sda7, which translates to hd0,6 for grub). <br />
5. Type "setup (hd0)", ot whatever your harddisk nr is. <br />
6. Quit grub by typing "quit". <br />
7. Reboot. <br />
From: <a href="http://ubuntuforums.org/showpost.php?p=117829&postcount=2" target="_blank"><img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" border="0" alt="" onload="NcodeImageResizer.createOn(this);" /> http://ubuntuforums.org/showpost.php?p=117829&postcount=2</a> <br />
<br />
or<br />
<br />
<b>Using the Unofficial "Super Grub Disk"</b><br />
<br />
<b>Note: This method works very well with system with only one Linux... (most probably) if you have more than one Linux Super Grub Disk will restore the first Grub that it will find on your partitions.</b> <ul><li> Download <a href="http://adrian15.raulete.net/grub/" target="_blank"><img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" border="0" alt="" onload="NcodeImageResizer.createOn(this);" /> Super Grub Disk</a></li>
<li> Burn into a cdrom (better) or a floppy</li>
<li> Boot from it</li>
<li> <b> Select: your language </b></li>
<li> <b> Select: Restore Grub on MBR </b></li>
<li> <b> Select: Auto </b></li>
<li> You see the message: SGD has done it!</li>
<li> Reboot</li>
<li> You're done. </li>
</ul>source <a href="https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows" target="_blank">https://help.ubuntu.com/community/Re...tallingWindows</a>
 
  • Rep+
Reactions: SoaDMTGguy
1 - 3 of 3 Posts
Top