- This should work with most SATA hard drives, and SATA/IDE -> USB adapters.
- You will likely need to run these commands with sudo or as root
- HDD locking rules apply. It seems that most SATA drives are lockable, but always check the compatibility lists before going too crazy.
- xboxhdm23usb-linux (This is the same as JCRocky5’s “beta3” version, I’ve just stripped out everything related to windows, and included the patched smartctl for linux.)
- C Drive files. Whether JCRocky5’s XboxHDM Build, your own backup, or a retail MS Dash.
- qemu-system-i386 (Debian, Arch) Check your package manager
- Place eeprom.bin inside the same folder as the `XboxHD` and `HDD_files` folders.
- Decide what files you want to be written to the new disks C drive, and place those inside `HDD_files/C/`
- Enter the `XboxHD` directory.
- Find what label the Xbox hard drive was given by your system
- Check for lock status on the drive (Make sure to change all instances of /dev/sdX to match whatever disk you are working with. eg /dev/sdc )
./smartctl -g security /dev/sdX
- Unlock the disk drive if required
./smartctl -s security-eeprom-unlock,../eeprom.bin /dev/sdX ./smartctl -s security-eeprom-disable,../eeprom.bin /dev/sdX
- Boot xboxhdm with qemu. The disk that is being created must be passed through as /dev/hda as XboxHDM only works with IDE devices and only checks /dev/hda for the HDD. The XboxHDM distro will boot from the files passed through as /dev/hdb.
qemu-system-i386 -kernel kernel -initrd initrd.gz -hdb fat:rw:../HDD_files/ -hda /dev/sdX -append "load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=24000 rw root=/dev/ram pci=biosirq vga=0x317"
- Use XboxHDM to create new hard drive
- After you are finished creating the hard drive, shutdown qemu/xboxhdm and lock the drive with the eeprom
./smartctl -s security-eeprom-setpass,../eeprom.bin /dev/sdX
- Put the hard drive back in the Xbox and see if it boots! Make sure your drive is set to Master!