View previous topic :: View next topic |
Author |
Message |
MilkSjeik n00b
Joined: 17 Apr 2005 Posts: 66 Location: Belgium
|
Posted: Sat Aug 25, 2007 1:18 pm Post subject: [SOLVED] /dev/sda translated to /dev/hda |
|
|
When I launch the minimal installation cd, gentoo recognizes my systems hd as /dev/sda (what is correct).
But when I had compiled my kernel and rebooted for the first time, it complains that it can't find the root system on /dev/hda.
Probably I've did something wrong with my kernel options? NFS was also on while it was not needed... Somebody who has any idea where is my mistake?
Last edited by MilkSjeik on Sat Aug 25, 2007 6:54 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Aug 25, 2007 1:23 pm Post subject: |
|
|
MilkSjeik,
Look in your /boot/grub/grub.conf and check your kernel line.
What does it say for root= or real_root= ?
If your system boots before the error, it will be running fsck on root, or trying to.
In that case, the / entry in /etc/fstab is not correct.
What is the exact error message ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
MilkSjeik n00b
Joined: 17 Apr 2005 Posts: 66 Location: Belgium
|
Posted: Sat Aug 25, 2007 1:58 pm Post subject: |
|
|
My HD looks like this:
sda1 = windows
sda2 = extended
sda5 = fat32 (shared drive)
sda6 = /boot
sda7 = share
sda8 = /
sda9 = /home
(don't ask further questions about the partitioning :p)
grub.conf for gentoo:
root(hd0,5)
kernel /boot/kernel-2.6.22-gentoo-r5 root=/dev/sda8 mode...
Given error:
Code: | VFS: Cannot open root device "sda8" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
0300 ... hda driver: ide-disk
0301 ... hda1
etc...
Kernel panic - not syncing : VFS: Unable to mount root fs on unkown-block(0,0)
|
/etc/fstab :
/dev/sda6 /boot ext2 noauto,noatime 1 2
/dev/sda8 / ext3 noatime 0 1
/dev/sda9 /home ext3 noatime 0 1
/dev/sda7 none swap sw 0 0 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Aug 25, 2007 3:17 pm Post subject: |
|
|
MilkSjeik,
Perfect - thank you
Code: | VFS: Cannot open root device "sda8" or unknown-block(0,0) |
That error tells that your kernel cannot communicate with your disk drive controller.
Since you do not use an initrd to boot, you must have the following things built into your kernel. Modules will not work.
1) SCSI Support
2) SCSI Hard Disk Support (SATA appears as SCSI)
3) The chip set driver for your system (Under ATA Devices)
4) MSDOS Partition table support
5) Your root filesystem code
You are missing one or more of the first three - we can't tell about 4) and 5) yet. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
MilkSjeik n00b
Joined: 17 Apr 2005 Posts: 66 Location: Belgium
|
|
Back to top |
|
|
|