Other Help Topics :: Extracting the KNOPPIX file



Hello DSL people!!! I finally decided to stick with DSL and I have learned quite a bit over the last few weeks/on-off years. I was wondering. What type of file is the KNOPPIX file located in the /knoppix/ folder on the CD?? I kinda of ran in to a problem with my PCMCIA modules that I won't get into..... and would like to extract a few things from the image. You have no Idea what I have to go through installing Operating systems with this laptop. Damn superSlim VAIO's  :laugh: .I am now the boot record GOD!!! anyways, I would like to mount the filesystem/structure that is used when booting DSL from cd. Ya know like under /mnt/knoppix. I've tried extracting it as a tar.gz/bz2. I also tried mounting KNOPPIX as an iso9660 with no luck. Any pointers anyone???
I believe,

Code Sample

mount /dev/cdrom /mnt/cdrom
mkdir /mnt/knoppix
mount -o loop /mnt/cdrom/KNOPPIX/KNOPPIX /mnt/knoppix


Should allow you to see the file struct.

If you want to add things, or change things around without using the save/restore or myDSL (?) you have to "remaster" the CD.

Either the howto's, or google for "remastering knoppix".  I saw a book at Barnes and Noble called, "Knoppix Hacks" by O'Rielly that has a chaper dedicated to remastering, it is explained very well in there.

--Michelle

Thanks for the reply, unfortuneately I had left out the fact that most SuperSlim Vaio laptops do not have built-in cdroms hence the boot record GOD. They are located in the docking station which I don't have. In order to install WinXP I have to plug my harddrive in my tower as (/dev/hda) so I can write to the boot record/make a fat32 partition...etc. With linux installs its similar via the loadlin. Its just a pain having to pull the caddy out as its under my touchpad and the screws are wearing away :D .  I've tried mounting it like "mount -o loop -t iso9660 /akuma/KNOPPIX /mnt/knoppix" with no luck. I just don't understand. I figure its either an image or a compressed file?
I have used "extract_compressed_fs" to get at the file structure.
I think it was "extract_compressed_fs KNOPPIX> temp.iso, then mount the iso.

It has been a while, so could be wrong, I've noticed there is'nt a lot of info on it.

roadie

Try
mount -o /dev/cloop -t iso9660 /akuma/KNOPPIX /mnt/knoppix

If that doesn't work, try "cloop1" in place of "cloop".

FYI, the KNOPPIX file is (was) originally generated by piping the output of mkisofs into create_compressed_fs.

Next Page...
original here.