LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 5294|回复: 3

howto : make a customized ubuntu main module

[复制链接]
发表于 2004-10-24 14:30:39 | 显示全部楼层 |阅读模式
howto : make a customized ubuntu main module

ccwufu @ linuxsir.cn
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=148935

ccwufu @ morphix.org
http://www.morphix.org/modules/n ... jump=1&

my finished iso (morphix base 0.5pre3 + ubuntu 4.10 mainmod) can be download at
ISO
ftp://distro:smth@distro.cn/inco ... 3/ubuntu-livecd.iso
MD5 CheckSum
ftp://distro:smth@distro.cn/inco ... 3/ubuntu-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/archive.ubuntu.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

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-10-24 17:53:47 | 显示全部楼层
建议 wufu 兄到 linux.hiweed.com 上面创建 blog,把这些内容发布上去,我可以把您的 blog 置顶。
这样会有更多人受益的。
 楼主| 发表于 2004-10-24 17:58:56 | 显示全部楼层
好。(我已经在hiweed注册,不过我以前没用过blog)
另:hiweed 能帮忙找一网络空间吗,好像有人抱怨disro.cn速度比较慢
发表于 2004-10-24 21:01:14 | 显示全部楼层
morphix的里面的图形工具不错,为什么不debian官方作为gnome的一部分,mdk,suse都有自己控制中心,redhat也有一套自己开发的工具,debian在这方面什么也没有。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表