Chinaunix
标题:
制作 SLES9 + SP3 DVD
[打印本页]
作者:
wjqhd
时间:
2006-12-18 15:17
标题:
制作 SLES9 + SP3 DVD
本文内容是摘自 suse-sles-e Mail List 内容的翻译。原作者为 Bernd Nies (listuser_at_adnovum.ch)
创建包含 SLES9 + SP3 的可引导 DVD 的步骤
1) 使用 SLES9 YaST 创建 SLES9 SP3。创建好的安装源有以下目录结构:
.
|-- SUSE-CORE-Version-9
| |-- CD1
| |-- CD2
| |-- CD3
| |-- CD4
| `-- CD5
|-- SUSE-SLES-9-Service-Pack-Version-3
| |-- CD1
| |-- CD2
| `-- CD3
|-- SUSE-SLES-Version-9
| `-- CD1
|-- boot
| |-- directory.yast
| |-- loader -> ../SUSE-SLES-9-Service-Pack-Version-3/CD1/boot/loader
| |-- rescue -> ../SUSE-SLES-9-Service-Pack-Version-3/CD1/boot/rescue
| `-- root -> ../SUSE-SLES-Version-9/CD1/boot/root
|-- content -> SUSE-SLES-Version-9/CD1/content
|-- control.xml -> SUSE-SLES-Version-9/CD1/control.xml
|-- driverupdate -> SUSE-SLES-9-Service-Pack-Version-3/CD1/driverupdate
|-- linux -> SUSE-SLES-9-Service-Pack-Version-3/CD1/linux
|-- media.1 -> SUSE-SLES-Version-9/CD1/media.1
`-- yast
|-- instorder
`-- order
2) 删除 boot 目录下的链接,拷贝常规文件和启动镜像
cd boot
rm loader rescue root
cp -va ../SUSE-SLES-9-Service-Pack-Version-3/CD1/boot/loader
cp -va ../SUSE-SLES-9-Service-Pack-Version-3/CD1/boot/rescue
cp -va ../SUSE-SLES-9-Service-Pack-Version-3/CD1/boot/root
3) 删除源代码 CDs 以节省空间
rm -rf SUSE-CORE-Version-9/CD4
rm -rf SUSE-CORE-Version-9/CD5
rm -rf SUSE-SLES-9-Service-Pack-Version-2/CD3
4) 生成可Generate bootable ISO file with SUSE isolinux.
mkisofs -r -J -l -allow-leading-dots -iso-level 4 \
-b loader/isolinux.bin \
-c loader/boot.cat -no-emul-boot \
-boot-load-size 4 \
-boot-info-table \
-graft-points \
-o ../sles9sp3.iso \
.
5) 刻录 DVD ISO 镜像
growisofs -Z /dev/cdrecorder=../sles9sp3.iso
6) 在使用此 DVD 安装好的系统上删除错误的安装源信息,设置指向DVD里的正确的安装位置。
rm -rf /var/adm/YaST/InstSrcManager/IS_CACHE_0x*
installation_sources -e -a cd:///SUSE-SLES-9-Service-Pack-Version-3/CD1/
installation_sources -e -a cd:///SUSE-SLES-Version-9/CD1/
installation_sources -e -a cd:///SUSE-CORE-Version-9/CD1/
本文来自ChinaUnix博客,如果查看原文请点:
http://blog.chinaunix.net/u/5724/showart_217579.html
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2