Forum: EasyBoot Topic: How to put two of knoppix alike in one cd? started by: Amily Posted by Amily on Aug. 23 2005,10:53
hi:how to put two knoppix alike in one cd if the two has folder called isolinux? Thanks Posted by shakko on Aug. 25 2005,16:21
I found a way using cdshell and EasyBoot.It involves hexing some files as usual. The Method I will write soon... There is hope. Posted by Amily on Aug. 26 2005,02:33
Thanks, and i'll wait your suggestion
Posted by shakko on Aug. 26 2005,16:00
I was able to put multiple Knoppix based Linux distributionson one CD using: EasyBoot Ultraiso CDshell a Hex editor Winimage and cdimage.exe. Make a menu using EasyBoot as usual. one option for KNOPPIX 3.9 with this in the Command section "run knoppix.bin" another option for DAMM SMALL LINUX with this in the Command section "run dslinux.bin" for example Create the Project Structure like this: C:\disk1 -disk1 (project root) |-ezboot |-knoppix.bin (2k in size) KNOPPIX loader, loader.bin renamed taken from the cdshell download. |-dslinux.bin (2k in size) DAMM SMALL LINUX loader, loader.bin renamed taken from the cdshell download. |-(the other ezboot files) |-knp1 |-modules (folder and all its contents, also include this file, < BCDW.CSM >) |-cdsh.bin (taken from the cdshell download.) |-cdshell.ini (taken from the cdshell download, details below.) |-knoppix.ima (the Knoppix boot image, details below) |-dsl1 |-modules (folder and all its contents also include this file, BCDW.CSM) |-cdsh.bin (taken from the cdshell download.) |-cdshell.ini (taken from the cdshell download, details below.) |-dslinux.ima (the DAMM Small Linux boot image, details below) |-DSLINUX (full extract of the KNOPPIX folder from original iso and renamed) |-KNPX (full extract of the KNOPPIX folder from original iso and renamed) Here are some details about the files that need to be modified. The Loaders: The loaders need to be Hex Edited. (Note: To Hex Edit files you may use EasyBoot>Tools>Replace Text…) The knoppix.bin (2k in size), replace the text boot with knp1 The dslinux.bin (2k in size), replace the text boot with dsl1 cdshell.ini: The contents of the "cdshell.ini" inside the "knp1" folder is this:
Get this empty image file The contents of the "cdshell.ini" inside the "dsl1" folder is this:
Get this empty image file < Here knoppix.rar > The image files Now these image files need to be filled (using Winimage) with the files inside the "isolinux" folder of the Knoppix based Linux, except: isolinux.bin The syslinux.cfg file: The file "isolinux.cfg" needs to be renamed to "syslinux.cfg", it also needs to be text edited to include this code: knoppix_dir=KNPX in the KNOPPIX Linux "syslinux.cfg" knoppix_dir=DSLINUX in the DAMM SMALL LINUX "syslinux.cfg" at the end of each label in the "syslinux.cfg" file for each Linux. for example in the KNOPPIX Linux "syslinux.cfg": LABEL knoppix KERNEL linux APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix knoppix_dir=KNPX After editing the file inject it into the boot image of the Linux it belongs to. Build your iso with cdimage.exe with this batch code:
Let us know how it went. Posted by Amily on Aug. 29 2005,09:42
Thanks a lot , I'll try to make this procedure this night and tell u. thaks again for your corporation
Posted by breezy on Aug. 30 2005,13:27
shakko,What would be the procedure to put only DSL (#### Small Linux) and no other knoppix? Ive built a cd with minipe, bart, and now want to add DSL. thanks Posted by shakko on Aug. 30 2005,14:45
breezy,Make a menu using EasyBoot as usual. one option for DAMM SMALL LINUX with this in the Command section "run dslinux.bin" Create the Project Structure like this: C:\disk1 -disk1 (project root) |-ezboot |-dslinux.bin (2k in size) DAMM SMALL LINUX loader, loader.bin renamed taken from the cdshell download. |-(the other ezboot files) |-boot |-modules (folder and all its contents, also include this file, < BCDW.CSM >) (taken from the cdshell download.) |-cdsh.bin (taken from the cdshell download.) |-cdshell.ini (taken from the cdshell download, details below.) |-dslinux.ima (the DAMM Small Linux boot image, details below) |-KNOPPIX (full extract of the KNOPPIX folder from original iso) |-(your other files and folders) The Loader: The dslinux.bin (2k in size) loader.bin renamed taken from the cdshell download. cdshell.ini: The contents of the "cdshell.ini" inside the "boot" folder is this:
Get this empty image file < Here knoppix.rar > Extract the image from the archive and rename it to dslinux.ima The image file dslinux.ima Now this image file needs to be filled (using Winimage) with the files inside the "isolinux" folder of the DAMM SMALL LINUX iso, except: isolinux.bin The syslinux.cfg file: The file "isolinux.cfg" needs to be renamed to "syslinux.cfg", inject it into the boot image dslinux.ima or just rename it inside Winimage. Build your iso with cdimage.exe with this batch code:
This works for me so I keep using it. Let us know how it went. (My original post slightly modified for your case) Posted by breezy on Aug. 30 2005,14:55
Thank you! Ill try it later and let you know.thanks again Posted by breezy on Aug. 30 2005,18:28
Im home now and tried per your instructions. It goes to cdshell 2.1 and says "Boot failed: please change disks and press a key to continue." in Virtual PC.Im using DSL 1.4 if that make any difference. help please. Posted by shakko on Aug. 31 2005,10:29
breeze,Did u take the file isolinux.bin out of the dslinux.ima? And did u include the file BCDW.CSM inside the \boot\modules\ folder? Also check the text in the file cdshell.ini make sure it is as I said above. That has to be done for this method to work. later... Posted by breezy on Aug. 31 2005,23:08
I tried from scratch with only 1 menu item "DSL". And after several tries nothing. But then I downloaded another copy of cdimage.exe and everything works fine now. I have no idea what could've happened but oh well.THANKS ALOT for your time and effort! P.S. For the hard drive install feature to work, the isolinux folder needs to be added also, to the boot dir. Posted by TomSilver on Feb. 09 2006,11:33
Hello, I have tried your method (with some modified names) but it doesn't work.I get this error: Error booting from CD/DVD drive. On the bottom of the screen I see some kind of loading bar, that didn't make it halfway. I had another problem, one with the .ima file. I had to use a custom image format (I made it 18 megs) as a have knoppix dvd version, and I could not fit all files in the isolinux dir in the .ima file... Can you please help? ![]() Posted by TomSilver on Feb. 09 2006,15:12
I now tried it without including all files in the .imaI only included the ones of which I thought were necessary. I got that error again. It doesn't say it's already knoppix, so probably it's CDShell giving the error. Can anybody please help? *before you start about it: the dirs I renamed, I'm quite sure they're right* Can it be some fs problem or something? Posted by alian on Nov. 26 2006,02:21
Hi All,QUOTE Code Sample bcdw boot \knp1\knoppix.ima Get this empty image file The contents of the "cdshell.ini" inside the "dsl1" folder is this: Code Sample bcdw boot \dsl1\dslinux.ima Where can I ask the "knoppix.ima" and "dslinux.ima" for the download? Or how can I make this? Thanks |