View previous topic :: View next topic |
Author |
Message |
lbermude n00b
Joined: 19 Jul 2004 Posts: 5
|
Posted: Tue Jul 20, 2004 3:32 am Post subject: What is going on with the drive names? (hda vs hde) |
|
|
Hi,
First time trying to install gentoo here... I got the 2004.1 livecd and during the installation it picked up my first HD as hde and second as hdf. I also had installed debian and redhat in different partitions but for those guys first hd is hda and second is hdb.
Ok, I tought it was not a big deal so I went ahead with the installation (in hdf2) and compile the kernel. update grub (which was already installed by debian) and of course the kernel did not boot. Grub did not found hdf2... because it only sees hda and hdb. Ok... again i said... no big deal... I switched grub configuration to hdb2, grub found the gentoo kernel and now the kernel is looking for a hdf2 that does not exists because its hdb2!!!! Kernel panic ... reboot... Kernel panic... reboot...
PS: I tought it had something to do with /etc/fstab but it does not because the kernel cannot even mount the drive.
Can somebody please tell me what is going on during the installation? is it a problem with the kernel compilation and maybe I selected the wrong pci driver?
Thanks. _________________ Leonardo |
|
Back to top |
|
|
CompNerd Retired Dev
Joined: 16 Mar 2003 Posts: 311 Location: 127.0.0.1
|
Posted: Tue Jul 20, 2004 3:41 am Post subject: |
|
|
Sounds like a misconfigured root parameter to me. Could you post your grub configuration please?
CompNerd |
|
Back to top |
|
|
thechris Veteran
Joined: 12 Oct 2003 Posts: 1203
|
Posted: Tue Jul 20, 2004 5:03 am Post subject: |
|
|
this is an issue with the 2004.1 cd. you might try using the 2004.0 cd if you need to do any fixing or ect...
no one answered my post when i had that issue. it happens in mandrake as well. i just use the 2004.0 cd -- the one that works for me. i didn't want to deal with setting up my NIC or rearrangeing partitions, so 2004.0 it was for me! |
|
Back to top |
|
|
oumpah-pah Guru
Joined: 18 Jul 2004 Posts: 575 Location: Lausanne, Switzerland
|
Posted: Tue Jul 20, 2004 11:57 am Post subject: |
|
|
You said grub was already installed from debian. You should reinstall it from gentoo, since when it is copied in MBR, it is set to search for its configuration file on the right partition. |
|
Back to top |
|
|
lbermude n00b
Joined: 19 Jul 2004 Posts: 5
|
Posted: Thu Jul 22, 2004 2:49 am Post subject: |
|
|
I downloaded the 2004.0 and install gentoo
I did not have any problems with my network card (as in 2004.1) and ,my disks were in the right order (hda and hdb).
I am writing from my new gentoo while x11 is compiling!
The grub from debian worked just fine as initially planned.
Thanks for the informaiton
Bye _________________ Leonardo |
|
Back to top |
|
|
pete_m n00b
Joined: 18 Jul 2004 Posts: 15
|
Posted: Thu Jul 22, 2004 7:09 am Post subject: |
|
|
just a thought...
try doing this after you mount your root and boot and proc, but before you chroot into your environment
Code: | mount -t devfs none /mnt/gentoo/dev |
|
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Thu Jul 22, 2004 1:24 pm Post subject: |
|
|
lbermude wrote: | I downloaded the 2004.0 and install gentoo
I did not have any problems with my network card (as in 2004.1) and ,my disks were in the right order (hda and hdb).
I am writing from my new gentoo while x11 is compiling!
The grub from debian worked just fine as initially planned.
Thanks for the informaiton
Bye |
Welcome to Gentoo linux.
Your problem with the 2004.1 livecd was the kernel and not grub.
I bet that you have SATA and PATA on your motherboard.
My 2004.1 livecd sees my devices like this:
SATA: /dev/hda
PATA: /dev/hdb
SATA: /dev/hdc
PATA: /dev/hdd
CDROM: /dev/hde
But with the kernel i installed on my gentoo system the kernel puts the SATA drives in /dev/sdx instead of /dev/hdx
so now its:
SATA: /dev/sda
SATA: /dev/sdb
PATA: /dev/hda
PATA: /dev/hdb _________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
|