You are not logged in.

#1 2009-05-09 21:49:39

devildante
Member
Registered: 2009-03-29
Posts: 5

How to boot without initramfs?

Hello,

I'm currently trying to compile a custom kernel with all drivers built-in, thus without initramfs. Compiling works, but when I boot the new kernel, it throws a kernel panic, saying that he couldn't find the root partition (/dev/sda1 in my case). And for available partitions, it shows me one partition labeled 'sr_mod' (related to SCSI).
Did I miss some option?

PS: I also tried changing /dev/sda1 to /dev/hda1, but it didn't work either.

Offline

#2 2009-05-09 21:52:42

EVRAMP
Member
From: Czech Republic
Registered: 2008-10-03
Posts: 173
Website

Re: How to boot without initramfs?

You must compile sr_mod module into your kernel if your HDD is SATA or SCSI device.
If you compile it as a module, mkinitcpio puts it into kernel image (sata hook).
If you won't compile it you will get what you got smile

Offline

Board footer

Powered by FluxBB