1、如果有光盘而没有ISO文件可以在Linux环境下按以下方法制作: #------------------------------------------------------------------------------ #echo Please insert disk 1 of 5 and hit any key to continue. #read key #dd if=/dev/cdrom of=SUSE-9.3-Prof-i386-CD1.iso #echo Please insert disk 2 of 5 and hit any key to continue. #read key #dd if=/dev/cdrom of=SUSE-9.3-Prof-i386-CD2.iso #echo Please insert disk 3 of 5 and hit any key to continue. #read key #dd if=/dev/cdrom of=SUSE-9.3-Prof-i386-CD3.iso #echo Please insert disk 4 of 5 and hit any key to continue. #read key #dd if=/dev/cdrom of=SUSE-9.3-Prof-i386-CD4.iso #echo Please insert disk 5 of 5 and hit any key to continue. #read key #dd if=/dev/cdrom of=SUSE-9.3-Prof-i386-CD5.iso #------------------------------------------------------------------------------
2、创建以下几个目录来mount光盘镜像 mkdir CD1 CD2 CD3 CD4 CD5
3、以loopback模式把ISO文件挂到创建的目录上:
mount SUSE-9.3-Prof-i386-CD1.iso CD1 -o loop mount SUSE-9.3-Prof-i386-CD2.iso CD2 -o loop mount SUSE-9.3-Prof-i386-CD3.iso CD3 -o loop mount SUSE-9.3-Prof-i386-CD4.iso CD4 -o loop mount SUSE-9.3-Prof-i386-CD5.iso CD5 -o loop
4、执行以下命令: cp -a CD1/boot . mkdir i586 i686 noarch
# Create the NEW MD5SUMS as one file in order to allow SuSE to validate (thus install) all of the files from every CD and not just CD #1 # For the i586 directory: cat CD1/suse/i586/MD5SUMS CD2/suse/i586/MD5SUMS CD3/suse/i586/MD5SUMS CD4/suse/i586/MD5SUMS CD5/suse/i586/MD5SUMS > i586/MD5SUMS # For the i686 directory: cat CD1/suse/i686/MD5SUMS CD2/suse/i686/MD5SUMS > i686/MD5SUMS # For the noarch directory: cat CD1/suse/noarch/MD5SUMS CD2/suse/noarch/MD5SUMS CD3/suse/noarch/MD5SUMS CD4/suse/noarch/MD5SUMS CD5/suse/noarch/MD5SUMS > noarch/MD5SUMS