LinuxQuestions.org
Help answer threads with 0 replies.
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 02-27-2012, 01:37 AM   #1
michaeljstinsman
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Rep: Reputation: Disabled
Grub Rescue Error


I uninstalled Ubuntu, and noticed it wiped out the MBR. I figured I could fix this by booting into recovery mode, but the only thing that loads is "grub rescue"

does anyone know which commands I need to type to get windows 7 to boot? one problem is that I have no access to use or buy a USB flash drive or blank CDs / DVDs to use red hat or any other recovery software at the moment, so unfortunetely the only option I have is through the grub rescue command prompt.

when I type "ls" I get:

(hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)

when I type "set" I get:

prefix=(hd0,msdos6)/boot/grub
root=hd0

any help is appreciated,

thank you.

Last edited by michaeljstinsman; 02-27-2012 at 02:02 AM.
 
Old 02-27-2012, 03:32 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
And just how did you "uninstall Ubuntu" ?. Give as much info as possible.
What makes you think it "wiped out the MBR" ?. It looks to me like grub2 is still in the MBR.

Do you still have the Ubuntu CD, or a Win7 recovery CD/DVD ?.
 
Old 02-27-2012, 10:27 AM   #3
michaeljstinsman
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
thanks for the reply. well, in true American fashion I hastily "uninstalled" it by going to disk management in win7, and deleting the the main & swap partitions, then extended the win7 partition to fill the void. I know the mbr record is gone because before I rebooted I went to msconfig and checked the BOOT.INI tab. there was nothing listed. I don't have the recovery CD it is built in to the operating system and inaccessable due to the mbr wipe. I don't have the ubuntu disk either, it is packed away in storage.
 
Old 02-27-2012, 10:32 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Is this a laptop?
You maybe able to use system recovery at bios spalsh.
 
Old 02-27-2012, 10:54 AM   #5
michaeljstinsman
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
yes, it is a laptop (presario CQ56).. booting into system recovery at the bios splash was how I intended on fixing the problem to begin with, but since the boot.ini is missing, pressing F11 takes me right to the grub rescue. it does say loading system recovery when I press F11 on boot, but I think it relied on the boot record to tell it where the recovery partition was.

Last edited by michaeljstinsman; 02-27-2012 at 11:06 AM.
 
Old 02-27-2012, 12:05 PM   #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
The newer laptops have pxeboot if you have another computer then you can boot from it.
 
Old 02-27-2012, 12:37 PM   #7
michaeljstinsman
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
cool, I do. how would I do that?
 
Old 02-27-2012, 12:41 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Have you checked the bios to see if pxe-boot is available?
 
1 members found this post helpful.
Old 02-27-2012, 01:05 PM   #9
michaeljstinsman
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
it is, I just hit F12
 
Old 02-27-2012, 01:14 PM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I myself am not experienced in it but am setting up 1 of my machines to be a pxe-boot server.
So if no one has posted on how to do it I will post back the results & if successful howto do it.
 
Old 02-27-2012, 01:23 PM   #11
michaeljstinsman
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
oh okay, thanks good luck, I might as well look into it myself
 
Old 02-27-2012, 01:24 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
http://tftpd32.jounin.net/
http://www.freewarereview.info/2007-...re_within.html
 
  


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 error: unknown filesystem, grub rescue magnecticfield Linux - Newbie 28 07-30-2013 03:35 AM
GRUB error: unknown filesystem, grub rescue nnjond Linux - Newbie 4 12-26-2011 07:46 PM
Error Message: grub rescue Arjuna13 Linux - General 7 06-08-2011 05:41 AM
Error: No such Partition. Grub Rescue Nofgcs Linux - Newbie 6 03-14-2011 08:07 PM
solution of grub rescue error nidaulia Linux - Newbie 4 02-06-2011 07:28 PM

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

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