-from MydediBox
Here is a crappy help to boot linux on the 360.
First, you need :
– 360 xbox with an exploitable kernel (4532 or 4548).
– Dvd drive flashed with xtreme firmware.
– Serial adapter (http://mydedibox.homelinux.com/1.jpg).
– King kong patched.
– Xell loader (thanks tmbinc).
– A powerpc toolchain (http://kegel.com/crosstool/)
– Install NFS server on your linux box, and make a share available for the 360 linux kernel to load the filesystem (eg. /tftpboot/x360). You also need portmap installed.
For help if needed :
http://tldp.org/HOWTO/NFS-HOWTO/server.html
http://www.google.fr/search?hl=fr&q=nfs+server+howto&btnG=Recherche+Google&meta=
– Now we need to make the filesystem, i choose ubuntu 6.10 powerpc64 livecd iso (ubuntu-6.10-desktop-powerpc.iso), mount it, install squashfs-tools then extract the compressed livecd content :
ninux$ sudo mount -t squashfs -o loop,ro ubuntu-livecd/casper/filesystem.squashfs mnt/
ninux$ cp -a mnt/. /tftpboot/x360
Note that there isnt enough device copied from the ubuntu compressed file system to our nfs root file system to boot correctly. Copy your current “/dev” folder to the nfs share :
ninux$ cp -a /dev/. /tftpboot/x360/dev”
– Edit the .config file from tmbinc (http://mydedibox.homelinux.com/downloads/x360/.config) so the kernel find the filesystem on your computer ip : “root=/dev/sdb1 ip=10.0.0.204 video=xenonfb console=tty0 nfsroot=10.0.0.1:/tftpboot/x360”
– Recompile the kernel (of course with the xenon patch applied) :
ninux$ alias smake=’make ARCH=powerpc CROSS_COMPILE=powerpc64-unknown-linux-gnu-‘
ninux$ smake
– Now upload the Xell loader via serial to boot your newly kernel (either by tftp or cdrom, i prefere tftp), it should load the filesystem from your NFS server. You can then chroot an usb disk from there so you dont need the NFS server anymore (a lot tricky).
– I had a probleme with the password from the livecd to pass the prompt so i added the option “single” to the kernel config line (“root=/dev/sdb1 ip=10.0.0.204 video=xenonfb console=tty0 nfsroot=10.0.0.1:/tftpboot/x360 single”) so i can change the root passwd then removed this option.
Now i should look to make an initrd so my usb disk will be available when the kernel is booting. It would prevent all this tricks.
Edit : You can also install linux on your 360 hard drive, so you dont need the nfs part anymore. Note that its not sure that you will be able to use it again after format it to a linux filesystem.
Anyway if you want so, mount the “filesystem.squashfs” file under your nfs share (“/tftpboot/x360/mnt/fs” for exemple) so it is available under your 360 linux box.
When logged on the 360, use cfdisk for exemple to make a partition on your 360 hdd (/dev/sda), format it with mkfs.ext3.
Mount it (mount /dev/sda1 /temp) then copy the filesystem on it (“cp -a /mnt/fs/. /temp).
Now recompile your kernel with this option : “root=/dev/sda1 video=xenonfb console=tty0”. You now have linux installed on your hdd !
Finnish the work .. (edit /etc/fstab, /etc/hosts, /etc/network/interfaces etc …).