Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo highpoint ide controller[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
odborg
Tux's lil' helper
Tux's lil' helper


Joined: 12 Apr 2002
Posts: 89
Location: Aalborg, Denmark

PostPosted: Tue Apr 06, 2004 10:41 am    Post subject: gentoo highpoint ide controller[solved] Reply with quote

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
View user's profile Send private message
mbjr
Guru
Guru


Joined: 17 Jan 2004
Posts: 531
Location: Budapest/Hungary

PostPosted: Tue Apr 06, 2004 1:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
odborg
Tux's lil' helper
Tux's lil' helper


Joined: 12 Apr 2002
Posts: 89
Location: Aalborg, Denmark

PostPosted: Tue Apr 06, 2004 2:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
mbjr
Guru
Guru


Joined: 17 Jan 2004
Posts: 531
Location: Budapest/Hungary

PostPosted: Tue Apr 06, 2004 2:21 pm    Post subject: Reply with quote

So it works now :o) We're closed :P
_________________
mb
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum