View previous topic :: View next topic |
Author |
Message |
hulmeman Apprentice
Joined: 02 Jul 2002 Posts: 184 Location: Duchy of Lancaster, England.
|
Posted: Wed Jul 10, 2002 1:30 pm Post subject: grub |
|
|
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 |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Jul 10, 2002 1:51 pm Post subject: Re: grub |
|
|
On my hard drive, grub treats hde to be hd0. One way to check what it thinks is to do:
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 |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Wed Jul 10, 2002 3:30 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Jul 10, 2002 3:55 pm Post subject: |
|
|
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 |
|
|
ghost_o Tux's lil' helper
Joined: 10 Jul 2002 Posts: 119
|
Posted: Wed Jul 10, 2002 7:30 pm Post subject: Re: grub |
|
|
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 |
|
|
ghost_o Tux's lil' helper
Joined: 10 Jul 2002 Posts: 119
|
Posted: Wed Jul 10, 2002 7:35 pm Post subject: Re: grub |
|
|
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 |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Wed Jul 10, 2002 8:20 pm Post subject: |
|
|
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?) 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. The kids have the faster newer game boxs M$ that Im allowed on occasionally
hielvc |
|
Back to top |
|
|
Guest
|
Posted: Thu Jul 11, 2002 6:12 am Post subject: |
|
|
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 |
|
|
|