Linux - GeneralThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a running CentOS (kernel version 188.8.131.52). 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.
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.
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.