Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > Create an ISO image of the currently running kernel

Forgot Password?
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 2 Weeks Ago   #1 (permalink)
Just Joined!
 
Join Date: Nov 2009
Location: India
Posts: 1
Create an ISO image of the currently running kernel

Hi All,

I am new to posting in linux forum, so I am not sure whether I am posting my query at the right forum or not.

Actually I have a currently running kernel of 2.6.29 which I have customized. It is running well. Now i need to make an iso image of the same using isolinux. Also, I am running it on VMware Server. So I need to make a bootable iso image of the same, so that I can install it on other machines.

I am running RHEL5 on VMWare Server.

What I have done so far is;

1. Made a isolinux folder that contains the following

initrd isolinux.bin isolinux.cfg root vmlinuz

These are the files that I copied from the existing machine.

2. The I have copied all the files in the /root directory

cd root/
ls
bin boot dev etc home include lib libexec lost+found mnt opt proc root sbin sys tmp usr var

3. I have also changed the isolinux.cfg file to the following:

DEFAULT linux
LABEL linux
KERNEL vmlinuz
APPEND initrd=initrd root=????

Not sure what to put in here. Even not sure if i have done everything right.

4. Then i made a bootable iso image using:

mkisofs -o ../boot-cd.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ./

Also not sure if the -boot-load-size would be 4, as the actual size of the /isolinux directory is 2.1 Gb

When I boot up another machine, it boots up with errors of Kernel Panic.
RAMDISK: Compressed image found at block 0 RAMDISK: incomplete write (-28 != 3276 52428800

Thanks and Regards,
-=Srijan
Srijan is offline  


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:27 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2