LinuxQuestions.org
Review your favorite Linux distribution.
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-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,841

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: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
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,841

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: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
@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



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

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

All times are GMT -5. The time now is 11:40 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