Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

share|improve this question
    
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 Mar 17 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 Mar 17 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 Mar 17 at 5:05
1  
You probably want to look into kickstart –  jordanm Mar 17 at 5:35

1 Answer 1

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

share|improve this answer
    
It works on both Ubuntu and Debian distros and any of their derivatives, and doesn't work on RHEL –  Hadi Mar 17 at 6:31
    
I thought it broke like 4 years ago... –  mikeserv Mar 17 at 6:43
    
you can see: bashinglinux.wordpress.com/tag/rhel –  Mohsen Pahlevanzadeh Mar 17 at 7:25
    
    
you can see: solidsmoke.blogspot.ch/2008/12/… –  Mohsen Pahlevanzadeh Mar 17 at 7:26

Your Answer

 
discard

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.