LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-21-2011, 11:15 PM   #1
sattarkf
LQ Newbie
 
Registered: Mar 2011
Location: Chennai/Hyderabad... India
Posts: 19

Rep: Reputation: Disabled
Windows Grub missing


I have installed Ubuntu and i am unable to open windows it says windows Grub missing re-install system32. I don't want to lose data in windows please tell me how to install Grub(windows xp sp2).

Thank u
 
Old 03-21-2011, 11:16 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Can you boot ubuntu?
 
Old 03-21-2011, 11:40 PM   #3
sattarkf
LQ Newbie
 
Registered: Mar 2011
Location: Chennai/Hyderabad... India
Posts: 19

Original Poster
Rep: Reputation: Disabled
I can boot ubuntu.

Windows is already installed in my laptop, after installing ubuntu unable to boot windows.
 
Old 03-22-2011, 04:26 AM   #4
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778
Take a look at this document. About halfway down, there is a section on "what if Grub2 does not list windows". There is also a section for if you are using legacy grub. If you are using a current version of Ubuntu, it will be grub2, which you can identify based upon whether or not you have a menu.lst in you /boot directory (btw, grub2 does not use it, grub1 does).

If you have grub2, it should be a simple matter of typing in a terminal prompt:
Code:
sudo update-grub2
 
Old 03-22-2011, 04:37 AM   #5
sattarkf
LQ Newbie
 
Registered: Mar 2011
Location: Chennai/Hyderabad... India
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hello Noway2,
my question is how to recover windows after installing Ubuntu??
and you replied how to recover ubuntu after installing windows?
 
Old 03-22-2011, 04:51 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
It locates windows boot loader. Sometimes it'll miss it during installation.
Quote:
Update-grub
You can however repair wins with disk then reinstall grub afterwards.

Last edited by EDDY1; 03-22-2011 at 04:52 AM.
 
Old 03-22-2011, 06:32 AM   #7
ntu929
Member
 
Registered: Jun 2010
Location: India
Distribution: Ubuntu
Posts: 128

Rep: Reputation: 4
Re: Windows Grub missing

Quote:
Originally Posted by sattarkf View Post
I have installed Ubuntu and i am unable to open windows it says windows Grub missing re-install system32. I don't want to lose data in windows please tell me how to install Grub(windows xp sp2).

Thank u

in order to avoid losing all your data, you should mount all the windows partition in linux and copy the data to any external storage device...
 
Old 03-22-2011, 08:18 AM   #8
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778
@sattarkf, the document that I referenced is about manually manipulating and updating Grub. Specifically, I mentioned the sub section titled: "what if Grub2 does not list windows". Grub should identify the Linux AND Windows partitions. The section of the document I pointed to shows you how to run the Grub update and as long as you have an identifiable Windows partition on your hard drive(s), this should fix your problem. If this does not fix your problem, it is a strong indication that the boot sector on your Windows partition (that part that contains ntldr) somehow got messed up. In this case, you will likely need to do a Windows repair. This will overwrite (erase) your Grub boot loader. You will then need to follow the directions at the top of the document on how to recover Ubuntu in Grub after installing Windows.
 
  


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
Grub option missing after formating Windows ajeesh.tr Linux - Newbie 3 02-25-2011 01:59 AM
grub overwrote lilo multiboot, missing one boot in Grub rl23455 Linux - Newbie 1 12-09-2007 01:50 PM
Missing Grub nmsuaussie Linux - Laptop and Netbook 1 05-14-2007 11:31 AM
GRUB gone missing wormy234 Linux - Software 4 11-24-2005 09:07 AM
Missing GRUB svendabassist Fedora - Installation 4 02-08-2005 08:41 AM


All times are GMT -5. The time now is 05:59 AM.

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