Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Kiwi to build a boot CD based on OpenSUSE 13.1. I want the disk ISO image to be as tiny as possible. I managed to get the read-only filesystem down to only 100MB, but for reasons unknown, the initrd file is 80MB on its own. (!!)

  1. Is there some way I can convince Kiwi to produce a smaller initrd?
  2. Is there a way to take the initrd image that Kiwi has produced and shrink it somehow?

PS. The initrd file is actually an initramfs image. But you probably knew that..

Possibly relevant: If I unpack initrd, I get the following:

# du -d1 -h .
12K     ./root
4.0K    ./selinux
4.0K    ./tmp
20K     ./run
4.0K    ./mnt
304K    ./image
16K     ./boot
8.8M    ./etc
760K    ./var
4.0K    ./sys
4.0K    ./proc
8.0K    ./dev
1.1M    ./bin
97M     ./usr
4.0K    ./opt
1.7M    ./sbin
88M     ./lib
198M    .
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.