homelab

Installing Debian on old ASUS motherboards


Having a couple of decommissioned ASUS motherboards (M2NPV-VM and A8N-VM CSM), as well as a 19″ cabinet with ATX cases in it, they could together be a setup for lab work, trying out Linux server stuff, as a test bed for network gear etc.

Installing Linux (Debian) is usually pretty easy, a couple of snags along the way though.
So, note to self: read this if these motherboards need to be reinstalled sometime. It will save you/myself some time.

Booting from USB flash disk

  1. The BIOS of both boards need to be changed so that the flash disk is 1st disk (before the SSD also installed), and also 1st in boot order. Otherwise it will not boot from the thumb drive.
  2. Install Debian as usual.
  3. Once you get to the GRUB installation part of Debian install, follow the default setting and install to first disk. Which is the flash thumb drive, I know. But trying the get the Debian installer to install GRUB anywhere else just failed consistently – I have no idea why. Should have worked to install it to /dev/sdb (which is the SSD).
  4. Reboot into recovery mode with the thumb drive still inserted (as GRUB was installed to it. remember?). You should now end up in a command line shell.
  5. Do a “grub-install /dev/sdb” to install GRUB to the SSD. The devices might be different depending on the installed hardware, check with “ls /dev”, “du” and related commands, to get the device name of the SSD
  6. Reboot, quickly remove the thumb drive during the reboot, and GRUB should now appear, served from the SSD.
Göran Sander Stockholm, Sweden

Qlik Sense consultant and toolmaker at Ptarmigan Labs. Ten years at Spotify, Qlik Luminary and Partner Ambassador, author of the open source Butler tools.

All posts by Göran Sander
Keep reading

More about

homelab

Moving and extending VirtualBox virtual machines

Running things on Apple hardware here, all those Windows-only software packages are a somewhat of a pain… As good as they are, both Qlik Sense, some of the vendor specific embedded software IDEs and other need-to-have software are Windows-only. VirtualBox to the rescue. It is free

2 min read
network

Upgrading firmware on HP ProCurve 1800-24G / J9028B

A recent inventory of network switches showed that the one that is in most active use was on an outdated firmware revision. I really like the switch in question, an HP ProCurve 1800-24G, as it is fanless and thus completely silent. It’s been in 24/7 use for

2 min read
homelab

Compiling Zabbix for small headless server

Turns out the Bubba2 (and of course Bubba3) can run latest version (2.0.2) of Zabbix quite ok, at least when only monitoring a handful of servers. I created a brief installation instruction for bubba here.

1 min read