How-To Geek

Upgrade your Windows Home Server with Amahi

Windows Home Server (WHS) is one of the most reliable and feature rich network attached storage devices on the market. However, WHS 2011 removed some key features. If you’re looking for an upgrade without losing features, look no further than Amahi.

A few praised features of Windows Home Server when it launched in 2007 were:

  • Drive extender: allows for multi-disk redundancy and combines multiple drives into a single shared space
  • Remote access: access to the server from on and off your network
  • Add-ins: adds functionality to your WHS without needing to figure out complicated configurations

Windows Home Server 2011 has recently come out but it removes the drive extender feature, requires a 40% faster CPU (1.4 Ghz), and 4 times the RAM (2 GB) as its predecessor. If you’re looking for an upgrade, but don’t want to lose the functionality you have now, the open source project Amahi may be the perfect solution for you.

Amahi is a Linux distribution built on Fedora (an Ubuntu based system is in the works) that makes setting up a home NAS easy. In addition to what other Linux/BSD based NAS distributions give you, Amahi has easy remote access with automatic dynamic DNS updates, drive extender functionality with greyhole, and one click install add-ins via their “don’t call it an App Store” repository.

We will walk you through the process of installing Amahi using the Express CD on an HP Media Smart Server. You can install Amahi on any spare computer you have, but the express CD is designed to run on headless hardware (a computer without a monitor). Because the HP MediaSmart Server is already a low powered, multi-drive server, it makes a great candidate for a free upgrade. Our next article will show you some of the basics of setting up and using your new Home Digital Assistant (HDA).

Step 1: Gather Requirements

To perform the install on a MediaSmart Server  you are going to need a few things.

  1. An Amahi account: You will need to sign up for an account so you can get an install code that we will use later
  2. Express CD iso: download it from the link below
  3. A blank CD: Trust us, the USB installation requires a bit of hacking and after 2 installs it still did not work quite the same way as an install from a physical CD.
  4. A spare hard drive: This can be as little as 4 GB but we’d recommend more so you can also use it for storage.
  5. A spare desktop computer: Despite the express CD being designed for a headless computer, you still need a monitor for the initial installation.

Step 2: Backup Your Existing NAS

If you are going to be installing Amahi on an existing NAS your first step will be to backup. If you have a Windows Home Server then follow our guide to backing up all your information to an external hard drive.

If you have a different NAS platform, you can either see if your platform has a built in backup system or you can manually copy all of your files to a spare hard drive over the network.

Make sure you have a backup before you start the installation, and if you have enough spare hard drives you should keep your existing NAS in tact in case something goes horribly wrong for you.

Step 3: Install Amahi

Once you have your iso file burned to a CD, put your spare hard drive into the temporary desktop you are going to do the installation with. The install is going to erase anything on the spare hard drive as well as any other hard drives plugged into the system. So make sure you only have the hard drive you want plugged in.

Picture via Justin Ruckman

Once the correct hard drive is plugged in, boot the system from the installation CD. The first few steps just ask you to select your language, keyboard layout, timezone, and root password so we will just skip over those and assume you know what to do there.

While the initial file copy and drive formatting is taking place, go to on a different computer and log in with your user account. Once logged in you will be brought to your control panel. Click on “Your HDAs” on the left and then scroll down to the install code that was generated for you.

After the initial drive format and file copy finishes, put in the install code when prompted.

The machine will reboot (make sure you remove the install CD) and bring you back to one more screen to finish the device configuration. After it’s complete your new HDA should automatically reboot and bring to you a login screen.

Optional Step: There is a bug currently in the express CD which caused my machine to get in a loop repeating the above step over and over. To get past this step, select the option to go to a debug console and run the command ConfigAmahi. The system will finish the HDA configuration and reboot into the final usable state.

Step 4: Hard Drive Transplant

If you are not using an HP MediaSmart Server or want to keep your HDA in the desktop you just installed on, you do not need to follow the below steps. These only apply if you are moving the HDA to a new machine.

Once the machine reboots, login to the computer with the root user and the password you set up during installation.

In order to allow Amahi to change physical hardware we just need to configure the machine so that the network works on the new machine. Run the following command from the terminal.

rm /etc/udev/rules.d/70-persistent-net-rules

Then open your eth0 configuration file with the command

nano /etc/sysconfig/network-scripts/ifcfg-eth0

Inside the text editor delete the line that starts with HWADDR and change the ONBOOT=no to read ONBOOT=yes.

The next time your system boots, the wired ethernet adapter will automatically be reconfigured by the system. Shutdown the machine and pull out the hard drive. Remove all of the hard drives from your HP MediaSmart Server and put the new drive in the lowest slot.

Power on the system, check your router to make sure the device shows up on the network, and from another computer open a web page to configure Amahi.

Our next article will cover setting up your new HDA with apps, users, additional storage, and all your files.

Amahi Express CD Download

Justin Garrison is a Linux and HTPC enthusiast who loves to try new projects. He isn't scared of bricking a cell phone in the name of freedom.

  • Published 07/25/11

