LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Thread Tools
Old 11-03-2009, 02:33 PM   #1
ceazar123
LQ Newbie
 
Registered: Jun 2009
Posts: 2
Thanked: 0
make a bootable iso cd of the currently running kernel (2.6.29)


[Log in to get rid of this advertisement]
Hi All,

I am new to posting in linuxquestions, 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.

What I have done so far is;

1. Made a isolinux folder that contains the following

[root@research isolinux]# ls
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

[root@research isolinux]# cd root/
[root@research 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 did a mkisofs using the following:

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


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 != 32768) 52428800 and then I get a Kernel Panic.

Thanks and Regards,
-=Srijan
windows_xp_2003 ceazar123 is offline     Reply With Quote
Old 11-03-2009, 03:08 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Lenny (x86)
Posts: 5,276
Thanked: 96
If you're going to install it on other machines, you might try using Clonezilla instead.
windows_xp_2003 pljvaldez is offline     Reply With Quote
Old 11-04-2009, 01:37 AM   #3
ceazar123
LQ Newbie
 
Registered: Jun 2009
Posts: 2
Thanked: 0

Original Poster
I suppose clonezilla would take the hard drive image, so I would only get the userland setup. I need to boot another machine with my custom kernel and settings.

Say suppose I have another machine, I need to install my kernel and keep all the setting on that as well.

Thanks and Regards,
-=Srijan
windows_xp_2003 ceazar123 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 Off
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-02-2009 12:31 AM
Trying to make a bootable iso from folder contents abecedarian Linux - Software 3 05-24-2008 05:46 AM
how to make iso bootable dvd? priyank123 Linux - Newbie 1 05-21-2008 04:19 PM
How to make a bootable .iso CD Gins Linux - General 4 09-14-2007 05:13 AM
How do you make an ISO bootable?? linuxhippy Slackware 3 05-01-2006 01:52 AM


All times are GMT -5. The time now is 02:09 AM.

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