歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux綜合 >> Linux資訊 >> 更多Linux

SuSeLinux9.3專業版5CD合成DVD的方法

  SuSe Linux 9.3專業版5CD合成DVD的方法    在www.Google.com上搜索好長時間找到把SuSe 9.3 Professional版5CD合成DVD的方法,已經測試用制作的ISO文件安裝系統成功。    制作方法如下(很漫長的過程 ):    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    5、創建ISO文件(過程比較長):    mkisofs -o SuSE_93_dvd.iso -b boot/loader/isolinux.bin -c boot/loader/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -l -P SuSE -r -T -V SuSE_9.3 -x CD1/boot -x CD1/suse/i586/MD5SUMS -x CD1/suse/noarch/MD5SUMS -x CD1/suse/i686/MD5SUMS -x CD2/suse/i686/MD5SUMS -x CD2/suse/i586/MD5SUMS -x CD2/suse/noarch/MD5SUMS -x CD3/suse/i586/MD5SUMS -x CD3/suse/noarch/MD5SUMS -x CD4/suse/i586/MD5SUMS -x CD4/suse/noarch/MD5SUMS -x CD5/suse/i586/MD5SUMS -x CD5/suse/noarch/MD5SUMS -graft-points CD1 boot/=boot suse/i586/MD5SUMS=i586/MD5SUMS suse/noarch/MD5SUMS=noarch/MD5SUMS suse/i686/MD5SUMS=i686/MD5SUMS suse/=CD2/suse suse/=CD3/suse suse/=CD4/suse suse/=CD5/suse media.2/=CD2/media.2 media.3/=CD3/media.3 media.4/=CD4/media.4 media.5/=CD5/media.5    6、可以把ISO文件mount到一臨時目錄下看一下    mkdir dvd  mount SuSE_93_dvd.iso dvd -o loop    7、現在就可以刻盤了 。    8、注意:以上操作占用的硬盤空間非常大(7G左右),操作前請檢查空間是否夠用。




Copyright © Linux教程網 All Rights Reserved