Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Modifying the KNOPPIX image

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Other Help Topics
View previous topic :: View next topic  
Author Message
mjs



Joined: 29 Nov 2006
Posts: 4

PostPosted: Thu Nov 30, 2006 1:19 am    Post subject: Modifying the KNOPPIX image Reply with quote

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
View user's profile Send private message
Juanito



Joined: 11 Sep 2006
Posts: 88
Location: Dubai, U.A.E.

PostPosted: Thu Nov 30, 2006 5:04 am    Post subject: Try this Reply with quote

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
View user's profile Send private message
piggyg1



Joined: 13 Dec 2006
Posts: 1

PostPosted: Wed Dec 13, 2006 6:21 pm    Post subject: mounting of KNOPPIX does not work Reply with quote

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
View user's profile Send private message
Juanito



Joined: 11 Sep 2006
Posts: 88
Location: Dubai, U.A.E.

PostPosted: Thu Dec 14, 2006 4:38 am    Post subject: Works for me Reply with quote

I can't speak for Fedora Core 5 but this line works in both DSL-N and DSL...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Other Help Topics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group