- 論壇徽章:
- 0
|
上面吩咐能不能做個光盤linux,開機光盤啟動,免登錄用戶和密碼,自動運行所需程式,測試完成,自動關(guān)機。
這個,我聽了之后感覺很難,之前都沒有動過有關(guān)啟動光盤的操作,只用過很多牛人做的 老毛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 |
|