Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-16-2009, 01:27 AM   #1
LQ Newbie
Registered: Oct 2008
Posts: 5

Rep: Reputation: 0
GRUB error finding root filesystem partition

Hi all!!

I altered exteneded partions in my harddisk from windows. Unfortunetly, my linux partition was on one of logical drive so linux root file system is now changed from (hd0,7) to (hd0,6). Thus as grub is loaded, it cannot find linux partion which was supposed to be in (hd0,7). What do i have to do to fix this grub problem ?
Can this problem be fixed without reinstalling GRUB? If yes how ?

Best Regards,

Last edited by smanandhar; 02-16-2009 at 01:30 AM.
Old 02-16-2009, 01:36 AM   #2
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Rep: Reputation: 15

keep linux boot cd or original cd/dvd what ever you are using and reboot.
at boot pronpt type linux rescue. it looks like this.
boot: linux rescue
use this
chroot /mnt/sysimage/
grub-install hda
remove your boot cd/dvd.
Old 02-16-2009, 03:42 AM   #3
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 336

Rep: Reputation: 34

Which Linux do you have installed ? The grub boot menu.lst file can be edited as root user, booted to either a Linux live CD, or a USB Linux if done correctly. I believe in a terminal as root, change directory to that grub file location, and then type; gedit /boot/grub/menu.lst (if a gnome type desktop), or use kate in place of gedit,(that is the text editor) If it is Ubuntu you use; sudo first, if other Linux to get as root use; su -
Old 02-16-2009, 10:47 AM   #4
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
If you want specific help with editing your menu.lst or getting Grub working again, I think it would first help to get a clearer picture of your setup; how about booting your Ubuntu Live CD (the Ubuntu install CD), download the Boot Info Script to the Live CD desktop, open a terminal (Applications > Accessories > Terminal) and do:
sudo bash ~/Desktop/boot_info_script*.sh
That will create a "RESULTS.txt" file in the same directory from where the script is run, namely your desktop; please copy/paste the contents of the RESULTS.txt file to your next post, highlight the copied text, and click the pound/hash sign "#" graphic button in the forum message box so that the text will get "code" tags put around it. The results of that script will help clarify your setup and hopefully what the best solution to your booting problem might be.


error, grub

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 won't load windows partition - root (hd0,0), Filesystem type unknown partition.. cillm527 Linux - Software 4 04-27-2008 06:44 AM
new root partition - but "Grub loading, please wait... Error 22" Thoddy Linux - General 14 08-31-2007 02:13 AM
ram image not finding root block (3,1) partition fourcs Linux - General 4 05-26-2007 05:58 AM
Lost root partition grub error 17 qplumb Linux - Newbie 1 02-28-2006 12:31 PM
grub doesn't recognize my root filesystem behmjose Linux - General 1 02-23-2004 02:26 PM

All times are GMT -5. The time now is 05:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration