mkdir mnt extract-cd squashfs edit
sudo mount -o loop ubuntu-11.04-desktop-i386.iso mnt/
rsync --exclude=/casper/filesystem.squashfs -a mnt/ extract-cd/
chmod -R +w extract-cd/
sudo mount -t squashfs -o loop mnt/casper/filesystem.squashfs squashfs/
sudo cp -a squashfs/* edit/
sudo umount squashfs mnt

./edit.sh
apt-get --purge autoremove language-pack-de language-pack-de-base language-pack-es language-pack-es-base language-pack-gnome-de language-pack-gnome-de-base language-pack-gnome-es language-pack-gnome-es-base language-pack-gnome-pt language-pack-gnome-pt-base language-pack-gnome-xh language-pack-gnome-xh-base language-pack-gnome-zh-hans language-pack-gnome-zh-hans-base language-pack-pt language-pack-pt-base language-pack-xh language-pack-xh-base language-pack-zh-hans language-pack-zh-hans-base openoffice.org-help-en-us
wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | apt-key add -
wget -q https://www.ubuntulinux.jp/ubuntu-jp-ppa-keyring.gpg -O- | apt-key add -
wget https://www.ubuntulinux.jp/sources.list.d/natty.list -O /etc/apt/sources.list.d/ubuntu-ja.list

vi /etc/apt/sources.list

archive.ubuntu.com を jp.archive.ubuntu.com に置換

deb http://jp.archive.ubuntu.com/ubuntu natty universe を有効に(kasumiを入れるため)

apt-get update
apt-get upgrade
apt-get install ubuntu-desktop-ja openoffice.org-l10n-ja poppler-data

vi /etc/apt/sources.list

# deb http://jp.archive.ubuntu.com/ubuntu natty universe をコメントアウト

apt-get update

カーネルがあれば削除

rm /boot/initrd.img*
exit

find extract-cd/isolinux -name '*.tr' -o -name '*.hlp'|egrep -v "/ja.|/en."|xargs rm
echo "ja" > extract-cd/isolinux/langlist
echo "ja" > extract-cd/isolinux/lang

vi extract-cd/README.diskdefines

#define DISKNAME Ubuntu 11.04 "Natty Narwhal" - Release i386 Japanese Remix

wubi.exeを差し替え

./make-squashfs.sh && ./make-iso.sh

UbuntuJapaneseWiki: Develop/Natty/RemixMaking (最終更新日時 2012-01-10 11:49:09 更新者 匿名)