Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird Grub HD Naming Question???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Sat May 25, 2002 3:22 pm    Post subject: Weird Grub HD Naming Question??? Reply with quote

Ok this is weird. I am used to grub doing some weird things but this has to take the cake. I know that grub uses different syntax for hd. /dev/hda become (hd0,0) /dev/hdb (hd1,0) and so on and so on.

My hard drive is attached to a promise controller. First drive on the promise controller and has always been seen as /dev/hde. Ok here is the strange part for me at least. Following grubs hd naming scheme my hd should be (hd4,0) right? Well according to grub it is (hd0,0) That is the only way grub will see the drive. It then detects the drive, what FS it is running.

Is this right? Shouldn't it be (hd4,0)
_________________
Boricua Hasta La Muerte
Back to top
View user's profile Send private message
amigadave
n00b
n00b


Joined: 29 Apr 2002
Posts: 55
Location: UK

PostPosted: Sat May 25, 2002 4:38 pm    Post subject: Reply with quote

Yep that's right. GRUB sees the first hd as hd0, second as hd1 and so on. There is no mapping between ide-controller and disk number. For example if you had a single hd on your motherboard's ide controller (primary or secondary) it would be hd0, and if you then had a drive on your Promise controller it would be hd1 (not hd4 because it's on the 5th channel). I'm sure that this is explained in the GRUB documentation though.
Back to top
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Sat May 25, 2002 5:13 pm    Post subject: Thanks, Reply with quote

Was wondering what was going on with that. I am to used to Lilo. Figured I would give grub a shot and not just emerge lilo.

I read through the documentation earlier this morning. Fascinating stuff. I am thinking of changing the splash. Found out you could do when reading up on

http://www.gnu.org/software/grub/grub-faq.en.html and

http://www.gnu.org/manual/grub-0.90/html_node/grub_toc.html and

https://forums.gentoo.org/viewtopic.php?t=31&highlight=grub

BTW Nice avatar :D
_________________
Boricua Hasta La Muerte
Back to top
View user's profile Send private message
TheWart
Guru
Guru


Joined: 10 May 2002
Posts: 432
Location: Nashville,TN - USA

PostPosted: Sun May 26, 2002 4:04 am    Post subject: Reply with quote

Hmm, if you go to the gentoo mail archives, i believe a guy actually made a gentoo splash for grub.
_________________
Face it, we are all noobs.

On the box it said it was designed for Win XP or better, so why won't it work with Linux?
Back to top
View user's profile Send private message
linuxusr
n00b
n00b


Joined: 18 May 2002
Posts: 11
Location: San Angelo, Texas

PostPosted: Sun May 26, 2002 4:27 am    Post subject: For what it's worth Reply with quote

When I installed gentoo it was on a scsi drive .. the only drive in the box. (hd0,0)
hda is a ide cdrom on the motherboards ide0 master
ide1 on the motherboard is disabled

I then added 2 ide drives on an ata100 card
primary master and secondary master (hdc and hde)

Now grub sees the scsi as hd2
hd0 is the ata100 ide0 master
hd1 is the ata 100 ide1 master

Telling the cmos to boot the scsi
Grub booted the scsi fine when it was the only dirve from the mbr
since the addition of the other 2 drives
I havent gotten grub to boot the scsi from it's mbr
I have to use a boot disk

at least it boots <g>

Linuxusr
Back to top
View user's profile Send private message
tsuru
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 99
Location: Nashville, Tennessee, USA

PostPosted: Sun May 26, 2002 4:42 am    Post subject: device.map Reply with quote

read this thread:

https://forums.gentoo.org/viewtopic.php?t=1568&highlight=grub

pay special attention to the device.map
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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