How to include FATX support in a regular Linux kernel
From Xbox-Linux
DISCLAIMER: This article is for users who want to do more in depth tinkering with Linux on their XBoxes. If you simply want to run Linux on your XBox and have no desire to compile your own kernel, etc., then download either Xebian or Dynebolic 1.4 and disregard this document: both of these Linux distributions have built in support for FATX.
Creating a kernel that uses fatx can be very confusing. This is a simple tutorial on how to create a kernel that can read the xbox hard drive.
The first thing you need is the kernel, you can get that at the Linux Kernel Archives (http://www.kernel.org). You will also need a patch file from xbox-linux' download page which matches up with the kernel you downloaded. The patch can be found here (http://sourceforge.net/project/showfiles.php?group_id=54192&package_id=147485).
- First extract the kernel to /usr/src and go to the kernel directory
- Then extract the patch withing the kernels directory
- Apply the patch by typeing 'patch -p1 < (patch file)'
- If there are any errors then make sure your version numbers match up exactly
- Configure the new kernel with 'make menuconfig' or 'make xconfig' or whatever
- To allow fatx you must enable development/incomplete drivers in the code maturity menu
- Also make sure to uncheck the box that only allows cleanly compilable drivers to be installed
- Next, under device drivers->block devices, disable large block devices
- Under file systems->partition types specify xbox
- Finally under file systems->dos you can now enable fatx
- Compile the kernel with make and the modules with make modules modules_install, etc...
You should now be able to use the fatx filesystem with your kernel.
Also, to make a clone of your current kernel use 'gunzip -c /proc/config.gz > .config' before make menuconfig
If there are any problems or you need any support, you can contact me at s7masterNOSP@Myahoo.com

