Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-08-2010, 11:04 AM   #1
LQ Newbie
Registered: Dec 2009
Posts: 10

Rep: Reputation: 0
grub problem cannot load hd0

Is my system toasted? Any way to restore this?

grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

grub> root (hd0,1)
Filesystem type unknown, partition type 0x8e

grub> setup (hd0)

Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no

Error 2: Bad file or directory type

Old 10-08-2010, 01:13 PM   #2
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,960

Rep: Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549
Is this a new installation?
Did you have your system working? If so, did you make any changes just prior to this problem?
Your root (hd0,0) shows Linux on the first partition of the first drive.
Your root (hd0,1) shows Linux LVM partition.

What distribution are you using, Fedora? CentOS? other?
Either Grub wasn't installed or it is looking in the wrong partition for the boot files so do you have a LiveCD you can use to get partition information as well as the menu.lst to post here? Or do you have another Linux OS on the computer to use?

You haven't given enough information for anyone to really help.
You would need to use the LiveCD or another Linux OS on the machine to mount the partitions to get to the menu.lst file. You can run the fdisk command from the LiveCD from a terminal. Don't know what your knowledge level is so if you don't know how to do this, post back and include the information requested above.
Old 10-12-2010, 08:14 PM   #3
Registered: Aug 2008
Distribution: Gentoo; VoidLinux; Funtoo
Posts: 216

Rep: Reputation: 18
new solution

install grub2
grub-install /dev/sda
Old 10-12-2010, 08:24 PM   #4
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,749

Rep: Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475
LVM is a block device, not a filesystem. I don't believe grub (classic) supports LVM.

grub2 will bring its own load of heartaches.


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
fatal error - grub cant be written to hd0 PlaneCharlie Linux - Newbie 2 12-02-2007 12:04 AM
grub; hda1 == root(hd0,0) ; hda5 = ???? stupidloser Linux - General 6 12-05-2004 01:26 AM
Grub: how to recover Boot Record for (hd0,0)? fishwombat Linux - General 1 04-27-2004 09:43 AM
Grub can't find files on (hd0,0) nathology Linux - Software 6 10-24-2003 10:53 AM > Forums > Linux Forums > Linux - Hardware

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