Re: FATAL: Module ata_piix not found failed to create initrd image
At 16:50 15/04/2004 +0200, Jens Schmalzing wrote:
Hi,
BONGO Abdoulkadri writes:
> many of us found this error when trying to build a kernel 2.6.x with
> initrd. here is what i do :
> 1-install sarge beta-3
> 2-apt-get install kernel-package
> 3-apt-get install bin86
> 4-apt-get install libncurses-dev
> 5-apt-get install module-init-tools
> 6-apt-get install bzip2
> 7-make-kpkg --initrd --config=menuconfig --revision=name kernel_image
> 8-dpkg -i kernel-image-2.6.4_name1.0_i386.deb
The point of all this being what? I would recommend you use one of
the pre-packaged kernel images, you gain nothing if you rebuild
(assuming you use the kernel-source package from Debian).
i need it. i'm using kernel-source package from Debian Sarge
If you insist on building your kernel yourself, either
o create your own initrd using other tools (you want to create your
own kernel, why not create your own mkinitrd?), or
i did it by : mkinitrd -k -o /initrd.img-2.6.4 and configure my
/boot/grub/menu.lst
title debian GNU/Linux, kernel 2.6.4
root (hd0,0)
kernel /vmlinuz-2.6.4 root=/initrd.img-2.6.4 ro
savedefault
boot
o leave out the initrd entirely (building all drivers for the root
filesystem into the kernel itself), or
o build ata_piix as a module (CONFIG_SCSI_ATA_PIIX=m), or
o upgrade initrd-tools (0.1.64 should do).
Regards, Jens.
--
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!
Reply to: