BackgroundA standard Xbox comes setup with 5 fatx partitions (fatx is a Xbox specific filesystem similar to fat). There is no partition table and the size and position of these partitions is fixed and hardcoded into the Xbox BIOS. If you have a hard disk larger than 8GB it is possible create a additional fatx partition (F) by formating the additional space. If you have a hard disk larger than 137GB (i.e. requires LBA48 to address) then it is possible to format space above 137BG to form a 'G' fatx partition. A linux kernel with the xbox-linux patches applied will detect these partitions as hda50-hda56.
PartitionsE = hda50 Data
C = hda51 System Files
X = hda52 Game Cache A
Y = hda53 Game Cache B
Z = hda54 Game Cache C
F = hda55 Additional partition
G = hda56 Additional partition
Mounting in linuxHere's how to mount F (hda55) to /mnt/F. The same method can be applied to the other partitions
1) Open a X Terminal.
2) Become root by typing in
su. You will then need to enter the root password for your linux distribution
3) Make a directory for where you want to mount the Xbox partition using
mkdir /mnt/F.
4) Type
mount -t fatx /dev/hda55 /mnt/F to mount the F partition on /mnt/F.
All the files on F should now be accessible under /mnt/F (try typing in
ls /mnt/F to check this)
PermissionsThe fatx filesystem doesn't have UNIX-style permissions so files permissions are set based on the options passed to
mount. By default only the root user has write access. The option
umask=000 grants write access to all users when issuing the mount command (e.g.
mount -o umask=000 -t fatx /dev/hda55 /mnt/F).
Editing the fstabAs you restart linux your Xbox partition will no longer be mounted. To have a partition mounted automatically you must add a entry for it into
/etc/fstab. Open this file in you favourite editor as root. (for example I would open a X Terminal, type
su to become root followed by
nano /etc/fstab). A fstab entry is in the following form:
CODE
<file system> <mount point> <type> <options> <dump> <pass>
<file system> is the filesystem to be mounted (e.g. /dev/hda55)
<mount point> is the directory to mount the filesystem on (e.g. /mnt/F)
<type> is the type of filesystem (e.g. fatx)
<options> allows you to specify mount options for the filesystem (e.g. umask=000)
In most cases you'll want to leave <dump> and <pass> equal to 0.
To have a filesystem mounted automatically the option
auto is required. Therefore if you want F automatically mounted on /mnt/F with write access to all users you would add the following line to /etc/fstab:
CODE
/dev/hda55 /mnt/F fatx umask=000,auto 0 0
More infoFor more info on the mount command and fstab type
man mount and
man fstab from within a X Terminal.
This post has been edited by friedgold: Jun 3 2005, 05:29 PM