Apr
01
2010

Fedora 12 / boot / initrd / initramfs

I have been using Fedora 12 (under HVM – Oracle VM 2.2) to build latest
kernels from git (kernel.org), identify bugs, bisect, build and test.

On Xen HVM Fedora 12 is quite slow (a full kernel build takes 3.5
hrs). I have noticed
that initrd / mkinitrd does not have a future as Fedora 12 uses dracut
to create initramfs (and initramfs – not initrd – check this nice blog entry).

The
initramfs initially was 60 GB and it took ages for the guest to boot up
.. Unbearable! .. With the idea by jch to remove plymouth
(graphical boot) from initramfs – by telling dracut not to include it I
added the following to /etc/dracut.conf file:
   omit_dracutmodules=”plymouth”
That made my initramfs file of 45MB size – which is still big but at least bootup takes shorter time. Now I can bisect happily 🙂

Share
Written by in: kernel,linux | Tweet This

No Comments »

RSS feed for comments on this post. TrackBack URL


Leave a Reply

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com