Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-20-2005, 02:44 AM   #1
Registered: Jan 2004
Distribution: Mac OS X 10.6.4 "Snow Leopard", Win 7, Ubuntu 10.04
Posts: 322

Rep: Reputation: 31
grub error 17 ... Hard drive dead?

OK, I was trying to install gentoo. I though it wasn't working because i wasn't getting a correct kernel compiled, although I followed the directions in the guide.

I kept getting this, or else I'm pretty sure:

root (hd1,0)
Filesystem type Unknown, partition type 0x7
kernel /boot/... root...
Error 17: Cannot mount selected partition

So, getting a little frustrated, I tried out mepis. Went ahead and installed it to the hard drive, got the same grub message.

So, ok, lets try Debian (I have a lot of distro CD's laying around...)
Same damned error message.

So I'm not really sure if this is a problem with grub or if my hard drive just died...

I find it strange that all of these distro's have the same error with grub.

Also, I just noticed that if I get to the grub that debian installed, I choose XP and i get something like:

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

which leads to

Error 13: Invalid or unsupported executable...

Now, I know windows doesn't use ext3 and I know that it isn't on a Linux partition (0x83)

So whats going on here?

Last edited by claudius753; 01-20-2005 at 03:20 AM.
Old 01-21-2005, 12:32 AM   #2
Registered: Jan 2004
Distribution: Mac OS X 10.6.4 "Snow Leopard", Win 7, Ubuntu 10.04
Posts: 322

Original Poster
Rep: Reputation: 31
Still no luck on this, I am using partition magic to delete and secure erase my drive to make sure it is clean. Then I will try to install again.

It seems that partition type 0x7 is NTFS and 0x83 is Linux in hex.

I think for some reason, in each install grub is getting confused when I try to install to the mbr of hdb. I normally then set the BIOS to boot from that drive first, so that I can leave the mbr of hdb untouched.

Actually, I think on each of the installs I have had the bios set to boot hda and then changed it after the install to boot hdb. I am thinking that maybe that is what is messing up the grub install, I am going to attempt this time to install with hdb as the boot drive within the bios before I install.
Old 01-21-2005, 03:31 AM   #3
Registered: Jan 2004
Distribution: Mac OS X 10.6.4 "Snow Leopard", Win 7, Ubuntu 10.04
Posts: 322

Original Poster
Rep: Reputation: 31
OK, the hard drive is not dead, but I am confused...

Using a live cd, I checked the it says
(hd0) /dev/hda
(hd1) /dev/hdb
which seems to me, to be right. The listing for debian in menu.lst is
root (hd1,0)
which, I would think that it was pointing to /dev/hdb1, which is where debian is installed. However, it seems that it is reversed, and pointing to /dev/hda1?

it will not boot. I can press c to get to the grub command line, and if i do the commands manually, using
root (hd0,0)
and following with the kernel, initrd, and boot, and it works.

So what am I missing here? Why is hd0 seem to be pointing to /dev/hdb instead of what it should be according to the

Last edited by claudius753; 01-21-2005 at 03:33 AM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Dead Hard Drive dnorseman Linux - Hardware 4 06-29-2005 03:46 PM
Dead Hard Drive? gr3ygh0s1 Linux - Hardware 3 05-26-2005 01:58 PM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM
hard drive dead? beaucoup Linux - Hardware 10 08-19-2003 07:09 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:05 AM.

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