Remastersys製作自己的Linux發行版

Remastersys製作自己的Linux發行版

1.系統備份
2.打包系統,做成livecd/dvd
怎樣安裝?
ubuntu用戶1.把下面的源地址加到sources.list
deb http://www.geekconnection.org/remastersys/repository ubuntu/
2.sudo apt-get update
3.sudo apt-get install remastersys
debian用戶1.把下面的源地址加到sources.list
deb http://www.geekconnection.org/remastersys/repository debian/
2.sudo apt-get update
3.sudo apt-get install remastersys
怎樣使用?
sudo remastersys backup|clean|dist [cdfs|iso] [filename.iso]
sudo remastersys backup #(to make a livecd/dvd backup of your system製作系統備份livecd)
sudo remastersys backup custom.iso #(to make a livecd/dvd backup and call the iso custom.iso製作系統備份livecd,名字是custom.iso)
sudo remastersys clean #(to clean up temporary files of remastersys清除製作時產生的臨時文件)
sudo remastersys dist    # (to make a distributable livecd/dvd of your system製作你現有系統的livecd發行版)
sudo remastersys dist cdfs #(to make a distributable livecd/dvd filesystem only 僅製作livecd文件系統cdfs)
sudo remastersys dist iso custom.iso #   (to make a distributable iso named custom.iso but only if the cdfs is already
present製作livecd,前提是cdfs已經就緒)
cdfs and iso options should only be used if you wish to modify something on the cd before the iso is created. An example of this would
be to modify the isolinux portion of the livecd/dvd
cdfs和iso選項應該只被用於你希望更改一些選項的時候,比如你要更改isolinux部分
另外此程序是擁有圖形界面的System ->administration ->Remastersys Backup,也是非常不錯,很傻瓜:)
使用測試~~
我的6.4G的跟文件系統做成之後的iso有1.5G,非常不錯,使用的是sudo remastersys dist xiaoqiang.iso
測試的時候會出現找不到intird.gz的錯誤,後來進入iso查看了下,發現casper目錄中並沒有initrd.gz這個文件,於是
cd /home/remastersys/remastersys
sudo cp /boot/initrd.img-2.6.31-14-generic ISOTMP/casper/initrd.gz
sudo rm xiaoqiang.iso
sudo remastersys dist iso xiaoqiang.iso
重新打包,再次測試,成功啓動,並且包含所有已經安裝的軟件,包括我的chrome,永中office。太爽了~~ubuntu之小強


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章