免费注册 查看新帖 |

Chinaunix

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

修改LIVE CD linux 之 Slax [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-21 11:22 |只看该作者 |倒序浏览
上面吩咐能不能做个光盘linux,开机光盘启动,免登录用户和密码,自动运行所需程式,测试完成,自动关机。
这个,我听了之后感觉很难,之前都没有动过有关启动光盘的操作,只用过很多牛人做的 老毛PE光盘,一键GHOST XP,等等,那些工具盘,太好用了,要自己动手完成上面的吩咐的要求,还真不知道从哪下手。
    伟大google.找到SLAX
看到了customize感觉有戏了,进去看看,

http://www.slax.org/documentation.php
For Slax developers

  • How to customize Slax


  • How to make Slax modules


  • How to create Slax modules the right way


  • How to compile software in Slax
    [ not finished ]

  • How to mount loop files in Slax


    How to add just few files to Slax
    The best method of modifying Slax is to create a Slax module (.lzm). But in some cases, you may need just to add few small files to Slax, like your own wallpaper or own startup script. For that purpose, Slax contains a directory /slax/rootcopy/. The content of this directory is copied to root filesystem each time you boot Slax, preserving all subdirectories. So, for example, if you wish to just use your own wallpaper instead of the one in Slax, create a directory /slax/rootcopy/usr/share/wallpapers/ and save your own variant of slax-wallpaper.jpg there. When Slax boots, it will copy this file over the one in Slax.
    Make sure to preserve the case, because all files and directories are case-sensitive. If you do this in Windows, some file managers will not show you correct case, so you may need to use the original Windows' explorer.
    If you are using Slax for USB, simply create your directories and files on your device. But if you use Slax for CD, you will need to copy the content of your CD somewhere first, then make your modifications and finally recreate a new ISO. How to do the later is described below.
    How to modify Slax ISO
    First, copy entire CD to harddisk. Then modify everything you need, add or remove files, directories or modules. When done, start the following command to rebuild Slax CD (create an ISO):cd /your_slax_directory/
    ./make_iso.sh /tmp/new-slax.iso
    If you are working under Windows, execute the following command instead:cd c:\your_slax_directory\
    make_iso.bat c:\new-slax.iso
    A new bootable ISO will be created with all your modifications.

    一切只看按照它的说明去做就OK了。
    这个之前,我有用USB版的进去设定我要做的程式,在USB中的SLAX中change文件中生成相对应的文件夹,这个就把对应的文件复制到/slax/rootcopy 中去了,再接着生成ISO,刻录光盘,OK



    本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/96065/showart_2155834.html
  • 您需要登录后才可以回帖 登录 | 注册

    本版积分规则 发表回复

      

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

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP