- 论坛徽章:
- 0
|
上面吩咐能不能做个光盘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 |
|