LinuxQuestions.org
Visit Jeremy's Blog.
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 09-16-2012, 06:52 AM   #1
tusharkumar
LQ Newbie
 
Registered: Sep 2012
Distribution: Fedora 17
Posts: 5

Rep: Reputation: Disabled
Exclamation Grub rescue problem


I've installed Fedora (dev/sda1) and Ubuntu (dev/sda2) on my system. Now, I've formatted dev/sda2 from Fedora. After rebooting,

Quote:
grub rescue
is shown. I've researched every bit of information available on internet but I couldn't find anything that will sove this problem. The real problem is that when I write

Quote:
insmod normal
it gives an error message:

Quote:
error: file not found.
Please help.
 
Old 09-16-2012, 10:49 AM   #2
2armz
Member
 
Registered: Sep 2012
Location: Garner NC
Distribution: Fedora 17
Posts: 35

Rep: Reputation: Disabled
hmmm not sure what that means. Maybe you killed the bootloader, :\. grub can be finicky at points.. have you tried to repair the bootloader?
 
Old 09-16-2012, 06:27 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
Did you isntall in that order; Fedora then Ubuntu? If so, did you accept the defaults for Ubuntu? That would have installed the Ubuntu Grub2 bootloader to the mbr pointing to the Grub files on the Ubuntu partition (sda2) which you then formatted making them inaccessible. Do you now just have Fedora? Can you boot anything? Do you have a Live CD of either FEdora or Ubuntu? If so, boot one of them and google "bootinfoscript", go to the site read the instructions and download and run the script. If you can't figure out the solution, post the results.txt file which the bootinfoscript outputs.
 
Old 09-16-2012, 11:12 PM   #4
tusharkumar
LQ Newbie
 
Registered: Sep 2012
Distribution: Fedora 17
Posts: 5

Original Poster
Rep: Reputation: Disabled
Did you isntall in that order; Fedora then Ubuntu?

> Yes, I installed Fedora and then Ubuntu.

If so, did you accept the defaults for Ubuntu?

> Yes, Ubuntu bootloader was installed at MBR pointing to sda2.

That would have installed the Ubuntu Grub2 bootloader to the mbr pointing to the Grub files on the Ubuntu partition (sda2) which you then formatted making them inaccessible.

Do you now just have Fedora?

> Yes, I have only Fedora on sda1.

Can you boot anything?

> No. Just 'grub rescue' is displayed when I turn on my machine.

Do you have a Live CD of either FEdora or Ubuntu?

> Yes, I've both.

If so, boot one of them and google "bootinfoscript", go to the site read the instructions and download and run the script. If you can't figure out the solution, post the results.txt file which the bootinfoscript outputs.

> bootinfoscript is great but I had already installed ubuntu yesterday. Thanks you guys for info. Long live Freedom!
 
Old 09-17-2012, 12:41 AM   #5
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Grub rescue is most of the time enough to get a system boot again. See here http://www.it-muecke.de/node/463. Also in german you might get your system up and running again. If not post question or I translate it.
 
Old 09-18-2012, 10:47 AM   #6
tusharkumar
LQ Newbie
 
Registered: Sep 2012
Distribution: Fedora 17
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zhjim View Post
Grub rescue is most of the time enough to get a system boot again. See here http://www.it-muecke.de/node/463. Also in german you might get your system up and running again. If not post question or I translate it.
Thanks for sharing that link but as I've mentioned before 'insmod normal' is not working. From the link you mentioned, I have one more question. Why is 'insmod linux' mentioned before 'insmod normal'? Almost all forums or tutorials I checked, everyone mentioned only 'insmod normal'.
 
Old 09-18-2012, 11:12 AM   #7
el chapulín
Member
 
Registered: Sep 2012
Posts: 75

Rep: Reputation: 19
You probably installed the grub from ubuntu over the mbr on the disk where fedora is installed, so now grub stage 1 is pointing to the wrong device and you formatted that device... The best way to fix this is to boot from a livecd/boot disk, chroot into the system and reinstall grub.
 
Old 09-19-2012, 12:42 AM   #8
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by tusharkumar View Post
Thanks for sharing that link but as I've mentioned before 'insmod normal' is not working. From the link you mentioned, I have one more question. Why is 'insmod linux' mentioned before 'insmod normal'? Almost all forums or tutorials I checked, everyone mentioned only 'insmod normal'.
I only found this that mentioned insmod nomral as well as insmod linux (See update 3). http://askubuntu.com/questions/11959...own-filesystem
I did not found any description of the grub modules.

Maybe if you give the path to the normal module maybe it gets loaded. I know that this contradicts with what is written in the link i provided but who knows. ls in grub normaly has tab completion don't know if its the same with rescue. Else you just have to traverse the dirs and ls them on your way.
 
  


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 File Not found Grub Rescue Error on External Sata to USB Drive imayneed Linux - Newbie 11 08-22-2012 02:56 AM
stuck in grub rescue mode from a problem derived from nvidia drivers jamendo10 Linux - Software 8 05-10-2012 04:23 PM
Problem with GRUB: partition not found. Grub Rescue?? genoboss Ubuntu 117 01-04-2011 07:56 PM
problem in booting..error: grub rescue> venki497 Linux - Newbie 9 11-08-2010 04:43 AM
grub rescue> stuck . . . is grub2 only a Debian problem? jenaniston Debian 4 02-13-2010 04:39 AM

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

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