rhel cd镜像 制作 dvd
2012-12-06 11:41
555 查看
Introduction
This process allows one to create a DVD ISO image using theCD ISO's available from the Computer Science server.
Credit
This process was derived from the instructions for Red Hat 8 written by Mauriat Miranda at the MJMWIRED websitehere.Notes
You will need all of the CD ISO images for the version of RHEL you want to create a Installation DVD ISO image for.Make sure you have enough disk space for the ISO image – here are the approximate sizes for each DVD image:
3.4G rhel-5-client-i386-dvd.iso
4.0G rhel-5-client-x86_64-dvd.iso
2.7G rhel-5-server-i386-dvd.iso
3.2G rhel-5-server-x86_64-dvd.iso
Red Hat Enterprise 5 - i386 Workstation
Create a working directory and switch to the directory.mkdir rhel5client-i386
cd rhel5client-i386
Create directories to mount each CD ISO to.
mkdir {1,2,3,4,5,6}
Mount each CD ISO (... is the path to each iso image)
mount -o loop,ro .../rhel-5-client-i386-disc1.iso 1/
mount -o loop,ro .../rhel-5-client-i386-disc2.iso 2/
mount -o loop,ro .../rhel-5-client-i386-disc3.iso 3/
mount -o loop,ro .../rhel-5-client-i386-disc4.iso 4/
mount -o loop,ro .../rhel-5-client-i386-disc5.iso 5/
mount -o loop,ro .../rhel-5-client-i386-disc6.iso 6/
Copy isolinux and .discinfo from the first CD.
cp -r 1/isolinux 1/.discinfo .
Edit the .discinfo file and change the fourth line from '1' to '1,2,3,4,5,6'
vim .discinfo
Make the ISO image
mkisofs -o ../rhel-5-client-i386-dvd.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table -R -m TRANS.TBL -x 1/.discinfo -x 1/isolinux -graft-points 1 \
.discinfo=.discinfo isolinux/=isolinux \
Client/=2/Client/ VT/=2/VT/ Workstation/=2/Workstation/ \
Client/=3/Client/ VT/=3/VT/ Workstation/=3/Workstation/ \
Client/=4/Client/ VT/=4/VT/ Workstation/=4/Workstation/ \
Client/=5/Client/ VT/=5/VT/ Workstation/=5/Workstation/ \
Client/=6/Client/ VT/=6/VT/ Workstation/=6/Workstation/
(optional, but required if you want the 'media' validation check to work) Insert the MD5 sum onto the image for validation using 'implantisomd5' from the Red Hat Anaconda rpm package.
implantisomd5 rhel-5-client-i386-dvd.iso
Red Hat Enterprise 5 - x86_64 Workstation
Create a working directory and switch to the directory.mkdir rhel5client
cd rhel5client
Create directories to mount each CD ISO to.
mkdir {1,2,3,4,5,6,7}
Mount each CD ISO (... is the path to each iso image)
mount -o loop,ro .../rhel-5-client-x86_64-disc1.iso 1/
mount -o loop,ro .../rhel-5-client-x86_64-disc2.iso 2/
mount -o loop,ro .../rhel-5-client-x86_64-disc3.iso 3/
mount -o loop,ro .../rhel-5-client-x86_64-disc4.iso 4/
mount -o loop,ro .../rhel-5-client-x86_64-disc5.iso 5/
mount -o loop,ro .../rhel-5-client-x86_64-disc6.iso 6/
mount -o loop,ro .../rhel-5-client-x86_64-disc7.iso 7/
Copy isolinux and .discinfo from the first CD.
cp -r 1/isolinux 1/.discinfo .
Edit the .discinfo file and change the fourth line from '1' to '1,2,3,4,5,6,7'
vim .discinfo
Make the ISO image
mkisofs -o ../rhel-5-client-x86_64-dvd.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table -R -m TRANS.TBL -x 1/.discinfo -x 1/isolinux -graft-points 1 \
.discinfo=.discinfo isolinux/=isolinux \
Client/=2/Client/ VT/=2/VT/ Workstation/=2/Workstation/ \
Client/=3/Client/ VT/=3/VT/ Workstation/=3/Workstation/ \
Client/=4/Client/ VT/=4/VT/ Workstation/=4/Workstation/ \
Client/=5/Client/ VT/=5/VT/ Workstation/=5/Workstation/ \
Client/=6/Client/ VT/=6/VT/ Workstation/=6/Workstation/ \
Client/=7/Client/ VT/=7/VT/ Workstation/=7/Workstation/
(optional, but required if you want the 'media' validation check to work) Insert the MD5 sum onto the image for validation using 'implantisomd5' from the Red Hat Anaconda rpm package.
implantisomd5 rhel-5-client-x86_64-dvd.iso
Red Hat Enterprise 5 - i386 Server
Create a working directory and switch to the directory.mkdir rhel5server-i386
cd rhel5server-i386
Create directories to mount each CD ISO to.
mkdir {1,2,3,4,5}
Mount each CD ISO (... is the path to each iso image)
mount -o loop,ro .../rhel-5-server-i386-disc1.iso 1/
mount -o loop,ro .../rhel-5-server-i386-disc2.iso 2/
mount -o loop,ro .../rhel-5-server-i386-disc3.iso 3/
mount -o loop,ro .../rhel-5-server-i386-disc4.iso 4/
mount -o loop,ro .../rhel-5-server-i386-disc5.iso 5/
Copy isolinux and .discinfo from the first CD.
cp -r 1/isolinux 1/.discinfo .
Edit the .discinfo file and change the fourth line from '1' to '1,2,3,4,5'
vim .discinfo
Make the ISO image
mkisofs -o ../rhel-5-server-i386-dvd.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table -R -m TRANS.TBL -x 1/.discinfo -x 1/isolinux -graft-points 1 \
.discinfo=.discinfo isolinux/=isolinux \
Cluster/=2/Cluster/ ClusterStorage/=2/ClusterStorage/ Server/=2/Server/ VT/=2/VT/ \
Cluster/=3/Cluster/ ClusterStorage/=3/ClusterStorage/ Server/=3/Server/ VT/=3/VT/ \
Cluster/=4/Cluster/ ClusterStorage/=4/ClusterStorage/ Server/=4/Server/ VT/=4/VT/ \
Cluster/=5/Cluster/ ClusterStorage/=5/ClusterStorage/ Server/=5/Server/ VT/=5/VT/
(optional, but required if you want the 'media' validation check to work) Insert the MD5 sum onto the image for validation using 'implantisomd5' from the Red Hat Anaconda rpm package.
implantisomd5 rhel-5-server-i386-dvd.iso
Red Hat Enterprise 5 - x86_64 Server
Create a working directory and switch to the directory.mkdir rhel5server
cd rhel5server
Create directories to mount each CD ISO to.
mkdir {1,2,3,4,5,6}
Mount each CD ISO (... is the path to each iso image)
mount -o loop,ro .../rhel-5-server-x86_64-disc1.iso 1/
mount -o loop,ro .../rhel-5-server-x86_64-disc2.iso 2/
mount -o loop,ro .../rhel-5-server-x86_64-disc3.iso 3/
mount -o loop,ro .../rhel-5-server-x86_64-disc4.iso 4/
mount -o loop,ro .../rhel-5-server-x86_64-disc5.iso 5/
mount -o loop,ro .../rhel-5-server-x86_64-disc6.iso 6/
Copy isolinux and .discinfo from the first CD.
cp -r 1/isolinux 1/.discinfo .
Edit the .discinfo file and change the fourth line from '1' to '1,2,3,4,5,6'
vim .discinfo
Make the ISO image
mkisofs -o ../rhel-5-server-x86_64-dvd.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table -R -m TRANS.TBL -x 1/.discinfo -x 1/isolinux -graft-points 1 \
.discinfo=.discinfo isolinux/=isolinux \
Cluster/=2/Cluster/ ClusterStorage/=2/ClusterStorage/ Server/=2/Server/ VT/=2/VT/ \
Cluster/=3/Cluster/ ClusterStorage/=3/ClusterStorage/ Server/=3/Server/ VT/=3/VT/ \
Cluster/=4/Cluster/ ClusterStorage/=4/ClusterStorage/ Server/=4/Server/ VT/=4/VT/ \
Cluster/=5/Cluster/ ClusterStorage/=5/ClusterStorage/ Server/=5/Server/ VT/=5/VT/ \
Cluster/=6/Cluster/ ClusterStorage/=6/ClusterStorage/ Server/=6/Server/ VT/=6/VT/
(optional, but required if you want the 'media' validation check to work) Insert the MD5 sum onto the image for validation using 'implantisomd5' from the Red Hat Anaconda rpm package.
implantisomd5 rhel-5-server-x86_64-dvd.iso
Labels:
None
来自:
https://confluence.cornell.edu/display/NETADMINWIKI/RHEL5+DVD+ISO+HOWTO
参考:
http://colder.blog.163.com/blog/static/173946618201142992333846/
相关文章推荐
- rhel 5添加光盘镜像为本地源(5张以CD合成一张DVD)
- rhel5.5镜像制作本地yum源(redhat5.5)
- RHEL 4 update 4 DVD版制作
- 将Linux的三张ISO版CD镜像的合并成一个DVD光盘
- RHEL 5 DVD 制作
- 将CentOS多个CD镜像合并成一个DVD镜像
- 制作etcd镜像
- 制作RHEL4 DVD
- rhel5添加光盘镜像为本地源(5张以CD合成一张DVD)
- RHEL7利用iso镜像制作本地yum源
- RHEL 5最新版DVD和CD下载
- 用mkisofs命令制作redhat enterprise linux (RHEL6.4) ISO启动镜像
- RHEL4.7/4.8/RHEL5.4/5.6 DVD版本以及CD版本下载
- ubuntu利用写入镜像的U盘、Live CD/DVD修复grub
- RHEL DVD光盘制作方法
- 利用fedora 15 DVD ISO 镜像制作安装源
- How to Install GUI (Gnome 3) Using CD/DVD on RHEL/CentOS 7
- RHEL DVD光盘制作方法
- Centos linux CD光盘集成为DVD光盘制作方法
- win 7 usb/DVD download tool制作的U盘 提示缺少cd/dvd驱动