How to mount an Xbox formatted drive on Ubuntu

When I finally get a PCIe IDE adapter that works, this is gonna come in handy: How to mount an Xbox formatted drive on Ubuntu.

The IDE adapter that I have is this one, but it reports all disks as damaged (and they’re not). I think maybe it’s too new for the drives maybe? Speaking a newer version of the ATA protocol? I have no idea really.

Mounting Windows SMB share from Debian Wheezy

Configuring an SMB mount from my Linux box to my Windows box. This was helpful.

Basically:

# apt-get install cifs-utils

Then create your credentials file:

# cat > /root/amanda.smbpass  <<EOF
username=jj5
password=SECRET
EOF

Then edit /etc/fstab and add:

//amanda.jj5.net/Users  /media/amanda cifs defaults,noauto,credentials=/root/amanda.smbpass 0 2

Then create /etc/network/if-up.d/mount-amanda like this:

#!/bin/bash
mount /media/amanda

And make sure it’s executable:

# chmod +x /etc/network/if-up.d/mount-amanda

Mounting can also be done from the command-line:

# mount -t cifs -o username=jj5,password=SECRET //amanda.jj5.net/Users /media/amanda