Jump to content
ron

changed distros now getting Grub error 17

Recommended Posts

I am seriously hoping that someone here can help me or point me in the right direction. I am trying to dual boot Fedora Core 5 and Windows XP. I had no problems with installation but on reboot I keep getting Grub Loading Stage1.5. Loading, Please wait... Error 17. Then it just hangs. Here is my hardware setup: I have Windows XP installed on HDA with a NTFS filesystem. HDA is a 30GB HD. HDB is a 120GB HD with 3 partitions. hdb1 is a NTFS partition. Fedora setup hdb2 as Linux and hdb3 as Linux LVM. I edited grub.conf and changed root from root (hd1,1) to root (hd1,2) but that did not change anything. I then proceeded to change root in grub.conf to a number of different values but all met with the same fate. Here are all the other values of root that I tried in grub.conf... (hd1,0) , (hd1,1), (hd1,2), (hd1,3). I tried grub-install /dev/hda but get a error saying "/dev/hdb2 does not have any corresponding BIOS drive." I don't know what else to try. I can't boot anything, so I am seriously hoping that someone will be able to help me. Thanks in advance for all your trouble.

Share this post


Link to post
Share on other sites
I am seriously hoping that someone here can help me or point me in the right direction. I am trying to dual boot Fedora Core 5 and Windows XP. I had no problems with installation but on reboot I keep getting Grub Loading Stage1.5. Loading, Please wait... Error 17. Then it just hangs. Here is my hardware setup: I have Windows XP installed on HDA with a NTFS filesystem. HDA is a 30GB HD. HDB is a 120GB HD with 3 partitions. hdb1 is a NTFS partition. Fedora setup hdb2 as Linux and hdb3 as Linux LVM. I edited grub.conf and changed root from root (hd1,1) to root (hd1,2) but that did not change anything. I then proceeded to change root in grub.conf to a number of different values but all met with the same fate. Here are all the other values of root that I tried in grub.conf... (hd1,0) , (hd1,1), (hd1,2), (hd1,3). I tried grub-install /dev/hda but get a error saying "/dev/hdb2 does not have any corresponding BIOS drive." I don't know what else to try. I can't boot anything, so I am seriously hoping that someone will be able to help me. Thanks in advance for all your trouble.

 

Ok, this is actually quite a common issue (Error 17!) and it is due to the fact that you spot .. root() isn't set correctly.

 

After you change the root.. you do actually then need to reinstall the grub settings .. so that it now knows the changes.

 

So:

# grub
grub> root (hd1,1)
grub> setup (hd0)

 

hd1,1 = hdb2

hd0 = hda .. which is the master boot record.

 

That should do it.

 

You should ensure that /boot/grub/device.map contains an entry for the second disk.. for instant this is mine:

# cat /boot/grub/device.map 
(fd0)   /dev/fd0
(hd0)   /dev/hda
(hd1)   /dev/hdb

Share this post


Link to post
Share on other sites

Hello!

 

I have a PC with two drives. On my first drive is running Windows XP, on my second I installed SuSE 10.0.

Yesterday I installed Fedora Core 6 on my second HDD. The last two weeks there was running SuSE 10.0 on it without problems. After installing FC6, I get a GRUB Error 17.

 

I followed your help, but the problem is still there.

 

My device.map looks as following:

(fd0)   /dev/fd0
(hd0)   /dev/hda
(hd1)   /dev/hdc

 

fd0 ~> ??

hd0 ~> Windows XP HDD

hd1 ~> Fedora Core HDD (installed yesterday)

 

When I enter:

# grub
grub> root (hd1,1)

 

I get the following Error-Message:

Filesystem type unknown, partition type 0x08e

 

[root@localhost /]# grub-install --recheck hd0
Probing devices to guess BIOS drives. This may take a long time.
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)   /dev/fd0
(hd0)   /dev/hda
(hd1)   /dev/hdc

 

I do not know, what to do :(

Please attend, that I am a complete Linux noob :(

 

Help and thank you!

Daniel

Share this post


Link to post
Share on other sites

fd0 is the floppy drive :) glad its working although would have been nice to know the how! hehe :D

Share this post


Link to post
Share on other sites

I have a dual boot with Windows XP on one single hard-drive. I have just updated Fedora 8 to 9 and my problem is similar to this:

Ok, this is actually quite a common issue (Error 17!) and it is due to the fact that you spot .. root() isn't set correctly.

 

After you change the root.. you do actually then need to reinstall the grub settings .. so that it now knows the changes.

 

So:

# grub
grub> root (hd1,1)
grub> setup (hd0)

 

However, I am a few steps behind: I do not know what device to enter after root (?,?) -- how do I determine that?

Share this post


Link to post
Share on other sites
I have a dual boot with Windows XP on one single hard-drive. I have just updated Fedora 8 to 9 and my problem is similar to this: *snip*

 

However, I am a few steps behind: I do not know what device to enter after root (?,?) -- how do I determine that?

 

The root line determines which physical disk and which partition to use.

 

The first number after hd is the physical disk number (starting with 0) and the second is the partition number.

 

If you have only one disk, the first number will almost certainly be 0. The second number depends which partition you want.

 

The first primary partition will be 0, second primary 1 etc. Logical drives are numbered from 4 (first logical drive).

Share this post


Link to post
Share on other sites
The second number depends which partition you want.
For that second number, how do I determine which partition I should be using?

 

Which partition is your Linux install on, which partition do you want to point to?

 

If it helps, you can screenshot something like Gparted to show which partition you mean.

Share this post


Link to post
Share on other sites
Which partition is your Linux install on, which partition do you want to point to?
Hmm.... well, you see..... that is what I do not know.

 

If it helps, you can screenshot something like Gparted to show which partition you mean.
Good idea!

 

Here they are: gparted1.jpg

 

gparted2.jpg

 

gparted3.jpg

 

gparted4.jpg

Share this post


Link to post
Share on other sites

Ok, I'm getting Grub error 17 in a way that seems to make some of the explanations impossible in my case.

 

This week, I bought a Shuttle K64. Nice, and it cost me only about $200 from Fry's

 

It comes without a DVD player.

 

I bought a Samsung Trudirect EXTERNAL player. Also nice.

 

But... It plays movies fine. It has Foresight Linux installed, and I would like to change it to another distro.

 

When I insert, say, an disk created from an iso for Sidux and boot, I get the aforementioned Grub error.

 

When I insert, say, a disk created from an iso for some other distro and boot, I get the same Grub error.

 

The system comes with a Foresight disk.

 

When I insert the Foresight disk and boot, it appears to work normally; I do NOT get the Grub error.

 

So, this apparently doesn't have to do with boot order or anything like that.

 

I guess there must be a difference between the Foresight disk and the other disks?

 

I have installed Linux hundreds of times, so I sorta know what I am doing.

 

Ideas or suggestions? How would I figure out what is different about the disk, if that seems a likely clue?

 

BTW: it doesn't seem to have anything to do with WHERE the disk is created, because if I create the disk from the Truedirect external dvd or from a Compaq Presario laptop I have, the same error message occurs.

 

Hmm. It just occurred to me that the disks that give the Grub error are RW and the Foresight one is probably read only. Do you think that would do it?

Share this post


Link to post
Share on other sites

is this external cdrw/dvd player USB ? if so have you tried using different USB slots on the computer ? some bios's don't enable certain usb ports until the OS has completely initialised

 

cheers

anyweb

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...