Comments (18)

  1. PingLu

    Hi, perfectly timed post!

    Does anyone have any experience with amahi on an Acer H341?
    How does it compare to whs 2011?
    Does the drive extender leave the files untouched (e.g. I can pull a hdd from the pool an read the files on another pc?)
    can it handle 4k hdd’s?

    The only reason I installed whs 2011 on my acer h341 is the need for 4k hdd’s and I do really miss the drive extender… so, if amahi could handle both I would transfer today!

  2. Johann

    Does it RAID your disks at all? If it extends your volumes and gives RAID 5 it’s just what I’m after. Especially as I presume I can still get down and dirty in Linux and mod anything I need, like an additional Apache install or Squid etc.

  3. Pete

    I’m not sure about trusting anything that’s based on Fedora, which itself is bleeding edge experimentation from Red Hat. Just makes me itch a little.

  4. Justin Garrison

    @Johann It doesn’t use RAID out of the box (although you could certainly use a RAID controller if you have one) it uses greyhole which allows you to select as many or as few copies of shares that you want to keep. It spans the copies over all the hard drives so if one fails you still have copies.

  5. SJKeegs

    The last time I looked at Amahi, when the DE disappointment with Vail was in full swing greyhole was still listed as an alpha/beta project, with warnings not to use with production data.

  6. David

    Don’t use Fedora as a server OS. It’s a great Linux system for the desktop but for a server it is changing far too frequently and is a bit too much on the bleeding edge. Stick to Debian on servers or use a rolling release like Open Suse Tumbleweed. it’ll save you a lot of trouble staying up to date.

  7. Brian

    Cool. This looks interesting.

  8. Ted Trujillo

    Been using Amahi since WHS became a pain, a couple of years now. It just keeps going, Fedora is no problem, I have about 1tb of songs and movies and back ups, it just keeps on ticking. I am so happy I found Amahi, set up a breeze, rock solid and works well with XBMC and Google music. Thanks Amahi.

  9. shinigamibob

    I was using Amahi for everything on my home network. It was amazingly easy to set up and use. However, as I kept using it, I just felt that I wanted to manage my system manually. So I wiped amahi and installed ubuntu 11.04. Then I installed bind9 (dns server), lamp, openvpn, tons of other programs which I can’t name of the top of my head, and webmin to get a sweet web interface to manage everything. Its running just about everything amahi was, but now I have fine grain control over everything.

    Don’t get me wrong here, Amahi was simply epic. I just wanted something that’ll allow me more control over my services. I just felt I was ready to step into the “big boy” pants.

  10. jochen

    Can I setup on a AMD 2400+ CPU system and then transfer the Harddisk to a VIA C7 CPU system with VIA CN700 Northbridge and VT8237R Plus Southbridge?

  11. Travis

    Would it be possible to install this in a virtual machine to play around with it to see if its what I’m looking for? I don’t have any hardware to put it on yet, and I don’t want to go buy some if it turns out to not be what I need.

  12. Ryan

    They have a Wiki article about how to install it on a VM. I am looking for a replacement for FreeNAS. Might have to try this out.

  13. rcrh

    So, I’ve hit a wall with this. I’ve completed the install and the drive works great in my desktop. But, when I move it to the mediasmart server box I end up with a flashing blue health light on the server and the box never shows up on my router (and Amahi control panel shows my server as “not updating”). I’ve searched but I can’t find anything online about the flashing blue health light (just lots about flashing red & blue). At this point I would think the problem is with the hardware except that I can put my WHS system drive back in and the box books up fine.
    Any thoughts?

  14. Justin Garrison

    The drivers for the lights may not be completely working. On my server the blue heartbeat light always flashes. Do the power and network light stay solid blue for you? And do you have flashing link light on the back ethernet port? I would try to move the amahi installation from one desktop to another desktop with video just to check that it will start on another box. If that works then re-configure the network and try in the MSS again.

  15. rcrh

    Justin, thanks. You’re spot on.

    Somewhere I found out that the flashing blue health light indicates that WHS hasn’t finished booted. I’m betting that will never happen now that I’ve installed Amahi!

    So, I went back through the install and realized that I hadn’t deleted 70-persistent-net-rules because I was logged in as admin rather than root (I got a message saying the file didn’t exist).

    All is up and running now.


  16. rcrh

    OK, next problem. Has anyone got the eSATA port to work? I have a San Digital TR5M-B enclosure full of 2TB drives that I need to get back into my drive pool.
    I’m guessing I need to find a Linux driver for the controller but I have no idea what kind of controller HP used.
    Has anyone crossed that bridge, and if so could you point me to the drive?

    Thanks again.

  17. roystreet

    How does this compare to running an ubuntu server & managing the whole system via webmin? It appears I can do all of the same things with that, but am I missing something?


  18. Galas

    Will it work with a HP MediaSmart EX470 w/ 2GB upgrade?

More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!