LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-18-2013, 01:01 PM   #1
AmRllyGooby
LQ Newbie
 
Registered: May 2013
Posts: 3

Rep: Reputation: Disabled
Exclamation Grub Rescue Filesystem Error


When I turn on my computer, I usually expect the Grub OS selection menu to pop up. Instead, I got a rescue filesystem error and command line.

This happened yesterday. I installed Crunchbang Linux on my USB via uNetBootin, then plugged it in and boot it. I chose the Graphical Install option, and probably screwed the computer from the partition section. At first, I tried to install to the biggest freespace it could find, but that failed. Then, I tried to install to my USB. Still failed. Then that is when my problem started.

Now, I need a good and fast answer, because my dad will kill me soon. Someone help!
 
Old 05-18-2013, 02:08 PM   #2
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,430

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
What kind of computer do you have? Were you trying to install 64bit OS in a 32bit architecture? is the kernel you where trying to install pae and your processor doesnt support it?

The other thing, did you try to do a full installation in the USB from where you had your computer running in the live session?

you will probably have to reformat that USB and load and ISO image one more time then boot your computer again.

I dont think doing a full installation in the media from where you are running a live session will work.

Good luck to you
 
Old 05-18-2013, 05:14 PM   #3
AmRllyGooby
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TroN-0074 View Post
What kind of computer do you have? Were you trying to install 64bit OS in a 32bit architecture? is the kernel you where trying to install pae and your processor doesnt support it?

The other thing, did you try to do a full installation in the USB from where you had your computer running in the live session?

you will probably have to reformat that USB and load and ISO image one more time then boot your computer again.

I dont think doing a full installation in the media from where you are running a live session will work.

Good luck to you
Well, I have a 64 bit machine and Crunchbang is 32 bit. My main problem is that Grub won't show the usual OS menu, just an error and command line. And yeah, I tried to install Crunchbang on the USB from where I was running the live session. Pretty stupid of me. Now I want to get a CD or DVD, which I don't have, and install from there to the USB. But once I finally do that, would the OS selection menu come back? I really like Crunchbang so far, but it is the only thing I can access so far, which is bad. I actually NEED Windows 7/8 to show up again. All the system files/etc. are still there.
 
Old 05-18-2013, 07:05 PM   #4
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 801

Rep: Reputation: 247Reputation: 247Reputation: 247
The Grub rescue prompt means that grub is not starting correctly.

To get Windows to boot again you need to re-install Grub or repair the Windows boot-loader.

Check whether your computer uses a BIOS or UEFI firmware. UEFI firmware may require different steps than I am posting here depending on the exact configuration.

To repair the Windows boot loader, you need a Windows Setup DVD for the correct version of Windows (7 or 8). If you don't have a Windows Setup DVD you should create one before you attempt to install Linux again. You can download Windows 7 Setup discs from the Digital River web site.

Official download links for Windows 7 SP1 ISO

Getting a Windows 8 disc is a little more difficult.

http://www.ghacks.net/2012/11/10/how...windows-8-iso/

You do not need a CD key to repair the Windows boot-loader or boot configuration. You can also use the Home or Professional version to repair either the Home or Professional version. These disks are useful for repairing the Windows boot loader but you SHOULD NOT use them for installing or re-installing Windows. You must use the Windows disc and Windows CD key that came with your computer for installing or re-installing Windows. Also DO NOT repair Windows system files using these CDs.

Boot from the Windows Setup disc. When you see the Windows graphical Setup, press Shift + F10 to get a command prompt.

For a BIOS use this command to repair the Master Boot Record.

Code:
bootrec /fixmbr
If Windows still does not boot, repair the partition boot sector.

Code:
bootrec /fixboot
Finally, if Windows still does not boot, repair the Boot Configuration Database.

Code:
bootrec /rebuildbcd
If you have UEFI firmware instead of a BIOS you can use this command to repair the boot loader.

Code:
bcdboot c:\windows
The above steps should allow you to make Windows boot again without Linux. After Windows boots again, create a Windows System Repair Disk before you attempt to install Linux. That will make it easier to repair Windows in the future.

Create Windows 7 Bootable Emergency Repair Disc - Windows 7 Recovery Tool
How to Create a "System Repair Disc" (CD/DVD) in Windows 8

To re-install Grub you will need a Linux boot disc or USB thumb drive. You will need the Grub files to be on the hard disk in the Linux root partition. If you installed Linux, the required Grub files are probably still there in the Linux root partition. You can install the Grub package or install Linux if the required Grub files are not present.

Boot from the Linux disc or thumb drive. Follow these steps to re-install Grub.
  • Start a command shell
  • Change to the root account
    Code:
    sudo su -
  • Mount your Linux system partition on the hard disk
    Code:
    mkdir /mysys
    mount /dev/sda2 /mysys
    NOTE: Change "/dev/sda2" to the correct device name for your Linux partition.
  • Change the root to your Linux system
    Code:
    mount --bind /dev /mysys/dev
    mount --bind /proc /mysys/proc
    mount --bind /sys /mysys/sys
    chroot /mysys
  • Install GRUB
    Code:
    grub-install /dev/sda
  • Configure GRUB
    Code:
    grub-mkconfig -o /boot/grub/grub.cfg
  • Exit from the root file-system shell
    Code:
    exit
  • Dismount everything
    Code:
    umount /mysys/sys
    umount /mysys/proc
    umount /mysys/dev
    umount /mysys
  • Boot from your hard disk
  • If the OS doesn't load repeat the above steps or repair the MBR to boot Windows

Grub will start first, and you will have to select the menu entry for Windows in order to boot Windows.
 
Old 05-18-2013, 10:07 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,033

Rep: Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559
How many operating systems do you have on internal drive?
A linux & windows + a linux on external.
If you have a wins & linux on internal drive, just boot your external crunchbang run
Quote:
os-prober
update-grub
Which will find your Operating systems on internal drive & make an entry to it's grub.
At that time you can boot your linux installation on internal hdd, unmount usb & reinstall grub.
 
  


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 error: unknown filesystem, grub rescue magnecticfield Linux - Newbie 28 07-30-2013 04:35 AM
error: unknown filesystem grub rescue > archp2008 Linux - Laptop and Netbook 2 03-10-2013 12:37 PM
GRUB error: unknown filesystem, grub rescue nnjond Linux - Newbie 4 12-26-2011 08:46 PM
error unknown filesystem grub rescue...? please HELP! ey_b Linux - Newbie 1 04-08-2011 07:27 PM
[SOLVED] Error:unknown filesystem grub rescue> seueth Linux - Laptop and Netbook 2 04-08-2011 05:59 AM


All times are GMT -5. The time now is 07:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration