LinuxQuestions.org
Visit Jeremy's Blog.
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-30-2010, 07:55 AM   #1
jenifer2409
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Grub error


I have windows vista. i tried installed linux-ubuntu 9.10 but not knowing after a point on how to proceed further, i quit half-way. so my partition (14 gb)remained wasted. i tried installing again in a new partition and got it done. from my newly installed lunux, i tried to delete that 14gb partition. and now when i restart my laptop, i get this error :

GRUB loading.
error: unknown filesystem
grub rescue>

i would like to know what exactly has happened and how do i get this resolved. please help. thank you!
 
Old 09-30-2010, 08:16 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,889

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I suspected something like this happened.

You had Vista installed on the first partition. You tried to install Ubuntu and created a second partition. That failed. You tried again and created a third partition in the process. That succeeded. Now grub expects to find Ubuntu in the third partition.

Then yuo deleted the second partition (the failed install). Now Ubuntu is in the second partition, and grub is looking for it in a non-existing third partition.

In your grub configuration file which is located in /boot/grub, the config shows grub in (hd0,3 for grub 2) and in (hd0,2 for the legacy grub installation).

Boot your Ubuntu install cd as a liveCD, Mount the Ubuntu partition and edit that config file to reduce the hd0,X number by 1.

Grub should work then.
 
Old 09-30-2010, 12:22 PM   #3
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I believe you can also issue the command from terminal on your live cd

sudo update-grub

bigrigdriver is right and you should check you hd because you may have ended up with an unused partition which will cost you hd space.
 
Old 09-30-2010, 05:49 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,889

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I should also have suggested that you run "sudo fdisk -l" in a console which should show whether or not you have two used partitions separated by unused disk space.

Last edited by bigrigdriver; 09-30-2010 at 05:50 PM.
 
  


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 03:35 AM
grub error 17, but 'sudo grub' = command not found davidstvz Ubuntu 2 08-02-2010 09:09 AM
[SOLVED] Grub can't find grub.cfg when booting - error: no such device Breagha Linux - Software 8 03-14-2010 12:40 PM
install kubuntu 8.10 with lilo rather than grub (because of grub error 18) dukeinlondon Ubuntu 7 12-27-2008 06:53 PM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM


All times are GMT -5. The time now is 12:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration