Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-10-2010, 04:00 PM   #1
LQ Newbie
Registered: Jun 2009
Location: India
Distribution: CentOS
Posts: 15

Rep: Reputation: 0
Make a bootable iso of a linux server

Hi Guys,

I have a running CentOS (kernel version I have configured it to act as a Firewall with iptables, snort-inline, zebrad, keepalived etc.

Now I want to make a bootable iso image of the same, so that I can boot other machine using the iso image.

I have already tried using isolinux and grub-install to configure the iso. It is able to boot the vmlinuz and initrd.img file and then is not able to locate the init script. Actually, it cannot find the root file system to boot to.

As far as I could figure out, the initrd.img is a small file system that unloads itself in the RAM, then it tries to find the root file system so that it can complete the boot procedure.

Can anyone please help me to create the root file system keeping all my configurations intact and then finally bind it with the vmlinuz and initrd.img files so that I can create a bootable iso image. I want to provide this iso to my friends/colleagues so that they can also use my firewall and I can develop this project further.

I have been trying quiet hard in vain, without success.

Thanks and Regards,
-=Srijan Nandi
Old 08-10-2010, 08:46 PM   #2
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,276

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
Have you tried googling remaster CentOS? Seem to get a number of hits. Fedora has a program called revisor to do this type of thing though I'm not sure it is available or works w/CentOS? I don't use Red Hat or its derivatives so I have no experience with that but have done this with other distros.
Old 08-11-2010, 04:18 AM   #3
LQ Newbie
Registered: Jun 2009
Location: India
Distribution: CentOS
Posts: 15

Original Poster
Rep: Reputation: 0
Hi yancek,

Remastering would be to make rpm's of packages and then creating a live CD. However, what I need to accomplish is to get the entire configuration along with all the packages (as they are configured) to boot onto another machine. People should be able to download the ISO, Live Image or maybe a bootable USB and boot from there and would be able to get a pre-configured device with my settings.

This is similar to pre-configured firewall's, where in you just download it, boot from there and have a working environment with all pre-configured settings.

Sorry, I have not tried it out with any other distro apart from CentOS.

Thanks and Regards,
-=Srijan Nandi


bootable, image, iso

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make non bootable iso file and iso via linux command line?? npubudu Linux - Newbie 2 02-01-2009 11:31 PM
How to make a bootable ISO from an existing Linux image sawtode Linux - Newbie 3 05-13-2008 09:46 AM
How to make bootable ISO image of whole Linux installed? simber Linux - Newbie 4 11-17-2005 11:55 AM
How to make a Linux bootable cd from an ISO image using Nero? Godxilla2001 Linux - Newbie 6 10-28-2002 04:45 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration