Generate customized manual initcpio
Users can generate an image using an alternative configuration file. For example, the following will generate an initramfs image according to the directions in
/etc/mkinitcpio-custom.conf
and save it at /boot/linux-custom.img
.# mkinitcpio -c /etc/mkinitcpio-custom.conf -g /boot/linux-custom.img
If generating an image for a kernel other than the one currently running, add the kernel version to the command line. You can see available kernel versions in
/usr/lib/modules/
.# mkinitcpio -g /boot/linux-custom2.img -k 3.3.0-ARCH
没有评论:
发表评论