/[gnumed]/gnumed/gnumed/test-area/knoppix/testknoppix.sh
ViewVC logotype

Contents of /gnumed/gnumed/test-area/knoppix/testknoppix.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Nov 13 14:28:31 2002 UTC (21 years, 5 months ago) by jubalj
Branch: MAIN
File MIME type: application/x-sh
Created script to test remasterd knoppix - Experimental

1 #next two lines use one of my scripts to mount hdc2 and hdc3
2 export SOURCE=hdc2
3 export MASTER=hdc3
4
5
6 if test ! -d /mnt/source
7 then
8 mkdir /mnt/source
9 fi
10
11 if test ! -d /mnt/master
12 then
13 mkdir /mnt/master
14 fi
15
16 mount /dev/$SOURCE /mnt/source
17 mount /dev/$SOURCE /mnt/master
18
19 if test -d /mnt/source/KNOPPIX
20 then
21 # because knoppix boot floppy may incorrectly use this to boot
22 mv /mnt/source/KNOPPIX /mnt/source/sourceknoppix
23 fi
24
25 #backup previous iso - dont really need to
26 mv /mnt/master/knoppix.iso /mnt/master/knoppix.iso.old
27
28 #make an iso
29 mkisofs -R -L -allow-multidot -l -V "KNOPPIX iso9660 filesystem" -o /mnt/master/knoppix.iso -hide-rr-moved -v /mnt/source/sourceknoppix
30
31 ls -l /mnt/master/knoppix.iso
32
33 echo "Now trying to compress: the Maximum file size that knoppix.iso should be is somewhere between 2062500KB (works) and 2125000KB (doesnt work)."
34
35 #now compress it
36 create_compressed_fs /mnt/master/knoppix.iso 65536 > /mnt/master/KNOPPIX/KNOPPIX
37
38 echo If it compressed fine.. you are probably hearing an excessive amount of disk activity and its time to put your knoppix boot floppy in and restart
39

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26