How To: Convert your Xbox to a NAS - Part 2 : Introduction
1. Introduction
So you now have followed Part 1 of this 'How To' and have completed the hardware part of the project. In this part, we're going to install the open source software that will get your modified 'box running as a SAMBA fileserver. We'll also get a complete LAMP-based webserver up and running so that we can install the TorrentFlux client that you'll be able to use to manage all your BitTorrent downloads.
First, you can now put the top back on your modified Xbox and tuck it away in a cupboard and forget about it. Everything we do from now on will be via SSH. Now it's time to do a bit of reading. If you're not familiar with Linux partitioning, formatting and mounting, first take a look at this entire document. To format and mount our new disk you will need to type in the following when logged in as root:
fdisk /dev/hdbn (new partition)
p (primary partition)
1 (partition 1)
enter ( to select the default first cylinder of 1)
enter ( to create the partition using the entire disk)
w (to write the new partitions to disk)
q ( to quit )
now format it with:
mkfs -t ext2 -j -m 1 /dev/hdb1
Then create a directory in which you will mount the disk:
mkdir /samba_share (or whatever you want to call it)
and then make it readable and writable to everyone:
chmod 777 /samba_share
Now we want to automatically mount the drive every time the Xbox boots. Edit your /etc/fstab file using vim, and add the following line at the bottom:
/dev/hdb1 /samba_share ext3 defaults 2 1
then exit vim and then mount it:
mount /mnt/hdb1
| Discuss This Article!
( ) Replies |
- Next page Installing and removing software





OK, so now when you boot into Linux and SSH to your Xbox you should have a folder called
How To: Convert your Xbox to a NAS - Part 2 : Read more
Hi, Just have one question, how do you create the database? Doesn't work with just typing "mysqladmin create torrentflux", it just says "access denied for user 'root'@'localhost'"
pls advice!
/Schatz
Sorted it myself.
mysql -u root -p
I think you are missing two very important software to install.
apt-get install libapache-mod-php4
apt-get install php4-mysql
otherwise it will not render php in apache and connect to the db