The Moose Moose

Moose Tail

A server at last

Friday 16th September 2011 - By The Moose

Well, I finally bought a server.  It’s an HP ProLiant MicroServer - it was dirt cheap and I assumed it would be a bit of a joke.  Actually, I’m impressed.

It seems to me that this thing is a perfect home server.  It’s fast enough.  It draws about 30watts; I’m perfectly happy to leave it on all day.  Yet despite its size it’s a real server at heart.

The server came with 1GB of RAM and a single puny hard drive.   It’s got two memory slots, 4 HD bays and 1 for a CD drive.  It also has tonnes of USB sockets – 4 on the front, two at the back and 1 inside.

I bought another 4GB of RAM for mine; funds won’t stretch to SpinPoints at the moment so I’ve no idea how easy it is to configure a RAID on the thing.  The RAM upgrade was easy enough.  The machine is cramped inside and I found unplugging all the leads was fiddly.  Once everything is disconnected you can pull the motherboard straight out the front of the cabinet and put it onto your workbench.  After that the upgrade is simple – except for plugging everything back in of course.

I installed desktop Linux Mint on my server and it runs beautifully.  If it had a sound card I’d say this thing would be a perfectly decent desktop.

I chose the CD ISO of Linux Mint Gnome V11 64bit and installed it onto a RAM stick using Universal USB Installer.  Once this was plugged into the front of the server it booted just fine.  Using the USB pen drive to install Mint onto the server's hard drive was uneventful.

After the first boot there was an error message but an online update sorted that out.  After the online update I upgraded to the DVD distribution using the Codecs and DVD options on the Mint Welcome Screen. 

The server is an AMD machine and has an ATI chipset.  Mint automatically pulled in the drivers - no problem.

Dual booting Linux without changing your Windows 7 disk

Thursday 11th August 2011 - By The Moose

Dual booting GRUB4DOS via the Windows 7 boot manager

Dual booting Windows 7 is rather more of a pain in the neck because BOOT.INI has disapeared in that OS.

You need to use the bcdedit DOS command to create a new menu entry.

bcdedit /create /d "Linux" /application BOOTSECTOR
bcdedit /set {id} device boot
bcdedit /set {id} path \grldr.mbr bcdedit /displayorder {id} /addlast

Then to finish up you need to copy grldr.mbr, grldr and menu.lst to the root of C:

For more information about GRUB4DOS see my other post.

Dual booting Linux without changing your Windows disk

Friday 1st July 2011 - By The Moose

I have been mucking around with Linux for ages now, mainly Ubuntu.  Unfortunately I have been hampered by having a rubbish computer to run it on, zero Linux experience and the fact that using Linux drives me round the twist.  I mean, what is the point in having a GUI if getting anything done requires the command line?

Still, I was using Ubuntu for a couple of years and was starting to think it was getting better when Canonical went and did something stupid.  I tried their new-fangled dock thing.  I decided the reason I didn't get it was probably because I'm so old and crusty, maybe all the kids are into this UI.  I tried asking some - they said "Nope, that sucks."

So I nuked the box and tried something else.  I tried Fedora but I've been using apt-get for too long now.  Learning a whole new set of package names was not an option.  I went hunting for new Debian builds.  I tried Lubuntu, Xubuntu, Bodhi, CrunchBang and Debian its self.  I couldn't find anything I really liked.  Finally I remembered reading about Linux Mint.  I tried it, it took a bit of getting used to but I'm hooked.  So, why did I spend so long running Ubuntu?

Unfortunately by this time I'd formatted my old box and reinstalled XP.  I had a nice and useful set of apps on it.  I didn't want to risk damage to my setup.

I added a second hard drive and installed Mint on it with very little problem.  I had to do the partitioning manually but at least I was sure the Windows drive would be untouched.  Then I went looking for a way to make BOOT.INI pass control to my second hard drive.  Yes, I could have swapped the two drives around and then used Grub to remap the drive numbers for Windows' benifit but that seemed a bit more of a bodge than the answer I found.

I tried dumping my second drives boot sector using both dd and bootpart you see this suggested in various locations around the Internet but this method really doesn't seem to work.  GRUB4DOS on the other hand works beautifully and my XP drive remains almost entirely untouched.

How to multi-boot Windows without changing your boot disk

The method is to make NTLDR call GRUB4DOS which calls GRUB on the Linux drive.  This is called chainloading and takes next to no time.  Yes it sounds tortuous but these are all tiny little programmes that load in a fraction of a second.  You won’t notice it happening.

  • Download the latest GRUB4DOS zip file from SourceForge.  It is dated 2009 but don't worry it works fine.  The archive is rather smaller than 1MB.
  • Extract the file grldr (no extension) from the archive.  You don't need anyof the other stuff.  The one I'm using is 213kB.
  • Stick grldr into the root of C: next to ntldr and boot.ini.
  • Make a new file in the root of C:  Call it "menu.lst"  Edit it in a text editor and add the following text
    # Pass control to second HD
    # Some options
    color blue/green yellow/red white/magenta white/magenta
    timeout 0
    default /default
    # Chainload second HD
    title Linux (hd1)
    chainloader (hd1)+1
    rootnoverify (hd1)
  • Finally, one tiny change to your Windows configuration - add this text to a new line at the end of boot.ini.

Job's a good'un.  It works and my Windows installation is practically untouched.