View previous topic :: View next topic |
Author |
Message |
odborg Tux's lil' helper
Joined: 12 Apr 2002 Posts: 89 Location: Aalborg, Denmark
|
Posted: Tue Apr 06, 2004 10:41 am Post subject: gentoo highpoint ide controller[solved] |
|
|
my primary and secondary ide controller just went offline
Fortunately, my motherboard has an highpoint controller so i'd like to move the disk to this controller instead.
However im having problems with grub. Naturally i cannot boot from hd, and therefore boot from floppy (with my hd as /dev/hde). i then install grub again (root (hd0,0), setup (hd0), quit) and the install is a succes.
When i boot grub doesn't work (error 21)
what am i doing wrong
ps i dont use raid
Last edited by odborg on Tue Apr 06, 2004 3:36 pm; edited 1 time in total |
|
Back to top |
|
|
mbjr Guru
Joined: 17 Jan 2004 Posts: 531 Location: Budapest/Hungary
|
Posted: Tue Apr 06, 2004 1:25 pm Post subject: |
|
|
Hi,
Error 21 is:
Selected disk does not exist
This error is returned if the device part of a device- or full
file name refers to a disk or BIOS device that is not present or
not recognized by the BIOS in the system.
Are you sure you have no mistypes in your grub config file?
Did you set your bios to try other boot devices?
Your motherboard has the hpt controller, or you have a different PCI card?
Linux handles drives as this order by default:
MotherBoard/Primary/Master - hda
MotherBoard/Primary/Slave - hdb
MotherBoard/Secondary/Master - hdc
MotherBoard/Secondary/Slave - hdd
PCI1/Primary/Master - hde
PCI1/Primary/Slave - hdf
etc...
etc...
so hde should be your PCI card's Primary Master drive. _________________ mb |
|
Back to top |
|
|
odborg Tux's lil' helper
Joined: 12 Apr 2002 Posts: 89 Location: Aalborg, Denmark
|
Posted: Tue Apr 06, 2004 2:06 pm Post subject: |
|
|
I thought I'd already posted a follow up to my previous post. Well, apparently not.
Anyways, just as i submitted my post I found the answer in another thread .
(I did search before posting but found nothing then)
what i did:
Code: |
rm /boot/grub/*stage1_5
|
start grub:
Code: |
root (hd0,0)
setup (hd0)
quit
|
then it all worked like i charm. Apparently stage1_5's are only neccessary when stage2 is located on another partition than stage1.
And the stage1_5's that were present do not work with highpoint controller |
|
Back to top |
|
|
mbjr Guru
Joined: 17 Jan 2004 Posts: 531 Location: Budapest/Hungary
|
Posted: Tue Apr 06, 2004 2:21 pm Post subject: |
|
|
So it works now ) We're closed _________________ mb |
|
Back to top |
|
|
|