LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-03-2009, 01:33 PM   #1
ceazar123
LQ Newbie
 
Registered: Jun 2009
Location: India
Distribution: CentOS
Posts: 15

Rep: Reputation: 0
make a bootable iso cd of the currently running kernel (2.6.29)


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
 
Old 11-03-2009, 02:08 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 264Reputation: 264Reputation: 264
If you're going to install it on other machines, you might try using Clonezilla instead.
 
Old 11-04-2009, 12:37 AM   #3
ceazar123
LQ Newbie
 
Registered: Jun 2009
Location: India
Distribution: CentOS
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
  


Reply


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


All times are GMT -5. The time now is 11:43 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration