-
Ok, this way solution becomes even quicker and dirtier. 
The new minirt26.gz is here: ftp://belyi.ac93.org/pub/KNOPPIX/new-minirt26.gz
It has new linuxrc with the following difference: ftp://belyi.ac93.org/pub/KNOPPIX/linuxrc-append.patch and an utility to check if CD/DVD contains more than one filesystem: ftp://belyi.ac93.org/pub/KNOPPIX/fssize.c
You prepare new ISO image from the old one as following (using zsh):
1. Mount the old image
mount -o loop KNOPPIX-3.7.iso /mnt/src
2. Create filesystem containing compressed KNOPPIX. It looks like 0.25% extra for file system overhead should be enough.
size=$(du -ks /mnt/src/KNOPPIX)
size=$((($size + $size/400)/1024))
dd if=/dev/zero of=KNOPPIX-suffix.iso bs=1M count=$size
mke2fs -F -m 0 -T largefile4 KNOPPIX-suffix.iso
mount -o loop KNOPPIX-suffix.iso /mnt/root
rsync -a --exclude boot /mnt/src/ /mnt/root
umount /mnt/root
3. Create a bootable image in ISO without big compressed KNOPPIX file.
rsync -a --exclude=KNOPPIX/KNOPPIX /mnt/src/ newimage
cp new-minirt26.gz newimage/boot/isolinux/minirt26.gz
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 KNOPPIX-prefix.iso newimage
4. Concatenate them and burn the result image on CD.
cat KNOPPIX-prefix.iso KNOPPIX-suffix.iso > KNOPPIX-full.iso
Note1: You don't have to copy text files in both prefix and suffix images but you would want to modify linuxrc even more to find them in the other part of the image.
Note2: when cloop is taught to read from a block device instead of a file the solution will be much cleaner - suffix image won't need to have filesystem overhead, plus you would be able to avoid using driver mapper altogether which will make the solution portable for Linux 2.4 as well.
Cheers,
Igor
Similar Threads
-
By foamrotreturns in forum The Lounge
Replies: 0
Last Post: 12-08-2005, 05:11 AM
-
By IsaacKuo in forum The Lounge
Replies: 2
Last Post: 07-11-2004, 04:51 PM
-
By Dave_Bechtel in forum Knoppix DVD
Replies: 23
Last Post: 05-16-2004, 12:04 AM
-
By Rachel Sykes in forum Customising & Remastering
Replies: 4
Last Post: 02-16-2004, 02:11 PM
-
By ceejay187 in forum The Lounge
Replies: 0
Last Post: 02-10-2004, 09:14 PM
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

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700
$289.99

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99

Dell PowerEdge R640 10SFF 2x Gold 6140 2.3GHz 36-Cores 64gb H730p 2x Trays
$599.99

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD
$119.99