Results 1 to 2 of 2
Hey, I know this isn't a first for this. I've googled it, and it came up with a lot of similar posts, but unfortunately, none of them have helped. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-18-2011 #1
- Join Date
- Aug 2008
kernel panic not syncing vfs unable to mount root fs on unknown-block
sda1 /boot ext2
I've tried playing with grub.conf, but nothing changes. I've check the device.map, and it's all good. I tried reinstalling grub, still nothing. I've checked my fstab just to make sure things were okay, and again, nothing. So I'm at wits end. Maybe my grub.conf is configured incorrectly, but I followed the Gentoo docs, so I can't find any error. Here is my grub.conf:
default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Linux 2.6.39-gentoo-r3 root (hd0,0) kernel /boot/kernel-2.6.39-gentoo-r3 root=/dev/sda3 title Gentoo Linux 2.6.39-gentoo-r3 (rescue) root (hd0,0) kernel /boot/kernel-2.6.39-gentoo-r3 root=/dev/sda3 init=/bin/bb #vim:ft=conf:
I really don't know what's going on. It's not really important because it's just in a VM, but I would really like to learn more about Linux, and I feel building a Gentoo install would benefit me a lot. Thanks.
- 09-21-2011 #2
- Join Date
- Mar 2011
I'm assuming you are using ext4 as your root partition since you ran fsck.ext4 on it.
Did you compile ext4 support into your kernel?
Also, it would be great if you could post your fstab anyways, just in case you have a small typo lurking or maybe additional info that could shed insight.
And finally, it sounds like this is a fresh build, no? If not, what major changes did you make just before it stopped mounting the root partition?
Your grub.conf looks ok to me assuming that is what you named your kernel and grub is installed on the first partition of the first hard disk.
Last edited by bleedingsamurai; 09-21-2011 at 03:09 AM. Reason: hit post too soon, added information