Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,4)
Hey all, I've tried to set up gentoo-current on my mac book, I used the minimal cd, I've been following along with the gentoo hand book
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml and also the wiki page for gentoo on a mac book http://gentoo-wiki.com/HARDWARE_Apple_MacBook Please note this is my first time I have attempted to install gentoo (and got this far). my problem is I can't get the system to get past the below output: Code:
Please append a correct "root=" boot option; here are the available partitions: I have included a copy of my fstab Code:
livecd / # cat /etc/fstab Code:
My lilo config file is below: Code:
livecd / # cat /etc/lilo.conf And this is what happens when I type lilo, I'm also confused about this warning, I've looked it up on google and I can't find anything useful related to it. Code:
livecd / # lilo I have uploaded it to paste bin because this post was too long when it was included http://pastebin.com/f2cccbba4 The kernel version I compiled was 2.6.22, I obtained this by issuing emerge gentoo-sources. I'd appreciate any help you people can offer. Thanks for reading my thread and thanks for your help. My root partition is ext3 and my boot partition is ext2. mr.gizm0 |
Umm, have you tried replacing root=/dev/sda4 with root=/dev/sda3 ?
Bootloaders usually use what's in /boot to boot, so that should be the problem.... |
Quote:
Code:
No filesystem could mount root, tried: reiserfs ext3 ext2 vfat iso9660 hfsplus fuseblk udf Thanks. |
A few more ideas:
1. There might be a problem with that partition. Can you mount it with a live cd? 2. Did you run mkinitrd after installing the kernel? |
Quote:
emerge mkinitrd I'll have to look up the usage, do I need to add it to my lilo.conf aswell? thanks for your reply mr.gizm0 |
I've tried to do
Code:
mkinitrd /boot/initrd.img 2.6.22-gentoo-r5-mactelpatches-macbook-core2duo Code:
initrd = /boot/initrd.img Thanks for the suggestion, but do you have any others? thanks alot. mr.gizm0 |
All times are GMT -5. The time now is 11:59 PM. |