PDA

View Full Version : WORKING INSTRUCTIONS



escherian
03-25-2003, 02:50 PM
These are garanteed to work with version of the last version of 3.1


Hard drive setup
2 Gig partition for swap /dev/hda1 ( activate it with: mkswap /dev/hda1 )
3 Gig partition for "source" development /dev/hda2
rest of drive for master directory /dev/hda3 ( format them with : mke2fs /dev/hda2 and mke2fs /dev/hda3 )

1. Boot with Knoppix CD. Open Root shell. (all commands below are run from
a Root shell)
2. mkdir /mnt/source
3. mount /dev/hda2 /mnt/source
4. mkdir /mnt/master
5. mount /dev/hda3 /mnt/master
5bis. mkdir /mnt/source/KNOPPIX
6. cp -Rp /KNOPPIX/* /mnt/source/KNOPPIX/
7. cp -Rp /cdrom/* /mnt/master/
8. rm /mnt/master/KNOPPIX/KNOPPIX
9. rm /mnt/master/KNOPPIX/boot.cat
10. chroot /mnt/source/KNOPPIX/ (to add other applications) If you want
to use apt, or the internet while chrooted you need to follow steps 10-2 and
10-3
10-2. mount -t proc /proc proc (this is so things like ifconfig
work)
10-3. edit /etc/resolve.conf to add a name server. ( This should
not be necessary if your DHCP server handles the DNS addressing)

11. deborphan > orfans
11bis. dpkg -P `cat orfans`
11tris. rm orfans

12. Once all the changes are made run the following:
mkisofs -R -l -V "KNOPPIX iso9660 filesystem" -hide-rr-moved -v
/mnt/source/KNOPPIX | create_compressed_fs - 65536 >
/mnt/master/KNOPPIX/KNOPPIX

12.bis mount /dev/hda3

13. After this you are ready to make the final iso image so run the
following:
mkisofs -l -r -J -V "KNOPPIX-your_name" -hide-rr-moved -v -b
KNOPPIX/boot-en.img -c KNOPPIX/boot.cat -o /mnt/hda3/knoppix-cd.iso
/mnt/master

14. Finally burn the iso image you will find in /dev/hda3.
Use a 700MB CD.


p.s. for KnoppixKde , before making the ISO --> cp -Rp /mnt/master/isolinux/knoppix-orig-boot.img /mnt/master/KNOPPIX/


Thanks to Steve McConnell @ Satlug.org


Marco Ghirlanda

www.marcoghirlanda.com
www.vrmmp.it
www.opensourcelab.it

escherian
03-25-2003, 10:55 PM
http://hydra.hq.linuxtag.net/~kester/knoppix-customize/ANNOUNCE.txt

is a VERY important link to change language, boot message and logo.

Use a ISO viewer to change backgrounds and html files and add wathever you want ( just create your index.html page )

Ciao

MichielioZ
04-05-2003, 01:11 AM
The idea is offcourse great, but I believe you can just click on the

http://www.knoppix.net/docs/index.php/KnoppixRemasteringHowto

to get the idea how it works...
As you can see here, you don't really need 3 partitions to remaster, 1 larger Native Linux partition will do...
(probably easier for a lot of people...)

Good luck with remastering !