-
creating the iso image...
It's been a long time since I was an active linux user and this is my first time using knoppix or creating a custom live cd. That said, I'm following the Remastering Howto (http://www.knoppix.net/wiki/Knoppix_Remastering_Howto) fairly well and everything seems to be working until I get to the point of creating the iso image.
I input this:
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
and I get the following:
genisoimage 1.1.10 (Linux)
genisoimage: MIssing boot image name, use -eltorito-boot option.
Now, according to the mkisofs man page, I'm using the -eltorito-boot option and the -o /mnt/hda1/knx/knoppix.iso should be the output filename, if I understand the man page correctly. I'm not entirely sure what the /mnt/hda1/knx/master path at the end is supposed to accomplish, though.
Any suggestions how I can make this correct?
-
Senior Member
registered user
Unable to pin point your problem because I hardly remaster a CDROM/DVD, even though I consistantly remaster my compressed image.
But allow me to say something I am pretty sure, isn't obvious the /mnt/hda1/knx/master path at the end is where the source of the data is ( ie your source files and directories for the new image ) ?
Regarding your actual problem of "genisoimage" complaints of missing boot image name, I would like to take a guess: perhaps the file 'boot/isolinux/isolinu.bin' is missing from '/mnt/hda1/knx/master'.
-
kl522, thanks. I actually figured out that the /mnt/hda1/knx/master was supposed to be the source after I posted the question. I'll check on the 'boot/isolinux/isolinux.bin' and see if it's there. Thank you, for your suggestion.
-
Well, the isolinux.bin file is in the appropriate location... anyone else have any suggestions?
Could I have something wrong with the command that I'm not seeing?
-
Senior Member
registered user
I tried the command you posted, I did not get any error. So I could only suspect when you type it or you cut-and-paste it into a file ( and execute the file ), there is something wrong with the resulted script ( eg newline not continued properly ).
-

Originally Posted by
frankp
Well, the isolinux.bin file is in the appropriate location... anyone else have any suggestions?
Could I have something wrong with the command that I'm not seeing?
The remastering tutorial that you linked to in the original message appears to be oriented towards an earlier version of Knoppix. I think the problem comes from relatively small changes in "location" of stuff - perhaps that'll trigger an insight from someone else on the board who used both versions and remastered.
Cheers!
Krishna
-
Senior Member
registered user
We are talking about the commands issued generating a specific error. So it has nothing to do with knoppix versions. As a matter of fact, you can manually create a few directories and copy a few files on to the relevant directories (including isolinux.bin ) and issue and commands, and such is what is needed to create a isoimage for any purposes not limited to knoppix only.
The tested result of mine gave no errors.
-
Fixed but still broken
Well I finally got the file to build but now when I boot from the iso I created, I get the following error:
Compressed KNOPPIX image is broken: /mnt-system/KNOPPIX/KNOPPIX on /dev/sr0 on /mnt-system type iso9660 (ro, relatime)
[ 2.097791] cloop: Initializing cloop v2.631
[ 2.100441] cloop: loaded (max 8 devices)
[ 2.395768] cloop: Read error 0 at pos 144 in file <NULL>, 3952 bytes lost
[ 2.385775] cloop: Bad file, read( ) of first 4096 bytes returned 144.
Could not mount /mnt-system/KNOPPIX/KNOPPIX. Starting debugging Shell...
-----------------------
I've used all three of the command versions listed in the remastering howto on pages 14 and 15 (section "KNOPPIX Compressed Image") with no luck so far.
It's definitely building a compressed image of some kind but I have no idea how to tell what needs to be fixed. Any suggestions?
-
Senior Member
registered user
It could be a bad burn ( very common) , if you have created sha1sum, you should do a 'knoppix testcd'.
Or it could be indeed a bad compressed image to start with. That's easy to determine too. You just cloop mount it first before you even attempt to make an ISO out of it :-
# losetup -r /dev/cloop1 KNOPPIX
# mkdir /tmp/tmp
# mount -t iso9660 /dev/cloop1 /tmp/tmp -o ro,loop
-
the losetup command gives me a "bad file descriptor" error...
ioctl: LOOP_SET_FD: Bad file descriptor
This happens when I run this command from the / directory. If I run it from anywhere else, I get KNOPPIX: No such file or directory
If I run losetup /dev/cloop1 I get the response
loop: can't get info on device /dev/cloop1: No such device or address
but I get valid responses from cloop and cloop0
Is the "bad file descriptor" some indication that the compressed image isn't good?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

Intel SPTSLP2SLCDE 100G-DR1 QSFP28 500m 1311nm Transceivers - Lot of 10 - New
$180.00

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$33.94

HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001
$14.90

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

Cisco WS-X6904-40G-2T 4-Port 40 Gigabit Ethernet Fiber Module
$299.00