[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building a 2.6.30 kernel that does NOT require initrd





On Mon, 28 Sep 2009, Andrew Perrin wrote:



On Mon, 28 Sep 2009, Andrew Perrin wrote:

Greetings-

Using a .config file based on past kernels that have worked fine (posted at http://perrin.socsci.unc.edu/stuff/config), I am trying to compile kernel 2.6.30 for an amd64 machine and NOT using initrd. The essentials I know of - sata, ext3, e1000e - are built into the kernel, so I don't think it should need an initrd, but I'm consistently getting:

kernel panic: no init found. Unable to mount root fs on unknown-block(0,0).


Any advice welcome.
Thanks.

----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Associate Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Hi,

What does lshw show?

Ok,

            product: 82801JD/DO (ICH10 Family) SATA AHCI Controller

CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_ACPI=y
CONFIG_SATA_PMP=y
CONFIG_SATA_AHCI=y
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y
# CONFIG_SATA_SVW is not set
CONFIG_ATA_PIIX=y

Your configuration appears to contain the necessary drivers.

Did you install your kernel correctly?
Are you using grub1? grub2?
There was some discussion on this e-mail list recently about some grub2 issues.

Please also post your grub.conf & show ls -lR of /boot.

You can see my old page here:

http://installkernel.tripod.com/ik/index.html

cd /usr/src/linux ; make dep ; make clean ; make bzImage ; make modules ; make modules_install ; mv /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage-2.4.17 ; mv /usr/src/linux/System.map /boot/System.map-2.4.17 ; ln -sf /boot/System.map-2.4.17 /boot/System.map ; vi /etc/lilo.conf || vi /boot/grub/grub.conf

Is this what you followed (or similar)?

Justin.


Reply to: