LinuxSir.Org  
| 网站首页 | 论坛帮助 |

欢迎来到LinuxSir.Org!
您还未登录,请登录后查看论坛,或者点击论坛上方的注册链接注册新账号。


发表新主题 回复
精华主题  
主题工具
旧 04-10-24, 14:30 第 1 帖
ccwufu
 
 
 
注册会员  
  注册日期: Nov 2002
  帖子: 313
  精华: 6
 

标题: 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
上传的附件
文件类型: txt ubuntu-selections.txt (20.9 KB, 113 次查看)

此帖于 04-10-24 14:33 被 ccwufu 编辑.
  ccwufu 当前离线   回复时引用此帖
旧 04-10-24, 17:53 第 2 帖
hiweed
 
hiweed 的头像
 
 
注册会员  
  注册日期: Apr 2004
  我的住址: 青岛
  帖子: 1,574
  精华: 3
 

建议 wufu 兄到 linux.hiweed.com 上面创建 blog,把这些内容发布上去,我可以把您的 blog 置顶。
这样会有更多人受益的。







__________________
我就是原来的 kanaka

http://linux.hiweed.com
  hiweed 当前离线   回复时引用此帖
旧 04-10-24, 17:58 第 3 帖
ccwufu
 
 
 
注册会员  
  注册日期: Nov 2002
  帖子: 313
  精华: 6
 

好。(我已经在hiweed注册,不过我以前没用过blog)
另:hiweed 能帮忙找一网络空间吗,好像有人抱怨disro.cn速度比较慢
  ccwufu 当前离线   回复时引用此帖
旧 04-10-24, 21:01 第 4 帖
hantsy
 
hantsy 的头像
 
 
注册会员  
  注册日期: May 2003
  我的住址: 广州
  帖子: 2,611
  精华: 3
 

morphix的里面的图形工具不错,为什么不debian官方作为gnome的一部分,mdk,suse都有自己控制中心,redhat也有一套自己开发的工具,debian在这方面什么也没有。。。







__________________
Spring Live 中文版发布
Blog:http://hantsy.cublog.cn
Gmail/Gtalk:hantsy@gmail.com
  hantsy 当前离线   回复时引用此帖
发表新主题 回复


主题工具

发帖规则
您 [不可以] 发表新主题
您 [不可以] 回复主题
您 [不可以] 上传附件
您 [不可以] 编辑您的帖子

已 [启用] BB 代码
已 [启用] 表情符号
已 [启用] IMG 代码
已 [禁用] HTML 代码
[论坛跳转…]


所有时间均为[北京时间]。现在的时间是 08:37


Powered by vBulletin 版本 3.6.8
版权所有 ©2000 - 2012, Jelsoft Enterprises Ltd.
官方中文技术支持: vBulletin 中文
版权所有 ©2002 - 2011, LinuxSir.Org