Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] /dev/sda translated to /dev/hda
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
MilkSjeik
n00b
n00b


Joined: 17 Apr 2005
Posts: 66
Location: Belgium

PostPosted: Sat Aug 25, 2007 1:18 pm    Post subject: [SOLVED] /dev/sda translated to /dev/hda Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sat Aug 25, 2007 1:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
MilkSjeik
n00b
n00b


Joined: 17 Apr 2005
Posts: 66
Location: Belgium

PostPosted: Sat Aug 25, 2007 1:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sat Aug 25, 2007 3:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
MilkSjeik
n00b
n00b


Joined: 17 Apr 2005
Posts: 66
Location: Belgium

PostPosted: Sat Aug 25, 2007 6:53 pm    Post subject: Reply with quote

We are more or less up and running, the problem is all the new options in the kernel and a computer (from work) that I don't really know what's in it...
But thanks for the help, it just booted until the prompt!

Also found some usefull information in following threads:
https://forums.gentoo.org/viewtopic-t-568106-highlight-intel+corporation+82801gbm+ghm.html
https://forums.gentoo.org/viewtopic-t-576977.html


Thanks for the help NeddySeagoon!
Back to top
View user's profile Send private message
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