免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 950 | 回复: 0
打印 上一主题 下一主题

制作 SLES9 + SP3 DVD [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-18 15:17 |只看该作者 |倒序浏览
本文内容是摘自 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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP