SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Making Your Own ezgo
2014/06/04
Franklin
安裝套件
$ sudo su -
# apt-get install squashfs-
tools
將 iso 掛載上來檔
# mkdir media
# mount -o loop kubuntu-13.04-
desktop-i386.iso media
# cp -af media iso.ezgo
探索一下 iso 內容檔
● isolinux
● casper
● .disk
●
解開 filesystem.squashfs
# mv iso.ezgo/casper/filesystem.squashfs
.
# unsquashfs -d os.ezgo
filesystem.squashfs
進入系統內
# mount –-bind /dev ./os.ezgo/dev
# chroot ./os.ezgo
看一下系統內部
# mount -t proc none /proc
# mount -t sysfs none /sys
# mount -t devpts none /dev/pts
# echo "nameserver 8.8.8.8" >
/etc/resolv.conf
修改 repository
# cd /etc/apt/
# sed -ri
's/archive.ubuntu.com/free.nchc.org.t
w/g' sources.list
# sed -ri
's/security.ubuntu.com/free.nchc.org.
tw/g' sources.list
# apt-get update
包回去!# umount -l /proc /sys /dev/pts
# exit
# umount -l os.ezgo/dev
先確認
iso.ezgo/casper/filesystem.squashfs
存不存在
# mksquashfs os.ezgo
iso.ezgo/casper/filesystem.squashfs
產生 iso
# cd iso.ezgo
# mkisofs -r -V "ezgo" -J -l -b
isolinux/isolinux.bin -c
isolinux/boot.cat -no-emul -boot-
load-size 4 -boot-info-table -o
../ezgo.iso .
製作隨身碟
●
用 usb-creator-kde
●
看一下初步的成果!
沒有中文?
chroot 與前置動作記得做
# apt-get install language-pack-zh-
hant kde-l10n-zhtw
# apt-cache search ibus-
離開 chroot ,修改
● isolinux/lang
● .disk/info
再次打包前,記得刪除
casper/filesystem.squashfs
加入 布,修改選單等等桌
● /usr/share/wallpaper/kde-default.png
● ftp://goodhorse.idv.tw/debian-ezgo/ezgo-js.tar.gz
● ftp://goodhorse.idv.tw/debian-ezgo/ezgo-menu/ezgo
自由發揮!
作業
●
打造一個屬於自己的 ezgo 版本
●
有任何問題可以來請教,不過請謹記三原則:
– 勇氣
– 禮貌
– 做功課

Weitere ähnliche Inhalte

Mehr von fweng322

那些年,我學到的程式設計教育
那些年,我學到的程式設計教育那些年,我學到的程式設計教育
那些年,我學到的程式設計教育fweng322
 
成大資工自由軟體開發與社群發展課程
成大資工自由軟體開發與社群發展課程成大資工自由軟體開發與社群發展課程
成大資工自由軟體開發與社群發展課程fweng322
 
世界,程式教育的現在進行式
世界,程式教育的現在進行式世界,程式教育的現在進行式
世界,程式教育的現在進行式fweng322
 
Libreoffice conference: Successful stories: Migrating Libreoffice in Taiwan
Libreoffice conference: Successful stories: Migrating Libreoffice in TaiwanLibreoffice conference: Successful stories: Migrating Libreoffice in Taiwan
Libreoffice conference: Successful stories: Migrating Libreoffice in Taiwanfweng322
 
軟體自由*自由軟體
軟體自由*自由軟體軟體自由*自由軟體
軟體自由*自由軟體fweng322
 
數位路平
數位路平數位路平
數位路平fweng322
 
Why We Insist Promoting FOSS in Taiwan's School -- Gnome Asia 2015
Why We Insist Promoting FOSS in Taiwan's School -- Gnome Asia 2015Why We Insist Promoting FOSS in Taiwan's School -- Gnome Asia 2015
Why We Insist Promoting FOSS in Taiwan's School -- Gnome Asia 2015fweng322
 
台北市研習_LAMP_20140815
台北市研習_LAMP_20140815台北市研習_LAMP_20140815
台北市研習_LAMP_20140815fweng322
 
TPET6 噗浪客年會心跳300 -- ezgo 開發
TPET6 噗浪客年會心跳300 -- ezgo 開發TPET6 噗浪客年會心跳300 -- ezgo 開發
TPET6 噗浪客年會心跳300 -- ezgo 開發fweng322
 
新北市教師工作坊 -- Bash script programming 介紹
新北市教師工作坊 -- Bash script programming 介紹新北市教師工作坊 -- Bash script programming 介紹
新北市教師工作坊 -- Bash script programming 介紹fweng322
 

Mehr von fweng322 (10)

那些年,我學到的程式設計教育
那些年,我學到的程式設計教育那些年,我學到的程式設計教育
那些年,我學到的程式設計教育
 
成大資工自由軟體開發與社群發展課程
成大資工自由軟體開發與社群發展課程成大資工自由軟體開發與社群發展課程
成大資工自由軟體開發與社群發展課程
 
世界,程式教育的現在進行式
世界,程式教育的現在進行式世界,程式教育的現在進行式
世界,程式教育的現在進行式
 
Libreoffice conference: Successful stories: Migrating Libreoffice in Taiwan
Libreoffice conference: Successful stories: Migrating Libreoffice in TaiwanLibreoffice conference: Successful stories: Migrating Libreoffice in Taiwan
Libreoffice conference: Successful stories: Migrating Libreoffice in Taiwan
 
軟體自由*自由軟體
軟體自由*自由軟體軟體自由*自由軟體
軟體自由*自由軟體
 
數位路平
數位路平數位路平
數位路平
 
Why We Insist Promoting FOSS in Taiwan's School -- Gnome Asia 2015
Why We Insist Promoting FOSS in Taiwan's School -- Gnome Asia 2015Why We Insist Promoting FOSS in Taiwan's School -- Gnome Asia 2015
Why We Insist Promoting FOSS in Taiwan's School -- Gnome Asia 2015
 
台北市研習_LAMP_20140815
台北市研習_LAMP_20140815台北市研習_LAMP_20140815
台北市研習_LAMP_20140815
 
TPET6 噗浪客年會心跳300 -- ezgo 開發
TPET6 噗浪客年會心跳300 -- ezgo 開發TPET6 噗浪客年會心跳300 -- ezgo 開發
TPET6 噗浪客年會心跳300 -- ezgo 開發
 
新北市教師工作坊 -- Bash script programming 介紹
新北市教師工作坊 -- Bash script programming 介紹新北市教師工作坊 -- Bash script programming 介紹
新北市教師工作坊 -- Bash script programming 介紹
 

2014/06/04 成大資工系自由軟體課程 -- Making Your Own ezgo