Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic - not syncing: VFS (SOLVED)
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
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Thu May 26, 2005 7:12 pm    Post subject: Kernel panic - not syncing: VFS (SOLVED) Reply with quote

Hi,
seems there are some people still experiencing with the 2.6 kernel.
Maybe somebody has an idea about that:
I cant boot the first time after installation and i get the message:

VFS: Cannot open root device "hda5" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I have one HDD with the following partitions:
/dev/sda1 /mnt/win
/dev/sda2 /boot
/dev/sda5 /
/dev/sda3 /swap
/dev/sda6 /scratch
/dev/sda7 /data
/dev/sda8 /home

my grub.conf essentially looks like that:

root (hd0,1) --> points to /boot
kernel (hd0,1)/kernel-2.6.11-gentoo-r3 root=/dev/sda5

I also used the command line under grub but it gets stuck after "boot"
Any suggestions?


Last edited by c707176 on Fri May 27, 2005 9:41 am; 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: Thu May 26, 2005 8:05 pm    Post subject: Reply with quote

c707176,

This part of your error message
Code:
unknown-block(0,0)
means the kernel cannot communicate with your hard drive.
Code:
VFS: Cannot open root device "hda5"
suggests that your grub.conf is not what you think it is.
The root=/dev/sda5 in your posted grub.conf is correct.

Either you do not have /dev/sda5 everythere you should, or the chipset driver for the disk drive is mising from the kernel.
_________________
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
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Fri May 27, 2005 9:10 am    Post subject: Reply with quote

Hi, thanks for your reply!
When I had the 2.4 kernel I compiled with genkernel and I had a statement like real_root=-/dev/hda5 doscsi
since my HDD is recognized as sda.
I changed the boot line kernel now to

kernel /kernel-mykernel root=/dev/sda5

and I get the error:

fsck.ext3: No such device or address while trying to open /dev/hda5
Possibly non-existent couldn't be fixed...
Back to top
View user's profile Send private message
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Fri May 27, 2005 9:40 am    Post subject: Reply with quote

Ok, I got the solution.
The grub statements are ok but the fstab was wrong.
Instead of /dev/sda there were /dev/hda...
I need to change the fstab and it boots now!

Summarizing: For my problem the following worked

root (hd0,1)
kernel (hd0,1)/kernel-2.6.11-gentoo-r3 root=/dev/sda5
Back to top
View user's profile Send private message
dacha_san
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2004
Posts: 82

PostPosted: Fri May 27, 2005 4:28 pm    Post subject: Reply with quote

c707176 wrote:
Ok, I got the solution.
The grub statements are ok but the fstab was wrong.
Instead of /dev/sda there were /dev/hda...
I need to change the fstab and it boots now!

Summarizing: For my problem the following worked

root (hd0,1)
kernel (hd0,1)/kernel-2.6.11-gentoo-r3 root=/dev/sda5




Enjoy the freedom and power of GENTOO!
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