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

[debian-knoppix] how to get mkinitrd to work with standard knoppix-kernel (e.g. without cramfs-buildin)



Hi,

first you need dash.

apt-get install dash

Then you need the attached script, which is compatible to mkcramfs, but needs 
root-rights due to the use of mount -o loop.

Then you need to change /etc/mkinitrd/mkinitrd.conf and change mkcramfs to the 
newly installed mkext2fs. (You can also use mkcramfs if you have it build in 
in the kernel)

then you build the initrd with:

mkinitrd -o outfile /lib/modules/<yourkernelversion>/

Thats all, (don't forget to update lilo.conf)

Comments ?

cu

Fabian

Attachment: mkext2fs
Description: application/shellscript


Reply to: