Remastering Knoppix

This is a discussion on Remastering Knoppix within the Linux General forums, part of the Linux Forums category; Hi, I've downloaded Knoppix 3.2 (2003-06-06) and think it's great. But I want to change ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-28-2003
rihad
 
Posts: n/a
Default Remastering Knoppix

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.

Many thanks.

Reply With Quote
  #2 (permalink)  
Old 06-28-2003
Byron A Jeff
 
Posts: n/a
Default Re: Remastering Knoppix

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
Reply With Quote
  #3 (permalink)  
Old 06-28-2003
Gerhard W. Gruber
 
Posts: n/a
Default Re: Remastering Knoppix

On Sat, 28 Jun 2003 19:28:46 +0500 wrote rihad <rihad@mail.ru> in
comp.os.linux.misc with <va9rfv0mrvtvisgi3ibc5ht614a6bfldts@4ax.com>

>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?


You can always mount the iso as a loopback device. I once tried to add things
this way to the ISO and it worked, but it is said that you shouldn't do it
that way. Of course this way you can copy it to a normal file system and
change it and then create a new iso with mkisofs.

To mount in loopback use
mount -t iso9660 -o ro,loop=dev/loop0 Your_Image /YourMountpoint.

Of course if you want to change something then ommit the ro of course.

--
Gerhard Gruber

Für jedes menschliche Problem gibt es immer eine einfache Lösung:
Klar, einleuchtend und falsch. (Henry Louis Mencken)
Reply With Quote
  #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
  #5 (permalink)  
Old 06-29-2003
mjt
 
Posts: n/a
Default Re: Remastering Knoppix

rihad 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?


http://www.knoppix.net/, enter "remaster" in the search field

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
Michael J. Tobler: motorcyclist, surfer, # Black holes result
skydiver, and author: "Inside Linux", # when God divides the
"C++ HowTo", "C++ Unleashed" # universe by zero

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:12 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0