JimmyJazz
06-30-2006, 01:41 PM
For a Lab course at the university, I had to implement a KNOPPIX remaster script.
It worked both on my desktop machine and on my notebook.
OS was in both cases Ubuntu (5.10 and 6.06).
All Software Requirements were available via APT-GET...
It is based on the script of Fabian Franz and Ian Naylor.
It was implemented for KNOPPIX 4.0.2 but it also works on KNOPPIX 5.0.1
You can download it here:
http://medphys.me.funpic.de/KNOPPIX-Remaster.tar
Here are my instructions:
Software Requirements
----------------------
:.. BASH (The GNU Bourne Again SHell)
:.. Xdialog (Displays user-friendly dialog boxes from shell scripts)
:.. mkisofs
:.. cloop-utils
Hardware Requirements
----------------------
:.. ~ 3 GB of free disk space (ext2 or ext3)
Manual
----------------------
0 Execute the BaSh script as root
-> sudo bash /path/to/remaster.sh
1 Extract compressed file system to hard disk
1.a) Extract an existing ISO file
Choose path to file and your desired path to the remaster.
1.b) Extract file system from CD
Choose the path to the CDROM (e.g. /media/cdrom) and your desired path to the remaster.
1.c) Choose existing remaster
This folder should contain a source and master folder.
The source folder contains the extracted uncompressed file system
The master folder contains the "new CDROM", i.e. the compressed KNOPPIX file and the boot files
1.d) Quit the program
2 Manipulate file system
2.a) Chroot into remaster and get a terminal prompt to modify source (be sure that resolv.conf is located in /etc).
You can also copy some extra files by hand to the master directory.
If you are behind a proxy server you have to add it here.
2.b) Create compressed file system of your source files and copy to master folder
2.c) Create ISO file of your master directory
2.d) Delete the folder you selected in 1) (mostly the one in 1.c)
2.e) Quit the program
It worked both on my desktop machine and on my notebook.
OS was in both cases Ubuntu (5.10 and 6.06).
All Software Requirements were available via APT-GET...
It is based on the script of Fabian Franz and Ian Naylor.
It was implemented for KNOPPIX 4.0.2 but it also works on KNOPPIX 5.0.1
You can download it here:
http://medphys.me.funpic.de/KNOPPIX-Remaster.tar
Here are my instructions:
Software Requirements
----------------------
:.. BASH (The GNU Bourne Again SHell)
:.. Xdialog (Displays user-friendly dialog boxes from shell scripts)
:.. mkisofs
:.. cloop-utils
Hardware Requirements
----------------------
:.. ~ 3 GB of free disk space (ext2 or ext3)
Manual
----------------------
0 Execute the BaSh script as root
-> sudo bash /path/to/remaster.sh
1 Extract compressed file system to hard disk
1.a) Extract an existing ISO file
Choose path to file and your desired path to the remaster.
1.b) Extract file system from CD
Choose the path to the CDROM (e.g. /media/cdrom) and your desired path to the remaster.
1.c) Choose existing remaster
This folder should contain a source and master folder.
The source folder contains the extracted uncompressed file system
The master folder contains the "new CDROM", i.e. the compressed KNOPPIX file and the boot files
1.d) Quit the program
2 Manipulate file system
2.a) Chroot into remaster and get a terminal prompt to modify source (be sure that resolv.conf is located in /etc).
You can also copy some extra files by hand to the master directory.
If you are behind a proxy server you have to add it here.
2.b) Create compressed file system of your source files and copy to master folder
2.c) Create ISO file of your master directory
2.d) Delete the folder you selected in 1) (mostly the one in 1.c)
2.e) Quit the program