LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-13-2010, 01:55 AM   #1
prophetofdoom
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Help me out with this "grub rescue" issue ?


I had Windows 7 and Ubuntu 10.1 installed in my intel i3 4gig DDR Sony Vaio E-series laptop. Both operating system were working fine. Only problem that I used to have was the sound didn't use to play when I boot through Ubuntu. Due to that, I formatted the corresponding drive from Windows in which there was Ubuntu installed. I used "diskmgmt.msc" to delete the partition and then format it. The format was successful and when I restarted my computer, this error was displayed:-

error: unknown filesystem
grub rescue >


Windows didn't load at all. I used to have multiple boot grub menu previously before formatting the partition but that didnt show up after formatting.

Help me out with this issue. I am unable to use any of the Operating System. thanx in advance !!
 
Old 12-13-2010, 09:20 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,579

Rep: Reputation: 220Reputation: 220Reputation: 220
At the grub rescue prompt type:

grub rescue > chainloader (hd0)+1

Hit the Enter key and then do:

grub rescue > boot

Hit the Enter key again. That will generally work if windows is loaded on the first partition of the hard drive.

What happened is that when you installed ubuntu it overwrote the windows bootloader on the mbr with grub, the linux bootloader. The configuration file for grub was on the linux partition which you deleted so grub has no clue as to the location of your windows installation. Your windows installation is still there; you just need to restore the windows bootloader by overwriting grub which is currently installed on your mbr. To do that, you generally need a Windows installation cd/dvd which is not usually supplied with laptops anymore. If you can boot windows from the above method I gave you, I believe there are ways of restoring the windows bootloader from within Windows 7, but I'm not familiar with them. If you can get windows to boot, post back and I'll help you search for that method.

If you are fortunate enough to have a Windows 7 installation DVD, here are instructions on how to restore your windows bootloader using the installation dvd:

http://www.howtogeek.com/howto/32523...ader-problems/
 
Old 12-13-2010, 08:14 PM   #3
prophetofdoom
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
@kilgoretrout thanx for your answer. Actually I reinstalled ubuntu and it is working fine now. What I want to do now is uninstall Ubuntu?
 
Old 12-14-2010, 12:06 AM   #4
go_tux_yourself
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Rep: Reputation: 1
Re: grub_rescue problem

What it sounds like what you are wanting to do here is restore the MBR so that Windows 7 will boot up as it did before you installed Ubuntu. This really is not so much an Ubuntu or for that matter Linux issue, but I will be kind. GRUB (Grand Universal Bootloader) gets installed on the Master Boot Record before the Windows bootloader which allows you to dual boot. By erasing/reformatting the filesystem you are essentially erasing the operating system, but by not repairing the MBR the remains of GRUB are still pointing to an operating system that has been erased hence the error you are receiving. So, if I am correct in assuming you would like to restore the MBR to how it was before you installed Ubuntu then what you will want to do is recover the boot record from Windows (use the chainloader grub option posted above or any available means to boot into Windows 7) and run the command bootsect /nt60 C:\ to recover the MBR on the C drive.
 
  


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
How to resolve it "grub rescue" amritpalpathak Linux - Software 5 10-19-2010 07:28 PM
[SOLVED] No Boot, fd1 cannot get c/h/s values, "grub rescue>", no such device webmanoffesto Ubuntu 3 05-30-2010 11:25 PM
Suse startup issue stops at "grub" knockout_artist Linux - Newbie 3 07-16-2009 05:32 PM
How to install GRUB from "linux rescue" mode? iguthrie Linux - General 10 06-14-2007 07:45 AM
HD image broadcast issue- all I see is "GRUB" Jayme13 Linux - Networking 5 10-19-2006 03:18 PM

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

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