I have made changes in RHEL starting from partition and also I have changed so many parameters. Now I want to use this changed OS as ISO image so that I can directly install it without doing all the stuff again.

  • Probably you'll get several different answers to this question - there are many ways - but in Linux all filesystems are ( more or less ) basically extensions to VFS - the kernel's base filesystem. In this way it makes little difference to the kernel if you're installing from a CD image or any other kind of disk image - it's just a file. The quickest way would be like cat $DISK | zcat image.file and restoring is just the reverse action.
    – mikeserv
    Commented Mar 17, 2014 at 4:05
  • @mikeserv Thanks for replying. i have made five partitions and i want to reflect these changes and also how much the current os is taking as an .iso image.
    – subbarao
    Commented Mar 17, 2014 at 4:59
  • Well, without a little ingenuity, you can't partition an ISO regardless. Still, there's nothing stopping you from having 5 or 20 or as many partitions as you want in any regular file. cp /dev/somedev ./somedev.file will read the block device into a file image. mount ./somedev.file /mnt/somemnt will mount it - so long as you've got properly configured loop devices, and you've had those since at least kernel 2.4 probably.
    – mikeserv
    Commented Mar 17, 2014 at 5:05
  • 1
    You probably want to look into kickstart
    – jordanm
    Commented Mar 17, 2014 at 5:35

1 Answer 1


You can install remastersys and change your OS, finally create an ISO with remastersys.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .