<--iNT13-->
Group: Members
Posts: 10
Joined: June 2004 |
|
Posted: Aug. 01 2004,01:47 |
|
"mount -o loop whatever" Here's some examples, change the directory names where appropriate
Create the compressed file:-
mkisofs -R -L /mnt/hda2 | create_compressed_fs - 65536 > /mnt/hda1/custom/KNOPPIX_CD/KNOPPIX/KNOPPIX go plant cofee beans, come back when beans are harvested, roasted, ground and made into coffee drink coffee
Make the iso:-
cd /mnt/hda1/custom mkisofs -J -T -v ir -c KNOPPIX/boot.cat -b KNOPPIX/boot.img -o knoppix_custom.iso KNOPPIX_CD
Burn the iso:-
cdrecord -v dev=0,0 knoppix_custom.iso (or similar to burn the image to cd)
To create a boot screen:-
mkdir /mnt/hda1/custom/bootscreen mkdir /mnt/hda1/custom/bootscreen/unpacked cd /mnt/hda1/custom/bootscreen cp /mnt/hda1/custom/KNOPPIX_CD/KNOPPIX/boot.img mount -o loop boot.img unpacked cp unpacked/logo.16 . lss16toppm <logo.16 >logo16.ppm modify logo16.ppm with GIMP and save as logo16.bmp convert the bmp to ppm:- bmptoppm <logo16.bmp >logo16.ppm ppmtolss16 <logo16.ppm >logo.16 copy back to image file:- cp logo.16 unpacked
Modify boot msg:-
mkdir /mnt/hda1/custom/messages mkdir /mnt/hda1/custom/messages/unpacked cd /mnt/hda1/custom/bootscreen cp /mnt/hda1/custom/KNOPPIX_CD/KNOPPOPIX/boot.img mount -o loop boot.img unpacked (this extracts miniroot.gz) cp unpacked/miniroot.gz /mnt/hda1/custom/messages cd /mnt/hda1/custom/messages gunzip miniroot.gz mount -o loop miniroot unpacked (the boot message is the ASCII file unpacked/linuxrc - edit with vi or such) then:- umount unpacked gzip -9 miniroot cp miniroot.gz /mnt/hda1/custom/bootscreen/unpacked cd /mnt/hda1/custom/bootscreen umount unpacked cp boot.img /mnt/hda1/custom/KNOPPIX_CD/KNOPPIX
|