Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub
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
hulmeman
Apprentice
Apprentice


Joined: 02 Jul 2002
Posts: 184
Location: Duchy of Lancaster, England.

PostPosted: Wed Jul 10, 2002 1:30 pm    Post subject: grub Reply with quote

Ive just tried to configure GRUB
My /boot is hdg1, which in 'Grub-speak is (hd6,0).....yes?
When I enter 'root (hd6,0)' i get:
'Error 21 device does not exist'
I thought grub was OK on hde and above?
any ideas?
Baz
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jul 10, 2002 1:51 pm    Post subject: Re: grub Reply with quote

On my hard drive, grub treats hde to be hd0. One way to check what it thinks is to do:
Code:

root (hd[TAB]

in the grub console. It will show you the available choices.
hulmeman wrote:
Ive just tried to configure GRUB
My /boot is hdg1, which in 'Grub-speak is (hd6,0).....yes?
When I enter 'root (hd6,0)' i get:
'Error 21 device does not exist'
I thought grub was OK on hde and above?
any ideas?
Baz
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Wed Jul 10, 2002 3:30 pm    Post subject: Reply with quote

Another thing about grub is that it counts the actual drives installed. I have only 1 HD installed now and it is hdc. Grub considers this (hd0) So this is what my grub command looks like "root (hd0,1), though you would wrongly think hdc1 would be (hd2,1). Why setup like this, from swapping HD and not haveing to hassel with my fstab. Oh your fstab rmains the same "/dev/hdc1 / ext3 ....." SO now go into the coner and start bangin the old head ;)
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Jul 10, 2002 3:55 pm    Post subject: Reply with quote

hielvc wrote:
I have only 1 HD installed now and it is hdc.

Why is your system set up this way? Depending on your IDE controller you might be limiting your hard drive performance, because DMA and PIO is sometimes only supported on the primary IDE channel.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
ghost_o
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 119

PostPosted: Wed Jul 10, 2002 7:30 pm    Post subject: Re: grub Reply with quote

hulmeman wrote:
Ive just tried to configure GRUB
My /boot is hdg1, which in 'Grub-speak is (hd6,0).....yes?
When I enter 'root (hd6,0)' i get:
'Error 21 device does not exist'
I thought grub was OK on hde and above?
any ideas?
Baz


I had the same problems. It appears that the chrooted environment only contains /dev/sd* support for 4 drives. After all was completed, I had to exit the chrooted environment, mkdir /boot and mount the boot partition there. The 'grub' command from the no-chrooted env sees all the devices correctly and the install of grub waas successsful after that. I have not dug into the chrooted environment after a successful install to find out if the /dev entries are limited to 4 discs somehow. Maybe something to look into for the future releases of the .iso(s)

-Greg
Back to top
View user's profile Send private message
ghost_o
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 119

PostPosted: Wed Jul 10, 2002 7:35 pm    Post subject: Re: grub Reply with quote

ghost_o wrote:
I had the same problems. It appears that the chrooted environment only contains /dev/sd* support for 4 drives. After all was completed, I had to exit the chrooted environment, mkdir /boot and mount the boot partition there. The 'grub' command from the no-chrooted env sees all the devices correctly and the install of grub waas successsful after that. I have not dug into the chrooted environment after a successful install to find out if the /dev entries are limited to 4 discs somehow. Maybe something to look into for the future releases of the .iso(s)

-Greg


I guess I should clarify - my system is 19x Scsi HD sda-sds - he was right, grub only sees sda-sdd in the chrooted env. grub outside of the chrooted env sees them all.

-Greg
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Wed Jul 10, 2002 8:20 pm    Post subject: Reply with quote

Why is your system set up this way? Depending on your IDE controller you might be limiting your hard drive performance, because DMA and PIO is sometimes only supported on the primary IDE channel.[/quote]

I had slack on hda & gentoo, what is now hdc, hdb. In the process of building and trying setup gentoo, then build /copy to 3rd drv I got very tiired of booting and being informed, that if I didnt get my fstab setright it was going to become a M$ box. (no booty with fstab setup for the wrong hd?) :oops: THe one spot on the three computers I have that was easist to use was hdc. Since my main box is a MIGHTY PENTIUM 166 Oclocked to 200 it is no bigee as it slooooow anywhere and anywhen. :lol: The kids have the faster newer game boxs M$ that Im allowed on occasionally
hielvc :cry:
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jul 11, 2002 6:12 am    Post subject: Reply with quote

Ive got it sorted, GRUB sees hde as hd0, and hdg as hd1.
Not sure whether this is a GRUB bug (Dung Beetle?) or the norm!
Either way it needs to be either sorted out or the 'Install howto' needs to mention it, as multi ide controllers are getting more common.
The menu.lst file needs to be edited similarly.
Baz
Back to top
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