Cet article est un résumé de l'original en anglais : http://wiki.archlinux.org/index.php/Mkinitcpio
La prochaine mise à jour du noyau (2.6.18) verra l'arrivée d'un nouveau gestionnaire de initramfs
Il remplacera mkinitrd et mkinitramfs ; une unification très logique.
Il est développé par phrakture et tpowa avec l'aide de la communauté.
Voyons l'essentiel de ce qu'il faut savoir pour que la mise à jour se passe bien.
Tout d'abord un coup de pacman
# pacman -Sy mkinitcpio
A noter que lors de l'upgrade vers le noyau 2.6.18, il sera installé comme une dépendance, mkinitrd et mkinitramfs seront désinstallés.
Lors de l'installation, deux nouvelles images du noyau seront créées :
/boot/kernel26.img --> image optimisée par le script de détection de votre matériel /boot/kernel26-fallback.img --> image qui contient tous les modules
A vous de modifier votre gestionnaire de boot favori !
Exemple Grub :
# (0) Arch Linux title Arch Linux root (hd0,3) kernel /boot/vmlinuz26 root=/dev/hda4 vga=791 ro initrd /boot/kernel26.img title Arch Linux Fallback root (hd0,3) kernel /boot/vmlinuz26 root=/dev/hda4 vga=791 ro initrd /boot/kernel26-fallback.img
Exemple Lilo :
boot=/dev/hdX default = <Label of default image> timeout=50 vga=791 lba32 prompt # for the hardware-autodetecting image image=/boot/vmlinuz26 label=ArchLinux append="root=/dev/hdXY" initrd=/boot/kernel26.img read-only # fallback image if the other doesnt work (Will most prob. never be used) image=/boot/vmlinuz26 label=ArchLinuxFallBack append="root=/dev/hdXY" initrd=/boot/kernel26-fallback.img read-only
— MSeb 01/10/2006