View previous topic :: View next topic |
Author |
Message |
mjs
Joined: 29 Nov 2006 Posts: 4
|
Posted: Thu Nov 30, 2006 1:19 am Post subject: Modifying the KNOPPIX image |
|
|
I have searched around on the net and tried to determine how to uncompress the KNOPPIX file for the DSL-N distribution so that I can modify it's contents, but the only way I have found thus far requires booting to the cd and then creating the image. Is it possible to modify the contents without booting to the cd? I have tried mounting it like you mount a ramdisk image using -o loop, but it doesn't work. Ideally, I would like to run a command to uncompress it, then make my changes, then recompress it.
Thanks,
mjs |
|
Back to top |
|
|
Juanito
Joined: 11 Sep 2006 Posts: 88 Location: Dubai, U.A.E.
|
Posted: Thu Nov 30, 2006 5:04 am Post subject: Try this |
|
|
Try this:
Uncompress the DSL-N *.iso and 'unpack" the knoppix image
# mkdir /ramdisk/image
# mount /path-to-file/dsl-n-01RC4.iso /ramdisk/image -t iso9660 -o loop,ro
# mkdir /ramdisk/unpack
# mount /ramdisk/image/KNOPPIX/KNOPPIX /ramdisk/unpack -t iso9660 -o ro,loop=/dev/cloop50
Prepare a place to put the files for the re-mastered knoppix image
# mkdir /ramdisk/source
# mkdir /ramdisk/newcd
# mkdir /ramdisk/newcd/KNOPPIX
# cp -Rp /ramdisk/unpack/* /ramdisk/source
# cp -Rp /ramdisk/unpack/.bash_profile /ramdisk/source
Copy additional files to be added to the new knoppix image
# cp /path-to-file/file /ramdisk/source/path-to-file/file
# etc etc
"Pack" the new knoppix image
# mkisofs -R /ramdisk/source | create_compressed_fs - 65536 > ramdisk/newcd/KNOPPIX/KNOPPIX |
|
Back to top |
|
|
piggyg1
Joined: 13 Dec 2006 Posts: 1
|
Posted: Wed Dec 13, 2006 6:21 pm Post subject: mounting of KNOPPIX does not work |
|
|
Hi! I tried following the instruction on how to mount the KNOPPIX image and I run into a problem.
I am stuck at the line
mount /ramdisk/image/KNOPPIX/KNOPPIX /ramdisk/unpack -t iso9660 -o ro,loop=/dev/cloop50
and I get the error message
/dev/cloop50: No such file or directory.
I am trying to mount this on Fedora Core 5. Do you know where I can go to go get the cloop50 ? |
|
Back to top |
|
|
Juanito
Joined: 11 Sep 2006 Posts: 88 Location: Dubai, U.A.E.
|
Posted: Thu Dec 14, 2006 4:38 am Post subject: Works for me |
|
|
I can't speak for Fedora Core 5 but this line works in both DSL-N and DSL... |
|
Back to top |
|
|
|