Easy way to modify Knoppix?
Hello.
I'd like to put Knoppix on a rewritable CD so I'd be able to upgrade
(and even change it) without wasting the CD -- but the image is too
bug (700 Mb will fit on my CD-Rs, but not on my CD-RW disks).
So I thought I would mount the compressed image, chroot into it,
and use dpkg to change it... But since it's an iso9660 filesystem,
it cannot be mounted RW. So I tried this:
# Mount the Knoppix iso as downloaded, on dir "work":
sudo losetup /dev/loop0 `pwd`/KNOPPIX_V3.1-23-10-2002-EN.iso
sudo mount /dev/loop0 work
# Go to the cloop image inside "work/KNOPPIX", and mount
# it on /mnt/cloop
sudo modprobe cloop file=`pwd`/work/KNOPPIX/KNOPPIX
sudo mount -o r /dev/cloop /mnt/cloop
And then I try to copy the whole tree from /mnt/cloop to some directory
(./temp , for example), but the process usually goes to some point and
then stalls, waiting for IO (ps shows a "D" flag for it). I've tried
"cp -a" and "cp -dpRPv".
So... Is there an easy way to do what I'm trying to do? it'd be nice to
have a Debian-based-pocket-Linux-system! :-)
Thanks!
J.
--
Reply to: