Chinaunix首页 | 论坛 | 博客
  • 博客访问: 713348
  • 博文数量: 140
  • 博客积分: 5097
  • 博客等级: 大校
  • 技术积分: 991
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-05 19:13
文章分类

全部博文(140)

文章存档

2018年(1)

2015年(5)

2014年(5)

2013年(2)

2011年(16)

2010年(6)

2009年(9)

2008年(45)

2007年(26)

2006年(25)

分类: LINUX

2007-09-04 12:35:25

  1. 建立启动画面
    启动画面用的是一种比较奇怪的格式lss16,它限制图片使用16种颜色,除去前景和背景色只能有14种颜色。我们需要ppmtolss16 giftopnm等程序,系统一般默认都安装了。
    一般用gimp生成一个index模式的gif图形,颜色限制为14, 然后通过如下的办法进行转:
    giftopnm < splash.gif | ppmtolss16 > splash.lss
    如果要编辑一个lss文件先用lsstoppm转成ppm格式,然后用gimp进行编辑.
    另外你还需要修改isolinux/boot.msg文件如下

    ^L
    ^Xsplash.lss

     -  Babel Com Australia Fedora Core Linux installer.

     -  Use the function keys listed below for more information.

    ^O02[F1-Main] [F2-Options] [F3-General] [F4-Kernel] [F5-Rescue]^O07

    Note that in the above screen fragment "^L" means insert a control-L sequence. In vi you can do that by typing control-V control-L.

    注意:上述显示的"^L"是一个控制序列,在vi中,你可以通过输入Ctrl-V 然后Ctrl-L来得到此字符。
  2. 生成ISO映象
    我们需要将改光盘制作成 ISO-9660 格式的光盘映象,通过如下命令来实现
    cd disk \
    mkisofs -o ../cdrom.iso -A 'ISOLINUX' -V 'ISOLINUX' \
     -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
     -boot-load-size 4 -boot-info-table .
阅读(1469) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~