View previous topic :: View next topic |
Author |
Message |
ultrakd001 n00b
Joined: 01 Jun 2014 Posts: 8
|
Posted: Thu Jul 17, 2014 12:13 pm Post subject: Kernel Panic on first boot |
|
|
I finally managed to finish the installation process of Gentoo but on my first boot I got a kernel panic it said:
Kernel Panic not syncing: VFS Unable to mount root fs on unknown-block(0,0) .It obviously can't mount the FS.
I suppose that I configured something wrong but what is it? |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Thu Jul 17, 2014 1:06 pm Post subject: |
|
|
hmm this will most probably be either an incorrect kernel config or an incorrect bootloader config
when this panic occurs, can you see your hard disk's partition information? could you post that output as well
Please post your bootloader configuration file
what is your rootfs type(file system) are you using LVM/software raid anything of that sort? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Jul 17, 2014 5:00 pm Post subject: |
|
|
boot the livecd/usb, mount the gentoo partitions, run Code: | wgetpaste /mnt/gentoo/usr/src/linux/.config
lspci -k | wgetpaste | post the url's returned _________________ Defund the FCC. |
|
Back to top |
|
|
ultrakd001 n00b
Joined: 01 Jun 2014 Posts: 8
|
Posted: Fri Jul 18, 2014 2:35 pm Post subject: |
|
|
I figured it out the problem was in fstab. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Fri Jul 18, 2014 7:33 pm Post subject: |
|
|
ultrakd001,
Don't be shy - share your learning experience so that others reading this thread can benefit.
Tell the problem and the solution. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
ultrakd001 n00b
Joined: 01 Jun 2014 Posts: 8
|
Posted: Sat Jul 19, 2014 5:46 am Post subject: |
|
|
I am sorry I didn't share it was because I didn't have time so I posted just that.
The problem seemed to be as I said in the fstab file. In the line about of the rootfs I had the dump field set at 1 and the fsck field at 2.
I changed the fifth field to 0 and it worked |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sat Jul 19, 2014 8:21 am Post subject: |
|
|
ultrakd001,
Thank you for contributing to Gentoo.
I think you did something else too. The error Code: | VFS Unable to mount root fs on unknown-block(0,0) | is generated before the root filesystem is mounted.
/etc/fstab is on the root filesystem, therefore it cannot be read until the root filesystem is mounted.
The unknown-block(0,0) bit is the kernel telling that it cannot even see your hard drive. This implies a piece missing from your kernel or initrd. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
ultrakd001 n00b
Joined: 01 Jun 2014 Posts: 8
|
Posted: Sat Jul 19, 2014 9:07 am Post subject: |
|
|
That is true but when I changed I didn't get this message any more |
|
Back to top |
|
|
|