PDA

View Full Version : problem making final ISO



linux203
05-20-2004, 02:38 AM
I am trying to remaster Knoppix 3.4.

I have built the big ISO and am trying to make the final ISO per http://www.knoppix.net/docs/index.php/KnoppixRemasteringHowto.

Here is the command I am using...

mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o /mnt/hdd1/knx/knoppix.iso /mnt/hdd1/knx/master

I get the error:


mkisofs: Uh oh, I cant find the boot catalog directory 'boot/isolinux'

my current working directory is /mnt/hdd1/knx/master/

Any suggestions?

techfreak
05-20-2004, 03:03 AM
I have the same problem as linux203. Everything goes well until I try to make the final iso image. I noticed the the boot files are on the cd so I changed the path for the isolinux.bin / boot.cat to point to the cd when trying to make the ISO and same thing hapens " Uh, oh, I can't find the boot catalog directory ". any help would be appreciated. If someone wrights a how to and it doesnt work than it's useless. Hope u guys can help.

techfreak
05-20-2004, 04:31 AM
Found the problem and here is the fix :roll: When creating Knoppix 3.4 custom cd, during the iso creation of the compressed image you might get the message "Uh oh, I cant find the boot catalog directory 'boot/isolinux'!" . Here is why: Who ever wrote the instruction for "Knoppix Remastering Howto" were thinking of the older version probably so when you create the new 3.4 version you have to watch out for the line that ( cd /cdrom/KNOPPIX;find . -size -10000k -type f -exec cp -p --parents {} /mnt/hda1/knx/master/KNOPPIX/ \; ). The reason is I think in the old version the boot files are in that directory but not in the new version, (don't actually know as I didn't download the old version). This is a fix for Knoppix 3.4 version. We need to copy the boot files from the cd to the /mnt/hda1/knx/source/KNOPPIX directorey.

So here is the fix for 3.4.

