Chinaunix
标题:
linux中用mkisofs命令把文件制作成ISO
[打印本页]
作者:
huangjinlai
时间:
2006-11-05 19:28
标题:
linux中用mkisofs命令把文件制作成ISO
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
本文来自ChinaUnix博客,如果查看原文请点:
http://blog.chinaunix.net/u/25799/showart_195669.html
作者:
cliffordl
时间:
2012-12-26 23:48
回复
1#
huangjinlai
自己搭建的linux,安装mkisofs时总是安装不上,求助
==> MAKING "install" ON SUBDIRECTORY "SRCROOT/man/man4"
make[2]: Entering directory `/opt/livecd/build/mkisofs-1.13/man/man4'
==> MAKING "install" ON SUBCOMPONENT "SRCROOT/man/man4/makefiles.mk"
make[3]: Entering directory `/opt/livecd/build/mkisofs-1.13/man/man4'
==> INSTALLING "/opt/schily/man/man5/makefiles.5"
chown: `bin': invalid user
make[3]: *** [/opt/schily/man/man5/makefiles.5] Error 1
make[3]: Leaving directory `/opt/livecd/build/mkisofs-1.13/man/man4'
==> MAKING "install" ON SUBCOMPONENT "SRCROOT/man/man4/makerules.mk"
make[3]: Entering directory `/opt/livecd/build/mkisofs-1.13/man/man4'
==> INSTALLING "/opt/schily/man/man5/makerules.5"
chown: `bin': invalid user
make[3]: *** [/opt/schily/man/man5/makerules.5] Error 1
make[3]: Leaving directory `/opt/livecd/build/mkisofs-1.13/man/man4'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/opt/livecd/build/mkisofs-1.13/man/man4'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/opt/livecd/build/mkisofs-1.13/man'
make: *** [install] Error
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2