View previous topic :: View next topic |
Author |
Message |
c707176 Apprentice
Joined: 01 Mar 2005 Posts: 215
|
Posted: Thu May 26, 2005 7:12 pm Post subject: Kernel panic - not syncing: VFS (SOLVED) |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Thu May 26, 2005 8:05 pm Post subject: |
|
|
c707176,
This part of your error message 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 |
|
|
c707176 Apprentice
Joined: 01 Mar 2005 Posts: 215
|
Posted: Fri May 27, 2005 9:10 am Post subject: |
|
|
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 |
|
|
c707176 Apprentice
Joined: 01 Mar 2005 Posts: 215
|
Posted: Fri May 27, 2005 9:40 am Post subject: |
|
|
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 |
|
|
dacha_san Tux's lil' helper
Joined: 26 Dec 2004 Posts: 82
|
Posted: Fri May 27, 2005 4:28 pm Post subject: |
|
|
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 |
|
|
|