View Single Post

  #4 (permalink)  
Old 06-28-2003
Gary Desrosiers
 
Posts: n/a
Default Re: Remastering Knoppix

Byron A Jeff wrote:

> In article <va9rfv0mrvtvisgi3ibc5ht614a6bfldts@4ax.com>,
> rihad <rihad@mail.ru> wrote:
> >Hi, I've downloaded Knoppix 3.2 (2003-06-06) and think it's great. But
> >I want to change a couple of things in the ISO before burning it on
> >CD. Say, make "knoppix lang=en" the default, or add "export LESS=-F"
> >to /etc/profile. How would I go about it?
> >
> >P.S.: I'm learning Linux, but am not very experienced.

>
> Google is your friend. 2nd hit:
>
> http://www.knoppix.net/docs/index.ph...masteringHowto
>
> BAJ


Wow, that site is really stupid (dangerous).

To muck with the contents of knoppix...

1) Get the knoppix iso.
2) mount -o loop knoppix.iso /mnt/knoppix
3) download and install cloop if you don't have it from
http://www.knopper.net/knoppix/sources/
make sure to follow the README exactly.
4) cd /mnt/knoppix/KNOPPIX
5) ./KNOPPIX /mnt/knoppix-root
5a) Commentary...
The KNOPPIX file is an executable with a script
prefix that looks like:
#!/bin/sh
insmod cloop.o file=$0 && mount -r -t iso9660 /dev/cloop $1
exit $?
Executing it mounts it with the arg as the mountpoint and cloop as the
device driver.

Now you can do what you will to the knoppix root filesystem mounted in
/mnt/knoppix-root.

Gary.

Reply With Quote