Getting More Far With MKINITCPIO

mkinitcpio is apllication which help us to make kernel image, from the beginning of Arch installation i just touch this very little…

so today i try to explore more…
for archer always read archwiki first so the first articles and the last also here then after a simply brief, i tried this…

1. Need to edit your /etc/mkinitcpio.conf  so, #nano /etc/mkinitcpio.conf
first is MODULES=” “, instead load on /etc/rc.conf load modules from kernel can be a good choice, you don’t need to add modules to /etc/rc.conf , just leave it empty, even this tell for advanced user but you can try it too… you just need to know the modules which your laptop or computer need…

2. For BINARIES=” ” or FILES=” ” , i don’t because i don’t have condition to include “files” or “binaries” to execute??? hmm, need more research…

3. The third part is HOOKS=” ” , so what this is for?  this is a set of scripts which executed on ramdisk, doesn’t know further… but this is needed… u can check using $mkinitcpio -L then $mkinitcpio -H hooks_name

4. Then latest is COMPRESSION=” ” defaultly this part is commented… but we need to uncomment it, know im using lzop compression, give great compression too… i need to test the others 🙂 just set COMPRESSION_OPTIONS=”-9″ this is tell to compress as small as possbile i think…

But all of it on your own, happy try generate you linux image

5. To generate #mkinitcpio -p kernel-name

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *