Updated Install Script - Debian

Tutorials and Guides about using/developing Linux/BSD/Mac OS @Xbox360
Post Reply
Posts: 1
Joined: Sat Aug 29, 2015 10:03 pm

Updated Install Script - Debian

Post by cmold » Sat Aug 29, 2015 10:10 pm

Because most of the scripts are outdated and do not work, I took it upon myself to update the script and host all the necessary files (a lot of thanks goes out to Comcast user "ssmurf" for hosting these files)

Code: Select all

wget http://cmold.xyz/lynxbox/install.sh
- this is updated and will work, besides the debootstrap package, the archive format changed a bit, and sources needed updating

http://cmold.xyz/lynxbox/XeLL-Bootloade ... 4.3.tar.gz

1. Write the Gentoo Live CD Beta 2 (Free60/SourceForge page) to a CD (kinda important. It needs to be a CD because of the way Linux reads partitions)
2. Write the Xell Bootloader to a CD (kinda important, again, needs to be a CD because of the same reasons)
3. Wait for the install. Everything will work, no other details are necessary as they'll be displayed on screen.

Code: Select all

dd if=/dev/zero of=/dev/sda bs=512 count=1
sfdisk /dev/sda << 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 --no-check-certificate http://cmold.xyz/lynxbox/depend/debootstrap_0.3.3.2etch1_all.deb
ar -xf debootstrap_0.3.3.2etch1_all.deb
cd /mnt/debian
zcat < /mnt/debian/work/data.tar.gz | tar xv
export DEBOOTSTRAP_DIR=/mnt/debian/usr/lib/debootstrap
export PATH=$PATH:/mnt/debian/usr/sbin
debootstrap --arch powerpc etch /mnt/debian http://archive.debian.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
cat > /mnt/debian/etc/network/interfaces << EOF
iface lo inet loopback
auto lo
auto eth0
iface eth0 inet dhcp
cat > /mnt/debian/etc/apt/sources.list << EOF
deb http://archive.debian.org/debian/  etch main contrib non-free
cp /mnt/debian/root/.bashrc /mnt/debian/root/.bashrc.orginal
cat >> /mnt/debian/root/.bashrc << EOF
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
echo "AVAHI_DAEMON_START=0" > /etc/default/avahi-daemon
/etc/init.d/networking restart
cd /usr/lib/xorg/modules/drivers/
rm -r -f *
wget http://cmold.xyz/lynxbox/depend/xenosfb_drv.so
cd /etc/X11/
rm -r -f xorg.conf
wget http://cmold.xyz/lynxbox/depend/xorg.conf
mkdir /lib/modules/
touch /lib/modules/
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
update-rc.d -f hwclock.sh remove
update-rc.d -f festival remove
update-rc.d -f portmap remove
update-rc.d -f cupsys remove
update-rc.d -f spamassassin remove
update-rc.d -f alsa-utils remove
rm /root/.bashrc
mv /root/.bashrc.orginal /root/.bashrc
/etc/init.d/gdm start
echo "Base System Install Complete! Probably."
echo "You may now shutdown the xbox360."
echo "Then continue the install by booting the Xell-Bootloader-sda2 FROM A CD !!!."
If a mod could update the script on the Wiki page as well, that'd be awesome given how many people go there at first and are dissapointed afterwards.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest