LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-03-2011, 07:20 PM   #1
rva1945
LQ Newbie
 
Registered: Feb 2011
Posts: 22

Rep: Reputation: 0
Will re-installing XP in the XP partition erase the GRUB boot menu?


The XP partition ceased to boot (in fact when it seems to start Windows, it re-boots once and again). I can access the XP partition from Ubuntu 9.10

If I boot with the WXP CD and reinstall it in the original NTFS partition, will it wipe the boot menu out, loosing any chance to boot in Linux?

Thanks
 
Old 03-03-2011, 07:22 PM   #2
brian-va
Member
 
Registered: Dec 2009
Distribution: Debian
Posts: 46

Rep: Reputation: Disabled
it will, but you can easily reinstall grub with the ubuntu live cd and fix that
 
Old 03-03-2011, 08:24 PM   #3
rva1945
LQ Newbie
 
Registered: Feb 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by brian-va View Post
it will, but you can easily reinstall grub with the ubuntu live cd and fix that
How do I know which GRUB version I have, 1 or 2?

The boot menu says GRUB 1.97 beta 4
 
Old 03-03-2011, 08:28 PM   #4
rva1945
LQ Newbie
 
Registered: Feb 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by brian-va View Post
it will, but you can easily reinstall grub with the ubuntu live cd and fix that
I tried

grub --version

and got

The program 'grub' is currently not installed. You can install it by typing:
sudo apt-get install grub
grub: command not found

so?
 
Old 03-03-2011, 09:13 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Ubuntu, beginning with 9.10, uses Grub2.

GRUB 1.97 beta 4 is Grub2.

You need "sudo grub" to get output. What happened to xp? If you're able to boot Ubuntu, have you tried running sudo update-grub?
 
Old 03-03-2011, 09:18 PM   #6
rva1945
LQ Newbie
 
Registered: Feb 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
Ubuntu, beginning with 9.10, uses Grub2.

GRUB 1.97 beta 4 is Grub2.

You need "sudo grub" to get output. What happened to xp? If you're able to boot Ubuntu, have you tried running sudo update-grub?
Well, the grub is not damaged, I think, as the menu appears and I can choose between Linux and Wxp, but xp reboots a couple of secs after the Windows screen appears.

But as soon as I repair xp, for sure GRUP will be erased.

Last edited by rva1945; 03-03-2011 at 09:20 PM.
 
Old 03-03-2011, 11:33 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Xp is probably set as default, you can change it in grub.
https://help.ubuntu.com/community/Grub2

Sorry misunderstood statement about reboot.
Run winsxp disk select repair "fixmbr"
then
http://karuppuswamy.com/wordpress/20...rescue-prompt/

Last edited by EDDY1; 03-03-2011 at 11:42 PM.
 
Old 03-04-2011, 05:57 AM   #8
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by rva1945 View Post
I tried

grub --version

and got

The program 'grub' is currently not installed. You can install it by typing:
sudo apt-get install grub
grub: command not found

so?
The command is

sudo grub-install -v
 
Old 03-04-2011, 07:16 AM   #9
rva1945
LQ Newbie
 
Registered: Feb 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by EDDY1 View Post
Xp is probably set as default, you can change it in grub.
https://help.ubuntu.com/community/Grub2

Sorry misunderstood statement about reboot.
Run winsxp disk select repair "fixmbr"
then
http://karuppuswamy.com/wordpress/20...rescue-prompt/
Xp is not the default OS, it's Linux.

By "reboot" I mean, when I select Win xp, the Windows screen appears, the progress bar (those small blue squares running from left to right while ths system is starting), then the PC re-starts again (BIOS, then GRUB menu, as if I pressed the reset button).

I tried to repair XP using the XP CD but to no avail.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] How come I can't edit /boot/grub/grub.conf or /boot/grub/menu.lst in Fedora 14? trien27 Fedora 4 01-22-2011 05:02 PM
10.04 erase partition. Result: error: unknown filesystem grub rescue> cunvegas Linux - Newbie 8 12-08-2010 01:49 AM
[SOLVED] Grub : Lost my windows partition, can't find menu.lst in /boot/grub.Someone can help? lucid_dino Ubuntu 9 11-01-2010 02:51 PM
Grub menu doesnt load at startup : dual boot : grub in the /boot partition jayesh.bhoot Linux - General 7 10-23-2010 04:58 AM
Why /boot/grub/grub.conf is symlinked to /boot/grub/menu.lst raj_hcl1986@rediffma Linux - Newbie 2 10-19-2008 03:19 AM


All times are GMT -5. The time now is 01:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration