LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2010, 01:27 AM   #1
craigforsure
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Grub bootloader overwritten by WinXP bootloader, all other os' gone!


I originally had Windows Vista installed multibooted with Ubuntu.
I was using grub as provided in the Ubuntu installation. It was working fine and gave me the option to choose my linux partition, vista, or vista recovery partition everytime I booted. But today I installed XP, which I found out due to a software compatability issue I had to have! After installing XP, it overwrote? the grub bootloader. Now, when I start my computer it loads directly into XP without giving me option to boot to Vista or Ubuntu. I need major help! I have to get back to my Vista partition at the least. Is their anyway I can re-install grub? or what is the best route?
Thanks!
 
Old 03-28-2010, 01:37 AM   #2
Absent Minded
Member
 
Registered: Nov 2007
Location: Washington State U.S.A.
Distribution: Debian testing
Posts: 74

Rep: Reputation: 21
First, I would update XP so it will support the newer NTFS. Thatway when you do get to boot Vista (and your XP drive is upgraded to the latest NTFS) XP will still be usable afterwards. Then dig out your Vista disk and restore the Vista boot sector and add XP to your boot.ini file in Vista. AFTER you have done all that then you should be able to restore your Grub using your Ubuntu CD or a SuperGrub disk.
 
Old 03-28-2010, 01:42 AM   #3
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

see if this helps you out:
https://help.ubuntu.com/community/Re...tallingWindows
 
Old 03-28-2010, 02:53 AM   #4
_Linux_Learner
Member
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 87

Rep: Reputation: 15
Quote:
Originally Posted by craigforsure View Post
I originally had Windows Vista installed multibooted with Ubuntu.
I was using grub as provided in the Ubuntu installation. It was working fine and gave me the option to choose my linux partition, vista, or vista recovery partition everytime I booted. But today I installed XP, which I found out due to a software compatability issue I had to have! After installing XP, it overwrote? the grub bootloader. Now, when I start my computer it loads directly into XP without giving me option to boot to Vista or Ubuntu. I need major help! I have to get back to my Vista partition at the least. Is their anyway I can re-install grub? or what is the best route?
Thanks!
Grub can be easily re-installed. Boot in using live cd. Check out the following link for further actions.....

http://ubuntuforums.org/showthread.php?t=224351
 
Old 03-28-2010, 10:22 PM   #5
craigforsure
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks so much guys for the quick replies!
CRTS: I used your link to re-install grub(which it did). I rebooted my computer and it showed me grub just as before I had install XP. I scrolled down and clicked on Vista which directed me back to the Windows XP bootloader. NO! But, also, since I now have Grub re-installed I also have access to my Vista Recovery Partition, and PRASIE THE LORD!!, that resotred the link from Grub to my Vista partition. YAY! Now the only other thing I need to figure out how to do is how to add Windows XP entry into grub. Thanks so much for yall's help!
 
Old 03-29-2010, 02:49 AM   #6
danboland
Member
 
Registered: Feb 2006
Location: NJ, USA
Distribution: Debian
Posts: 72

Rep: Reputation: 17
There should be an example of windows XP in the config files (commented out).

In the future its always better to install Windows first and then Linux.

But if you did it the other way, its also possible to use the windows boot manager to load up xp, vista, or linux. just need to edit the windows loader, not sure about vista but i'm pretty sure its in msconfig with out re-installing grub.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with suse 10.1 grub bootloader when loading winXP flanker12k Linux - Newbie 4 09-17-2007 10:05 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
Need to reinstall WinXP, How do I keep my GRUB bootloader? jesusphreak Linux - Software 2 04-17-2005 09:38 PM
Using grub for WinXP bootloader Termina Linux - General 1 12-16-2004 02:30 AM
GRUB Bootloader not booting WinXP Pro SP1 FeralTitan Linux - Newbie 12 08-16-2004 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration