Results 1 to 1 of 1
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 ...
- 11-03-2009 #1Just 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


Reply With Quote
