Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 am trying to modify the basic installation environment (ie, what Anaconda runs in) for a customized CentOS distribution.

For the first try, I would just like to modify a few of the splash images.

My initial attempt to do this entailed:

1) Mount images/install.img to a directory ~/img/
2) Copy all files from img/ to ~/tmpimg/
3) Modify the splash images
4) mkisofs -o ~/final/install.img
5) cp ~/final/install.img back to my ~/cdroot/ folder and remake the iso.

However, the generated .img in step 4 doesn't even come close to matching the file size from the original install.img (meaning that install.img must be created in some other fashion using compression), and it fails when I boot my iso.

What settings should I be using to make the install.img file? Is there some other technique for modifying CentOS install environments?

share|improve this question
up vote 0 down vote accepted

So it turns out that CentOS requires a cramfs (similar to squashfs) image of the installation root-tree.

I made one via mkfs.cramfs <install_dir> <cd_root>/images/install.img and it worked perfectly.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.