|
发表于 2006-6-7 17:17:35
|
显示全部楼层
Why don't you go arch wiki
http://wiki.archlinux.org/index.php/Mkinitcpio#Aboutmkinitcpio is the next generation of initramfs creation. It has many advantages above the old mkinitrd and mkinitramfs scripts.
* It uses klibc and kinit which are developed by Linux kernel devs to provide a small and lightweight base for early userspace.
* It can use udev for hardware autodetection at runtime, thus prevents you from having tons of unnecessary modules loaded.
* Its hook-based init script is easily extendable with custom hooks, which can easily be included in pacman packages without having to modifiy mkinitcpio itself.
* It already supports lvm2, dm-crypt for both legacy and luks volumes, raid, swsusp and suspend2 resuming and booting from usb mass storage devices.
* Many features can be configured from the kernel command line without having to rebuild the image.
* The mkinitcpio script makes it possible to include the image in a kernel, thus making a self-contained kernel image is possible.
mkinitcpio has been developed by phrakture and tpowa with some help from the community.
It is currently in beta stage. To use it, you have to generate the image yourself and add it to the bootloader. Please always keep your old initrd or initramfs images intact so you will be able to boot if you hit bugs in mkinitcpio. The 2.6.17 kernel packages already added mkinitcpio support. |
|