Installing Debian With gPXE and netboot.me - WezM.net by Wesley Moore
WezM.net

Installing Debian With gPXE and netboot.me

Published on

WezM.net was down again this weekend. The cause this time was the the large storms in Melbourne flooding the office where the computer that hosts this site lives. The computer escaped the water but the network and Internet connection did not.

The office is located 60km from home so fixing problems like these have to wait until office hours, hence the extended downtime. This is the second time in an many weeks that I’ve run into this problem so I’ve decided to move WezM.net to my Mini ITX server, which is more accessible out of hours as it’s at home.

The ITX server flawlessly powered WezM.net from 2005 to 2007 with a personal best uptime of 407 days. I recently dug it up and had planned on running FreeBSD on it. However over the weekend I decided to take the easy way out and just go back Debian, which originally powered the server. It’s a little better suited to this server due the wide availability of binary packages; compiling stuff is not fast on an 800Mhz Via C3. In case you’re wondering why I’m bothering with self hosting it’s because I’m too stingy to pay for a VPS.

The ITX server lacks a CDROM drive and my previous attempts to boot from USB flash drives have failed. This makes installing new OSes a bit of a challenge. I decided to try out installing Debian via netboot.me. As the name suggests, netboot.me allows you to netboot a PC via the Internet. To do so you download and burn their bootable image to CD, floppy or USB drive. I didn’t use any of these though as I already had a 8Mb (yes Mb) bootable CF card with gPXE installed on it. gPXE is an open source and enhanced network bootloader.

The installation involved the following steps:

After that it downloads a kernel and initrd image and boots. All directly off the Internet. Brilliant!

gPXE net boot small

Comment icon Stay in touch!

Follow me on Twitter or Mastodon, subscribe to the feed, or send me an email.