Kezdőlap › Fórumok › Fedora Core / RedHat /CentOS › Fedora/RedHat kezdõ › Több CD-bõl 1 DVD készítése
- This topic has 5 hozzászólás, 4 résztvevő, and was last updated 20 years, 11 months telt el by
weiszj.
-
SzerzőBejegyzés
-
2004-08-03-18:49 #1961593
Valahol láttam már errõl írást, de nem találom, ott valami konkrét programot ajánlottak.
Hirtelen csak egy scriptet találtam:
ftp://people.redhat.com/ckloiber/mkdvdiso.sh2004-08-11-08:24 #1961594Szia!
Köszike a segítséget, de sajnos a link halott.
2004-08-11-09:41 #1961595#/bin/bash
# by Chris Kloiber
# A quick hack that will create a bootable DVD iso of a Red Hat Linux
# Distribution. Feed it either a directory containing the downloaded
# iso files of a distribution, or point it at a directory containing
# the „RedHat”, „isolinux”, and „images” directories.# This version only works with „isolinux” based Red Hat Linux versions.
# Lots of disk space required to work, 3X the distribution size at least.
# GPL version 2 applies. No warranties, yadda, yadda. Have fun.
if [ $# -lt 2 ]; then
echo „Usage: `basename $0` source /destination/DVD.iso”
echo „”
echo ” The ‘source’ can be either a directory containing a single”
echo ” set of isos, or an exploded tree like an ftp site.”
exit 1
ficleanup() {
[ ${LOOP:=/tmp/loop} = „/” ] && echo „LOOP mount point = /, dying!” && exit
[ -d $LOOP ] && rm -rf $LOOP
[ ${DVD:=~/mkrhdvd} = „/” ] && echo „DVD data location is /, dying!” && exit
[ -d $DVD ] && rm -rf $DVD
}cleanup
mkdir -p $LOOP
mkdir -p $DVDif [ !`ls $1/*.iso 2>&1>/dev/null ; echo $?` ]; then
echo „Found ISO CD images…”
CDS=`expr 0`
DISKS=”1″for f in `ls $1/*.iso`; do
mount -o loop $f $LOOP
cp -av $LOOP/* $DVD
if [ -f $LOOP/.discinfo ]; then
cp -av $LOOP/.discinfo $DVD
CDS=`expr $CDS + 1`
if [ $CDS != 1 ] ; then
DISKS=`echo ${DISKS},${CDS}`
fi
fi
umount $LOOP
done
if [ -e $DVD/.discinfo ]; then
awk ‘{ if ( NR == 4 ) { print disks } else { print ; } }’ disks=”$DISKS” $DVD/.discinfo > $DVD/.discinfo.new
mv $DVD/.discinfo.new $DVD/.discinfo
fi
else
echo „Found FTP-like tree…”
rsync -avP –exclude SRPMS $1/* $DVD
# cp -av $1/* $DVD
[ -e $1/.discinfo ] && cp -av $1/.discinfo $DVD
firm -rf $DVD/isolinux/boot.cat
find $DVD -name TRANS.TBL | xargs rm -f# My thanks to Mubashir Cheema for suggesting this fix.
# cd $DVD
mkisofs -J -R -v -T -o $2 -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 8 -boot-info-table $DVD/usr/lib/anaconda-runtime/implantisomd5 –force $2
# Don’t like forced mediacheck? Try this instead.
# /usr/lib/anaconda-runtime/implantisomd5 –supported-iso –force $2cleanup
echo „”
echo „Process Complete!”
echo „”Bõvebb info itt: http://www.google.co.hu/search?q=cache:wix…dvdiso.sh&hl=hu
2004-08-11-10:54 #1961596Szia!
Köszike a segítséget, de sajnos a link halott.
2004-08-12-12:22 #1961597Sziasztok!
Köszike a segítséget.
A sagal által bemásolt szkriptet kell majd futtatni?
Na akkor elõbb a kollegámnak átküldöm, mert azért én nem vagyok olyan mayer ebben a témában.
Mégegyszer köszike.2009-12-04-19:56 #1875409Sziasztok!
Az után érdeklõdnék, hogy tudtok olyan progit, ami több CD-bõl készít 1 DVD-t?PL
a Fedora Core 2 létezik 4 CD-n és létezik 1 DVD-n is.
Ezt hogyan készített?Elõre is köszike
-
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz