You are not logged in.
Hi, im compiling 2.6.18 kernel, and i got this kernel panic:
VFS: Cannot open root device 'sda3' 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)
Ive searched in google, and this seem to be a SATA support issue.
Ive activated this when compiling:
CONFIG_SCSI_SATA=m
And when generating kernel image i get:
[root@arch4linux ~]# mkinitcpio -k 2.6.18-OS -g /boot/kernel26-OS.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
ERROR: module 'sd[-_]mod' not found
Whats left in kernel config?
OS -----> Arch Linux DE -----> KDE4
CPU ---> 2.66GHz RAM ---> 512 MB
SWAP -> 2 G / -------> 10 G
/home -> 50 G /boot ---> 64 MB
Offline
Hello B4RR13N705!
First of all, can you check your menu.lst is okay, and relevant to the /etc/fstab e.g. ?
Offline
Do you need to use an initramfs image with this kernel? The error you posted occurs when the initramfs image does not provide the support your system requires at boot -time.It will simplify things for you if you can do without the initramfs, as you can build everything you need into the kernel.
Offline
CONFIG_SCSI_SATA=m
not good enough:
you need to have
CONFIG_BLK_DEV_SD=m
and
CONFIG_CHR_DEV_SG=m
and maybe (your hardware, may not need this but check mkinitcpio.conf)
CONFIG_SCSI_SATA_AHCI=m
at minimum
or set kernel without initrd as mentioned above but then these must be build in and also fs must be build-in
Offline