Raw dump from the email to Mark Shuttleworth and Corey Burger (edited for spelling and wiki style)

I put detailed info into folder "ubuntu" on my Yahoo public folder.

I also posted this at the "2ch" BBS.

Overview

  • Do "debootstrap"
  • Change locale to Japanese
  • Change TIMEZONE to TOKYO(JST-9)
  • Add ssh package
  • Set up IP (192.168.0.44/24 GW192.168.0.1)
  • Set up root passwd
  • shadowpasswd on
  • Modify fstab and kboot.conf
  • Copy Kernel

Instructions

Build Chroot Environment.

Download Ubuntu PPC install disc image and extract following deb packages to the directory for this work. You can choose what is in your favor.

  • apt-utils_0.6.45ubuntu14_powerpc.deb
  • apt_0.6.45ubuntu14_powerpc.deb
  • bash_3.1-5ubuntu3_powerpc.deb
  • busybox-udeb_1.1.3-2ubuntu3_powerpc.udeb
  • coreutils_5.96-5ubuntu4_powerpc.deb
  • debootstrap_0.3.3.0ubuntu7_all.deb
  • dpkg_1.13.22ubuntu7_powerpc.deb
  • gzip_1.3.5-14ubuntu1_powerpc.deb
  • libacl1_2.2.39-1ubuntu2_powerpc.deb
  • libattr1_2.4.32-1ubuntu1_powerpc.deb
  • libc6_2.4-1ubuntu12_powerpc.deb
  • libgcc1_4.1.1-13ubuntu5_powerpc.deb
  • libncurses5_5.5-2ubuntu1_powerpc.deb
  • libselinux1_1.30-1ubuntu1_powerpc.deb
  • libsepol1_1.12-1_powerpc.deb
  • libstdc++6_4.1.1-13ubuntu5_powerpc.deb
  • netbase_4.25ubuntu2_all.deb
  • perl-base_5.8.8-6_powerpc.deb
  • wget_1.10.2-2ubuntu1_powerpc.deb

The following may not be required...

  • busybox-udeb_1.1.3-2ubuntu3_powerpc.udeb
  • libacl1_2.2.39-1ubuntu2_powerpc.deb
  • libattr1_2.4.32-1ubuntu1_powerpc.deb

Create Files and Directories Which are Required for Installation.

# mkdir -p proc/ dev/ var/lib/dpkg/
# touch var/lib/dpkg/status
# mknod dev/null c 1 3
# cat > etc/apt/sources.list << EOF
deb http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
EOF
# cp /etc/resolv.conf etc/
# mount -t proc none proc

Do Debootstrap

# chroot .
% apt-get update
% mkdir edgy
% debootstrap edgy edgy
% exit

Setup Network

# cd edgy
# cp /etc/resolf.conf etc/
# cat > etc/apt/sources.list << EOF
deb http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
EOF
# cat > etc/network/interfaces << EOF
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.44
netmask 255.255.255.0
gateway 192.168.0.1
EOF

More Setup

# chroot .
% shadowconfig on
% apt-get update ; apt-get install ssh
% cat >> /etc/modules << EOF
scsi_mod
ps3pf_storage
sd_mod
ehci-hcd
uhci-hcd
usbhid
EOF

Set Locale

These instructions are for setting the locale to Japanese and setting the time zone to Tokyo time.

For other locales, replace ja_JP.UTF-8 with your locale. For ex: replace ja_JP.UTF-8 with us_EN.UTF-8 for American English. Choose your own time zone with tzconfig

To set your locale to Japanese and time zone to Tokyo:

% echo ps3 > etc/hostname
% locale-gen ja_JP.UTF-8
% echo LANG=ja_JP.UTF-8 >> /etc/environment
% apt-get install ssh man manpages-ja
% tzconfig

select "y ", "5" then "Tokyo"

% ntpdate ntp.ubuntu.com
% vi /etc/fstab
% vi /etc/kboot.conf
% exit

Copy Kernel

# cp -arf /boot .
# cp -arf /lib/modules lib/

Installation/PS3 (last edited 2008-06-27 10:15:05 by localhost)