Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Panic on first boot
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
ultrakd001
n00b
n00b


Joined: 01 Jun 2014
Posts: 8

PostPosted: Thu Jul 17, 2014 12:13 pm    Post subject: Kernel Panic on first boot Reply with quote

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
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Thu Jul 17, 2014 1:06 pm    Post subject: Reply with quote

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


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Jul 17, 2014 5:00 pm    Post subject: Reply with quote

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


Joined: 01 Jun 2014
Posts: 8

PostPosted: Fri Jul 18, 2014 2:35 pm    Post subject: Reply with quote

I figured it out the problem was in fstab.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Jul 18, 2014 7:33 pm    Post subject: Reply with quote

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


Joined: 01 Jun 2014
Posts: 8

PostPosted: Sat Jul 19, 2014 5:46 am    Post subject: Reply with quote

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


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

PostPosted: Sat Jul 19, 2014 8:21 am    Post subject: Reply with quote

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


Joined: 01 Jun 2014
Posts: 8

PostPosted: Sat Jul 19, 2014 9:07 am    Post subject: Reply with quote

That is true but when I changed I didn't get this message any more
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