|
|
第 1 帖 | |
|
|
标题: howto : make a customized ubuntu main module howto : make a customized ubuntu main module
ccwufu @ linuxsir.com http://www.linuxsir.org/bbs/showthre...hreadid=148935 ccwufu @ morphix.org http://www.morphix.org/modules/newbb...2e8646d44446c1 my finished iso (morphix base 0.5pre3 + ubuntu 4.10 mainmod) can be download at ISO ftp://distro:smth@distro.cn/incoming...ntu-livecd.iso MD5 CheckSum ftp://distro:smth@distro.cn/incoming...ntu-livecd.md5 note 1: the default lang is set to cn,so for non-chinese user ,please set the lang=us note 2: for the customization , I have add the chinese input (scim + scim-chinese) and chinese ttf fonts (ttf-simsun-hiweed) ================ main ======================== main# echo "deb http://www.morphix.org/ ./debian/" >> /etc/atp/sources.list main# apt-get update main# apt-get install polipo main# apt-get install morphix-mmaker main# mkdir /mnt/iso main# mount /path/to/warty-release-install-i386.iso /mnt/iso main# ln -s /mnt/iso /usr/share/polipo/www/debian main# cd /usr/lib/debootstrap/scripts main# ln -s sarge warty main# ln -s sarge.buildd warty.buildd main# mkdir /home/ubuntu-custom main# cd /home/ubuntu-cdstom main# mkdir ./ubuntu-debootstrap main# debootstrap --exclude=dhcp-client,exim4,exim4-base,exim4-config,exim4-daemon-light,ipchains,libgcrypt11,libgnutls11,libtextwrap1,nvi,pppoe,tasksel,mailx,at --include=dhcp3-client,dhcp3-common,lsb-base,netbase warty ./ubuntu-debootstrap/ http://localhost:8123/ main# echo "proc-warty /home/ubuntu-custom/ubuntu-debootstrap/proc proc none 0 0" >> /etc/fstab main# mount proc-warty /home/ubuntu-custom/ubuntu-debootstrap/proc -t proc main$ rm /home/ubuntu-custom/ubuntu-debootstrap/etc/resolv.conf main# cp /etc/resolv.conf /home/ubuntu-custom/ubutu-debootstrap/etc/resolv.conf main# chroot /home/ubuntu-custom =============== chroot ========================= chroot# echo "127.0.0.1 localhost" >> /etc/hosts chroot# nano /etc/apt/sources.list deb http://www.morphix.org/debian/ ./ deb http://localhost:8123/debian/ warty main deb http://www.mirrorservice.org/sites/a...tu.com/ubuntu/ warty main restricted universe chroot# apt-get update chroot# dselect update chroot# dpkg --set-selections < ./ubuntu-selections.list chroot# apt-get dselect-upgrade chroot# dpkg --set-selections < ./morphix-gnome-selections.list chroot# apt-get dselect-upgrade chroot# apt-get install other-pkgs chroot# apt-get clean chroot# rm -rf /tmp chroot# ln -s /var/tmp /tmp chroot# rm -rf /tmp/* chroot# mkdir /cdrom /cdrom1 /MorphixCD /floppy chroot# updatedb chroot# exit ================== main ====================== main# umount proc-warty main# mkisofs -iso-level 4 -R -U -V "Hiseed" -P "Hiweed" -hide-rr-moved -cache-inodes -no-bak -pad ./ubuntu-debootstrap | nice -5 create_compressed_fs - 65536 > ./my-ubuntu.mod ~~~~~~~~OK , the customized ubuntu mainmod is completed.~~~~~~~~~~~ appendix: a)morphix-gnome-selections.list cdpersistent install morphixinstaller install partitionmorpher install mcp install xconf install networkconf install datetimeconf install langconf install mmaker install keybconf install morphix-background install morphix-isomorph install morphix-minimodgen install morphix-modulebuilder install morphix-init-gnome install b)ubuntu-selections.list pkg-name1 install pkg-name2 install ...... pkg-names install 此帖于 04-10-24 14:33 被 ccwufu 编辑. |
|
|
|
|
|
|
|
第 2 帖 | |
|
|
建议 wufu 兄到 linux.hiweed.com 上面创建 blog,把这些内容发布上去,我可以把您的 blog 置顶。
这样会有更多人受益的。
__________________
我就是原来的 kanaka http://linux.hiweed.com |
|
|
|
|
|
|
|
第 3 帖 | |
|
|
好。(我已经在hiweed注册,不过我以前没用过blog)
另:hiweed 能帮忙找一网络空间吗,好像有人抱怨disro.cn速度比较慢 |
|
|
|
|
|
|
|
第 4 帖 | |
|
|
morphix的里面的图形工具不错,为什么不debian官方作为gnome的一部分,mdk,suse都有自己控制中心,redhat也有一套自己开发的工具,debian在这方面什么也没有。。。
__________________
Spring Live 中文版发布 Blog:http://hantsy.cublog.cn Gmail/Gtalk:hantsy@gmail.com |
|
|
|
|
|