linux中用mkisofs命令把文件制作成ISO
时间:2006-11-05 来源:huangjinlai
linux中用mkisofs命令把文件制作成ISO
mkisofs folder
步骤:
1.把NFS服务器上的目录挂载到本地/mnt/nfs/的目录 #mount -t nfs 10.0.2.2:/linuxos/rhel4.0_update3/ /mnt/nfs/2.把已挂载的文件复制到本地 #cp -a /mnt/NFS/* /root/Decp -a /mnt/nfs/* /root/Desktop/rhel4.0/&sktop/rhel4.0/&
3.查找boot.cat文件并删除掉 #find rhel4.0/ -name boot.cat | xargs rm
4.查找TRANS.TBL文件并删除掉 #find rhel4.0/ -name TRANS.TBL -exec rm { } \;
5.复制本地的所需文件到指定目录 #cp /usr/share/comps/i386/.discinfo rhel4.0/
6.把指定目录下的所有文件制作成ISO文件 #mkisofs -R -J -T -v -no-emul-boot -boot-load-size 4 -boot-info-table -V RHEL4ASDVD -b isolinux/isolinux.bin -c isolinux/boot.cat -o /RHEL4AS.iso rhel4.0/
参考网址:
http://fedoranews.org/contributors/gene_czarcinski/update_distro/
http://www.linuxqucstions.org/qucstions/showthread.php?t=477515/
http://www.mjmwired.net/resources/redhat8-dvd.html
相关阅读 更多 +