This may work for you guys
CODE
#!/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/debian
mount /dev/sda2 /mnt/debian
cd /mnt/debian
mkdir /mnt/debian/work
cd /mnt/debian/work
wget http://http.us.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.22_all.deb
ar -xf debootstrap_1.0.22_all.deb
cd /mnt/debian
zcat < /mnt/debian/work/data.tar.gz | tar xv
cp /mnt/debian/usr/sbin/debootstrap /mnt/debian/usr/share/debootstrap
export DEBOOTSTRAP_DIR=/mnt/debian/usr/share/debootstrap
export PATH=$PATH:/mnt/debian/usr/share/debootstrap
debootstrap --arch powerpc lenny /mnt/debian ftp://mirrors.kernel.org/debian/
echo Xenon > /mnt/debian/etc/hostname
cat > /mnt/debian/etc/fstab << EOF
/dev/sda2 / ext3 defaults 0 0
/dev/sda1 none swap sw 0 0
proc /proc proc defaults 0 0
EOF
cat > /mnt/debian/etc/network/interfaces << EOF
iface lo inet loopback
auto lo
auto eth0
iface eth0 inet dhcp
EOF
cat > /mnt/debian/etc/apt/sources.list << EOF
deb ftp://mirrors.kernel.org/debian/ lenny main contrib non-free
EOF
cp /mnt/debian/root/.bashrc /mnt/debian/root/.bashrc.orginal
cat >> /mnt/debian/root/.bashrc << EOF
passwd
apt-get update
apt-get install ntp wget -y --force-yes
apt-get install x-window-system -y --force-yes
aptitude install gnome -y
apt-get install build-essential firefox gftp khexedit console-tools -y --force-yes
cd /usr/lib/xorg/modules/drivers/
rm -r -f *
wget http://3dslice.net/lenny/xenosfb_drv.so
cd /etc/X11/
rm -r -f xorg.conf
wget http://3dslice.net/lenny/xorg.conf
mkdir /lib/modules/2.6.21.1
touch /lib/modules/2.6.21.1/modules.dep
echo "" > /etc/gdm/gdm.conf-custom
sed -i '/security/ a\AllowRoot=true' /etc/gdm/gdm.conf
sed -i 's/#LEDS=+num/LEDS=+num/' /etc/console-tools/config
rm /root/.bashrc
mv /root/.bashrc.orginal /root/.bashrc
/etc/init.d/gdm start
EOF
echo "Base System Install Complete!"
echo "You may now shutdown the xbox360."
echo "Then continue the install by booting the Xell-Bootloader-sda2."
http://3dslice.net/lennyhttp://3dslice.net/lenny/lennyinstall.shHaven't gotten a chance to try it.
This post has been edited by jigglywiggly: May 13 2010, 07:39 PM