So far I installed Ubuntu 10.10 onto my xbox hard drive. It boots into a shell with my old 2.6.20 kernel. But to boot up correctly I need to compile a newer kernel with the latest patches. I haven't had any luck booting the precompiled kernels. All I can see is the TUX images but no character output. Maybe it's compiled for serial output?
First you need to extract the ubuntu-10.10-alternate-powerpc.iso onto a local web server. I also put the xorg.conf and xenosfb_drv.so on the server too. Modify the install script to point to the new location.. Then use the Gentoo LiveCD to run the script.
#!/bin/bash
dd if=/dev/zero of=/dev/sda bs=512 count=1
sfdisk /dev/sda << EOF
,124,S
,,L
EOF
mkfs.ext3 /dev/sda2
mkswap /dev/sda1
sync; sync; sync
swapon /dev/sda1
mkdir /mnt/ubuntu
mount /dev/sda2 /mnt/ubuntu
cd /mnt/ubuntu
mkdir /mnt/ubuntu/work
cd /mnt/ubuntu/work
wget
http://192.168.1.100...buntu1_all.udebar -xf debootstrap-udeb_1.0.23ubuntu1_all.udeb
cd /mnt/ubuntu
zcat < /mnt/ubuntu/work/data.tar.gz | tar xv
export DEBOOTSTRAP_DIR=/mnt/ubuntu/usr/share/debootstrap
export PATH=$PATH:/mnt/ubuntu/usr/sbin
debootstrap --arch powerpc maverick /mnt/ubuntu
http://192.168.1.102/loki/Ubuntu/echo Xenon > /mnt/ubuntu/etc/hostname
cat > /mnt/ubuntu/etc/fstab << EOF
/dev/sda2 / ext3 defaults 0 0
/dev/sda1 none swap sw 0 0
EOF
cat > /mnt/ubuntu/etc/network/interfaces << EOF
iface lo inet loopback
auto lo
auto eth0
iface eth0 inet dhcp
EOF
cat > /mnt/ubuntu/etc/apt/sources.list << EOF
deb
http://192.168.1.102/loki/Ubuntu/ maverick main restricted universe multiverse
EOF
cp /mnt/ubuntu/root/.bashrc /mnt/ubuntu/root/.bashrc.orginal
cat >> /mnt/ubuntu/root/.bashrc << EOF
passwd
mkdir /lib/modules/2.6.21.1
touch /lib/modules/2.6.21.1/modules.dep
apt-get update
apt-get install ntp wget -y --force-yes
aptitude install ubuntu-desktop -y
echo "AVAHI_DAEMON_START=0" > /etc/default/avahi-daemon
/etc/init.d/networking restart
cd /usr/lib/xorg/modules/drivers/
wget
http://192.168.1.102.../xenosfb_drv.socd /etc/X11/
wget
http://192.168.1.102/loki/xorg.confcd /usr/lib/xorg/modules/linux/
mv libfbdevhw.so libfbdevhw.so.bk
wget
http://home.comcast....f/libfbdevhw.sorm -r -f /work/
echo "" > /etc/gdm/gdm.conf-custom
sed -i 's/AllowRoot=false/AllowRoot=true/' /etc/gdm/gdm.conf
rm /root/.bashrc
mv /root/.bashrc.orginal /root/.bashrc
/etc/init.d/gdm start
EOF
echo "Base installation completed."
echo "To finish the installation. Reboot then load the sda2 bootloader CD."