lundi 4 avril 2016

[Kernel] Initramfs is too big ...


Kernel is not booting...

You then realize that your initramfs is very big : 200MB ...

A normal initramfs can range between 2MB to ~20MB in general.
If your initramfs is too big, then the kernel will not be able to map it in memory and it won't boot.

You can remove all the things your computer won't use anyway from the bloated initramfs.

Edit /etc/initramfs-tools/initramfs.conf
and set MODULES=dep instead of MODULES=most

You can then rebuild your kernel.

Sources

http://askubuntu.com/questions/299396/how-to-reduce-the-size-of-initrd-img-on-ubuntu-13-04

Aucun commentaire:

Enregistrer un commentaire