
   _  __ __         _  __    __  ______     __  ___      __            
  | |/ // /_  ____ | |/ /   / / / / __ \   /  |/  /___ _/ /_____  _____
  |   // __ \/ __ \|   /   / /_/ / / / /  / /|_/ / __ `/ //_/ _ \/ ___/
 /   |/ /_/ / /_/ /   |   / __  / /_/ /  / /  / / /_/ / ,< /  __/ /    
/_/|_/_.___/\____/_/|_|  /_/ /_/_____/  /_/  /_/\__,_/_/|_|\___/_/     
                                                                       
                                          __
                         ____ _____  ____/ /
                        / __ `/ __ \/ __  / 
                       / /_/ / / / / /_/ /  
                       \__,_/_/ /_/\__,_/   
                     
                                                 __              __
   ________  _________ _   _____  _______  __   / /_____  ____  / /
  / ___/ _ \/ ___/ __ \ | / / _ \/ ___/ / / /  / __/ __ \/ __ \/ / 
 / /  /  __/ /__/ /_/ / |/ /  __/ /  / /_/ /  / /_/ /_/ / /_/ / /  
/_/   \___/\___/\____/|___/\___/_/   \__, /   \__/\____/\____/_/   
                                    /____/                         



This simple script will let you build a working xbox harddrive from
scratch. This is possible due to the simple way an xbox HD is recognized
by the xbox - the partition table is simply hardcoded in the xbox kernel.

By writing "magic" words to certain locations on a HD we can therefore 
"trick" the xbox and an xbox-enabled linux kernel into thinking we have an
xbox Hd attached to our PC. The mkfs.fatx utility from the xboxdumper package
at xbox-linux.sourceforge.net lets us format fatx partitions.


WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 
W                                                                             G
W This automated xbox HD builder will only work if you attach the xbox        G
W or blank HD on your PRIMARY MASTER. I also recommend to disconnect all      G
W other harddrives. Then you will not accidently destroy your current drives. G
W You must still have at least one CDROM-drive attached.                      G
W                                                                             G
W NB ! This distro uses the following notation :                              G
W Primary   Master : /dev/hda                                                 G
W Primary   Slave  : /dev/hdb                                                 G
W Secondary Master : /dev/hdc                                                 G
W Secondary Slave  : /dev/hdd                                                 G
W                                                                             G
W First of all - if you intend to use this tool to make an xbox HD for an     G
W soft- or un-modded xbox you need to be able to lock the drive after it      G
W has been generated.                                                         G
W You therefore need either your hdd passwd (obtained from Evox or            G
W ConfigMagic) or your xbox eeprom. With the eeprom you can generate the      G
W unique passwd with W the Liveinfo tool from Team Assembly.                  G
W                                                                             G
W IF YOU DONT HAVE YOUR HD KEY OR EEPROM DO NOT CHOOSE OPTION 4)              G
W ThIS WILL WIPE YOUR FATX PARTITION AND REBOOT THE MACHINE.                  G
W IF YOU HOTSWAPPED YOUR STOCK HD THEN IT WILL BE RELOCKED UPON REBOOTING     G
W AND SINCE AT THIS STAGE IT IS NOT FUNCTIONAL IN YOUR XBOX YOU CANNOT        G
W HOTSWAP AGAIN. BASICALLY YOU'VE GOT YOURSELF A PAPERWEIGHT...               G
W                                                                             G
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING


WHAT YOU NEED :

1) Read the above warning on hdd passwd or eeprom

2) This linux distro. Hopefully obtainable from xbins.

3) For the freshly formatted fatx HD to be of any use you need to supply the
xboxhd tool with the xbox system-files (C-drive) and optionally your game save
(E-drive). You can get these files from FTP'ing to your xbox and copy
the files over to your PC. If you don't have these files you can obtain them
from Slayers Evox Autoinstaller. This is an xiso that you can extract with
tools like XISO or Qwix. The system-files is located in CD-DRIVE:/SYSTEM/ALL/c

You can now either 
- burn a seperate CDROM with two folders containing the 
  xbox C-, and E-drive respectively, or
- Put the xbox C- and E-drive files in the C and E folders 
  in this directory before making the burnable iso.

For information on howto make the iso read the HOWTO.txt the main directory
of this package.

In the current version of xboxhd you can :
1) Build a working HD from scratch. This is two-step procedure. First we 
   write the parition table.  Afterwards we can continue formatting 
   the partition.
2) Rebuild C-drive. This will format the xbox HD's C-partition and
   rebuild it - bringing it back to a virgin state.
3) Cloning an existing xbox HD onto a blank drive. Again hotwapping is OK.
4) Install an F-drive if you HDD is large enough - this is checked!
   Note that the also get this option when building a HDD from scratch
   using option 1).
5) Wipe an existing xbox fatx partition table. Intended for corrupted xbox
   HD's that the user wants to rebuild from scratch.
6) Generate the unique hdd password needed to lock drives for the xbox.
   Requires the eeprom.bin to be on the CD.
7) Make DOS floppy with HDD locking/unlocking tools


To start the tool type 'xboxhd' on the command-line. Hopefully the tool itself
is more or less self-explanatory.

Good luck !
