• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
2014/06/04 成大資工系自由軟體課程 -- Making Your Own ezgo
 

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

on

  • 205 views

2014/06/04 在成大資工,自由軟體課程上,教導大家怎麼製作自己的 ezgo

2014/06/04 在成大資工,自由軟體課程上,教導大家怎麼製作自己的 ezgo

Statistics

Views

Total Views
205
Views on SlideShare
205
Embed Views
0

Actions

Likes
1
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

    • 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 版本 ● 有任何問題可以來請教,不過請謹記三原則: – 勇氣 – 禮貌 – 做功課