Introduction:This is an advanced guide for installing Ubuntu to an Xbox360. I am assuming you already have Linux experience and understand the fundamentals. Anybody who is willing to write a guide for beginners can feel free to reference any information from this guide.

Prerequisites:• Xbox360 with a kernel version of 4532 or 4548. (If your kernel version is lower then 4532, you will need to update using HD_DVD_10-2006.zip.)• Hitachi 360 DVD Drive with modified firmware (Samsung does not work!)• Patched King Kong disk with the new King Kong Shader exploit for XeLL.• Cpasjuste’s Gentoo Beta Live CD found here http://downloads.sou...on-beta.tar.bz2 You must use the above version, because the first one lacks the tools needed.• Internet Connection (High Speed is preferred, since you will be downloading the install packages from the internet.)• Microsoft VGA cable for the 360 is also recommended, since it can be difficult to see what you are doing on a TV.• USB Keyboard/mouse.• Made a backup your retail xbox360 drive. (This is very important; not doing so will make it impossible to save 360 content to the drive again!)

Backing up your Xbox360 Retail Hard Drive WARNING:Before even considering formatting your retail Xbox 360 Hard Drive for Linux, you must take a backup of either the whole drive or just the key sector to be able to use it again for saved games and other 360 content. This can be done with disk tools such as WinHex. If you’re unsure on how to do this, do not continue!

Installing Ubuntu Linux using Cpasjuste’s Gentoo Beta Live CD:This guide is assuming that you have already patched and burned a King Kong ISO and have the new beta live CD booting your 360 into Gentoo. If you are not this far yet, then please refer to other guides to accomplish this. You will have to login as root before starting or put sudo at the beginning of each command, same goes for the rest of the guide.

At this point you should be in Gentoo Linux. DHCP should have setup your network connection. To check type ping www.google.com into the terminal you should get a response if your network connection is up and running. If not follow these steps to manually configure your network connection:

Type:

CODE

ifconfig eth0 192.168.0.2 up

Replace 192.168.0.2 with the IP address that you want to set.

CODE

route add default gw 192.168.0.1

Replace 192.168.0.1 with the gateway address that you want to set.

CODE

vi /etc/resolv.confnameserver 192.168.9.1

Replace 192.168.0.1 with the nameserver address that you want to set.

Now test your connection again, ping www.google.com you should now get a response, if you don’t get a response double check your settings.

Setting up the Hard Drive:Type

CODE

cfdisk /dev/sda

This will bring up a graphical fdisk program.Create your Linux swap partition: Select New > Primary > 1024 > Select BeginningCreate your Linux install partition (you have to arrow down to free space first): Select New > Primary > Let it use the rest of the free space and just press enter

Now you should have two partitions, sda2 should have the largest portion of space and sda1 should be around 1 gig to be used for swap space, if this is correct then arrow over to write, press enter and type yes. Then quit

Once that is done you need to format the install partition with:

CODE

mkfs.ext3 /dev/sda2

Then setup your swap partition with:

CODE

mkswap /dev/sda1sync; sync; syncswapon /dev/sda1

Install Ubuntu to the Xbox360:Now that your drives are formatted and partitioned, it is time to mount the install partition and make a directory to get started from:

Configure Networking:You will now need to configure your network, below is an example. Make sure to use the settings for your network. (If you do not set a loopback as shown in the example, gnome will fail to boot correctly)

Booting into Ubuntu from the Hard Drive:Since you are no longer using the live cd, you will need to burn this ISO that includes a kernel that will boot from the Hard Drive.http://mydedibox.hom...loader-sda2.iso

Boot this cd just as you booted the live cd. You should now be in Ubuntu Linux.

This also can take up to and hour or so. When it’s almost finished you will get a resolution setup screen, select 1280x768 as the default resolution with space bar, and deselect the rest. The setup will continue for ten or so more minutes.

Configuring X:Next you will need to download the xenon Xorg driver.Type:

Now reboot and you will be greeted by ubuntu with Gnome the next time you load the XeLL boot cd.

Have fun!!

Guide written by stonersmurf ( http://xboxhacker.net / http://free60.org/)Thanks to:Cpasjuste for all the help.Tmbinc for all the great tools, drivers, and patches.Gentoo and Ubuntu developers for the great distro’s.

Where to find more info on Linux for Xbox 360:http://www.free60.org/Free60 is a project towards porting GNU/Linux, BSD, Darwin and related open-source operating systems to the Microsoft Xbox 360 video game console.

Microsoft, Xbox, Xbox360 (and probably some more) are registered trademarks by Microsoft Corp. No affiliation between the Free60 Project and Microsoft Corp. exists or is implied. All other trademarks and copyrights are property of their respective owners.

Absolutely awesome tut. Is it possible to format any sata hard drive to work with this since it erases all the ms stuff anyways? Throw a 300gb sata in there and you have a kick ass desktop.

Sure, it is possible to use any SATA hard drive no matter the size, just make sure you buy a 2.5 SATA laptop hard drive. Then its as simple as swapping out the retail 360 drive for your new one.

BTW: Since I wrote this guide there has been a few updates, no samsung support yet, but VGA scaling has been fixed. So if your using a VGA cable and want to go above 1280x700 resolution, use this boot CD in place of the one posted above:https://home.comcast...er-sda2-new.iso

You might have to rerun Xorg config to choose additional resolutions, just follow the same steps as above, but select the new resolutions you prefer.

O well, they said 98% of the packages was built with autobuilder, but it felt more like 50%. This could be good option if you are after a LAMP-server or so. Not for the desktop atm. They should have credit for building and serving us PPC64 anyway. Tnx!