1. Open the console and change to root "su" command.
2. mkdir /mnt/hda1/knx/source/KNOPPIX/boot
3. mkdir /mnt/hda1/knx/source/KNOPPIX/boot/isolinux
4. cp /cdrom/boot/isolinux/* /mnt/hda1/knx/source/KNOPPIX/boot/isolinux
5. Make the iso cd by initiating the command below again.

mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o /mnt/hda1/knx/knoppix.iso /mnt/hda1/knx/master

Now you should see your cd being created :shock:

aay
05-20-2004, 06:27 AM
Found the problem and here is the fix :roll: When creating Knoppix 4.3 custom cd, during the iso creation of the compressed image you might get the message "Uh oh, I cant find the boot catalog directory 'boot/isolinux'!" . Here is why: Who ever wrote the instruction for "Knoppix Remastering Howto" were thinking of the older version probably so when you create the new 4.3 version you have to watch out for the line that ( cd /cdrom/KNOPPIX;find . -size -10000k -type f -exec cp -p --parents {} /mnt/hda1/knx/master/KNOPPIX/ \; ). The reason is I think in the old version the boot files are in that directory but not in the new version, (don't actually know as I didn't download the old version). This is a fix for Knoppix 4.3 version. We need to copy the boot files from the cd to the /mnt/hda1/knx/source/KNOPPIX directorey.

So here is the fix for 4.3.

1. Open the console and change to root "su" command.
2. mkdir /mnt/hda1/knx/source/KNOPPIX/boot
3. mkdir /mnt/hda1/knx/source/KNOPPIX/boot/isolinux
4. cp /cdrom/boot/isolinux/* /mnt/hda1/knx/source/KNOPPIX/boot/isolinux
5. Make the iso cd by initiating the command below again.

mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o /mnt/hda1/knx/knoppix.iso /mnt/hda1/knx/master

Now you should see your cd being created :shock:

If this is indeed a valid issue when it comes to remastering 3.4, then it needs to be added to the Wiki. Go ahead and do that if you haven't already.

techfreak
05-20-2004, 07:09 AM
OK, give me a day or 2 and I will also post a sh script that remasters the CD. In, addition as you can see I'm kind of new to this site so I looked at wiki and it seems I can edit the Wiki docs so do you want me to edit the Knoppix Remastering Howto document in the Docs section and make some corrections?

pau1knopp
05-28-2004, 11:57 AM
I have followed the steps suggested (i.e. copy the contents of /boot/isolinux to the directory tree for source) for correcting this error (Uh oh, I cant find the boot catalog directory 'boot/isolinux) and I am still having the same issue.

One odd thing is that I don't have a /boot/isolinux directory when I run my live CD version of KNOPPIX. However, even if I point it towards the cdrom (cdrom/boot/isolinux) I still get the same error.

Any suggestions greatly appreciated. Mostly I love the upgrade to 3.4, but this is a real show stopper for me right now.

Regards to the group,

~pau1

techfreak
05-28-2004, 06:21 PM
Pointing it to the cdrom will not work you have to copy it to the remaster folder. I have corrected this in the WIKI docs on the main page. So make sure you do this :

(For Knoppix 3.4), copy everything in /cdrom/ to /mnt/hda1/knx/master/KNOPPIX/ except the ~700 Mb KNOPPIX file. ( cd /cdrom;find . -size -10000k -type f -exec cp -p --parents {} /mnt/hda1/knx/master/KNOPPIX/ \; )

jwsobeck
05-28-2004, 11:52 PM
I went through the steps you provided, but the command you gave above where you copy all of the files from /cdrom to the master/KNOPPIX directory creates a problem later. When you do the copy, it also copies over a directory named KNOPPIX.


Later, when you run the first msisofs command, you attempt to create a file named KNOPPIX in the master/KNOPPIX directory. This fails because of the existing directory.


Any suggestions as to how to change it? All I did was put the KNOPPIX file into master/KNOPPIX/KNOPPIX/


I created the iso with the next mkisofs command, but I have yet to test it out.

-Jimmy

jomamma
05-30-2004, 02:39 AM
The howto is great, and is accurate, AFAIK, except for when you're building the master directory; Where it says:


(For Knoppix 3.4), copy everything in /cdrom/ to /mnt/hda1/knx/master/KNOPPIX/ except the ~700 Mb KNOPPIX file. ( cd /cdrom;find . -size -10000k -type f -exec cp -p --parents {} /mnt/hda1/knx/master/KNOPPIX/ \; )

I got it to work by substituting this:

(For Knoppix 3.4), copy everything in /cdrom/ to /mnt/hda1/knx/master/KNOPPIX/ except the ~700 Mb KNOPPIX file. ( cd /cdrom;find . -size -10000k -type f -exec cp -p --parents {} /mnt/hda1/knx/master/ \; )

everything else seemed to work fine, and my remastered cd booted. Hope this helps.

mustang
05-30-2004, 03:02 PM
Followed the same procedure both master and source trees have boot/isolinux/ from the CD but when booting CD, it says could not find kernel image: linux again.

darrellc
06-02-2004, 01:21 AM
I am having similar problems as described in this thread. What confuses me is whether or not to execute both of these commands or just the one for 3.4?

* now, copy everything in /cdrom/KNOPPIX/ to /mnt/hda1/knx/master/KNOPPIX/ except the ~700 Mb KNOPPIX file. ( cd /cdrom/KNOPPIX;find . -size -10000k -type f -exec cp -p --parents {} /mnt/hda1/knx/master/KNOPPIX/ \; )

* (For Knoppix 3.4), copy everything in /cdrom/ to /mnt/hda1/knx/master/KNOPPIX/ except the ~700 Mb KNOPPIX file. ( cd /cdrom;find . -size -10000k -type f -exec cp -p --parents {} /mnt/hda1/knx/master/KNOPPIX/ \; )

My natural inclination is to just try the Knoppix 3.4 specific line.

Guess I'll try it both ways and see which way works! If anyone can enlighten me it could save me a little trial and error.

Thanks,

jomamma
06-02-2004, 02:18 AM
I believe it's an or, not an and. I was able to create a 3.4 remaster that way.

techfreak
06-02-2004, 07:06 AM
GUYS GUYS GUYS.....or GALS... whatever, it is an OR ! Like it states (For Knoppix 3.4 Do this NOT BOTH! If you have an older version than Knoppix 3.4 than use the first command ....Have fun and good luck :lol: