|
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
|