LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices



Reply
 
Search this Thread
Old 10-08-2010, 12:04 PM   #1
listener
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

thanks...
-h
 
Old 10-08-2010, 02:13 PM   #2
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,120

Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
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, 09:14 PM   #3
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; Funtoo
Posts: 206

Rep: Reputation: 18
new solution

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

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

grub2 will bring its own load of heartaches.
 
  


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 won't load windows partition - root (hd0,0), Filesystem type unknown partition.. cillm527 Linux - Software 4 04-27-2008 07:44 AM
fatal error - grub cant be written to hd0 PlaneCharlie Linux - Newbie 2 12-02-2007 01:04 AM
grub; hda1 == root(hd0,0) ; hda5 = ???? stupidloser Linux - General 6 12-05-2004 02:26 AM
Grub: how to recover Boot Record for (hd0,0)? fishwombat Linux - General 1 04-27-2004 10:43 AM
Grub can't find files on (hd0,0) nathology Linux - Software 6 10-24-2003 11:53 AM


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