[问题]请问如何定制自己的ubuntu光盘

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
Hamtaro
帖子: 308
注册时间: 2005-04-15 5:59

[问题]请问如何定制自己的ubuntu光盘

#1

帖子 Hamtaro » 2005-04-15 6:33

如题,很想知道。还望告知

我只想要有TOMCAT、J2SE、ECLIPSE一个X就可以了。

请问如何定制?
AMD Althon64X2 Dual Core Processor 5000+
Jetway Hammar A770
Segate SATA 160G + Segate ATA 80G
Geil DDR2-800 2048 MB
AOC2016SW 1650x1050 with Geforce 9600GT

Windows XP sp3 & ubuntu 10.10
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#2

帖子 oneleaf » 2005-04-15 8:51

需要有制作livecd的技巧,具体的方法可以查阅morphix的定制过程。

转:http://www.linuxsir.org/bbs/showthread. ... did=148935

howto : make a customized ubuntu main module

ccwufu @ linuxsir.com
http://www.linuxsir.org/bbs/showthr...threadid=148935

ccwufu @ morphix.org
http://www.morphix.org/modules/newb...62e8646d44446c1

my finished iso (morphix base 0.5pre3 + ubuntu 4.10 mainmod) can be download at
ISO
ftp://distro:smth@distro.cn/incomin...untu-livecd.iso
MD5 CheckSum
ftp://distro:smth@distro.cn/incomin...untu-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/...ntu.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
附件
ubuntu-selections.txt.tar.gz
(4.8 KiB) 已下载 132 次
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
Hamtaro
帖子: 308
注册时间: 2005-04-15 5:59

谢谢,太感谢了

#3

帖子 Hamtaro » 2005-04-15 9:08

大大你真是太好了…………

请允许我在这里跪谢!

谢谢! :oops: :lol: :lol: :lol: :lol:
AMD Althon64X2 Dual Core Processor 5000+
Jetway Hammar A770
Segate SATA 160G + Segate ATA 80G
Geil DDR2-800 2048 MB
AOC2016SW 1650x1050 with Geforce 9600GT

Windows XP sp3 & ubuntu 10.10
kuerbt
帖子: 305
注册时间: 2006-04-13 13:53

Re: [问题]请问如何定制自己的ubuntu光盘

#4

帖子 kuerbt » 2009-02-04 9:36

学习下
回复