On Sunday 21 November 2004 04:39 am, Richard Bos wrote:
Op vrijdag 19 november 2004 11:09, schreef Johnny Ernst Nielsen:
cp -a suse/i586 /data/tmp/suse92/ cp -a suse/i586 /data/tmp/suse92/suse
Does it copy the same source directory to two different destination directories? If so, why?
Can someone (Riccardo?) post the final version of the script?
The below worked for me.... (once I followed it carefully) ======================================= Perhaps this helps; a transliteration..:) My SuSE 9.2 arrived yesterday. In case you havent noticed the Installation DVD is a dual layer DVD according to SuSE. Dang..that sucks. DVD blanks are expensive and you need special burner to duplicate such a DVD. So I need to find a reliable method to duplicate this DVD so that the original could be stored and archived in a safe place and maintain one copy in my Laptop to add additional software. Note: From the original DVD only half (approx) of the data is necessary. Specifically; -KDE for english and german only -Variouse office packages for non english and german users -Various spell checkers for non english and german users -all 64 bit programs Here is how I did it. The following is assumed throughout the instruction -everything is done in a shell terminal as user root -#...means prompt -everything to the right of # is a command that needs to be executed -lines without a # represent output First mount the original DVD as follows; # mount /cdrom You will need a free partition of approx 4 gig. On my system its a partition I call "/data" On my system I create a tmp file that contains the data as follows. "/data/tmp/suse92" To this directory I copied the necessary software # mkdir /data/tmp/suse92 # cd /cdrom # cp -p * /data/tmp/suse92 cp: Verzeichnis <- no entry found ?boot? ausgelassen <- omitted cp: Verzeichnis ?docu? ausgelassen cp: Verzeichnis ?dosutils? ausgelassen cp: Verzeichnis ?media.1? ausgelassen cp: Verzeichnis ?suse? ausgelassen # cp -a boot /data/tmp/suse92 # cp -a docu /data/tmp/suse92 # cp -a dosutils /data/tmp/suse92 # cp -a media.1 /data/tmp/suse92 # mkdir /data/tmp/suse92/suse # cp -a suse/i586 /data/tmp/suse92/suse # cp -a suse/i686 /data/tmp/suse92/suse # cp -a suse/noarch /data/tmp/suse92/suse # cp -a suse/setup /data/tmp/suse92/suse # cd /data/tmp/suse92/suse # mkdir x86_64 # chmod +w * Next step is remove unnecessary things; (NOTE:) use: ls --color=never in the below) # cd /data/tmp/suse92/suse/i586 # ls --color=never aspell-[a-z]*|grep -v -- -de-|grep -v -- -en-|grep -v devel|xargs rm # ls --color=never OpenOffice_org-[a-z]*|egrep -v "(gnome)|(kde)|(Quick)| (-de-)|(-en-)"| xargs rm # cd /data/tmp/suse92/suse/noarch # ls --color=never ispell-*|grep -v german|xargs rm # ls --color=never yast2-trans-*|egrep -v "(-en)|(-de)"|xargs rm # ls --color=never susetour-[a-z]*|grep -v de|grep -v en|xargs rm # ls --color=never susehelp_[a-z]*|grep -v de|grep -v en|xargs rm # ls --color=never suselinux-adminguide*|egrep -v "(_de)|(_en)"|xargs rm # ls --color=never suselinux-userguide*|egrep -v "(_de)|(_en)"|xargs rm # ls --color=never myspell-*|egrep -v "(german)|(american)|(british)"|xargs rm # ls --color=never k*-i18n*|egrep -v -- "-(de)|(en)"|xargs rm So far we have completed collecting the raw data. Now we need to burn it to a DVD. My burner is "/dev/hdd" (changed) # cd /data/tmp/suse92 # growisofs -Z /dev/hda -J -r -l -no-emul-boot \ -b boot/loader/isolinux.bin -c boot/loader/boot.cat\ -boot-load-size 4 -boot-info-table . Works wonderfully for me.