Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of jjore (6662)

Sunday March 22, 2009
01:06 AM

Netboot installing Ubuntu using a Macbook and dd-wrt

[ #38683 ]

My home machine bit the dust recently so I replaced it with a barebones machine off of newegg. I didn't buy an kind of CD or DVD because I thought I'd be able to re-use a new IDE DVD writer. No such luck. I didn't check the specs carefully enough and the machine has only SATA connections. I tried booting off the same drive over an IDE-USB adapter I keep around for this kind of problem. The BIOS didn't recognize it. Getting this up and running over netboot was easy and just took a little bit of googling. I'm writing this blog entry as just another thing that hopefully helps someone else or maybe is just documentation for me a couple years in the future when I want to do this again.

I changed the machine's boot option to be PXE netboot instead of the local disk or USB. This step was probably entirely optional.

I gave the machine's MAC a static IP in dd-wrt. This step was probably entirely optional.

Following, I set the dhcp-boot entry in the "Additional DNSMasq Options" text window on the web interface.


I followed the instructions on to start a tftpd server on the macbook.

emacs /System/Library/LaunchDaemons/tftp.plist
launchctl load -w /System/Library/LaunchDaemons/tftp.plist

The Ubuntu netboot instructions at suggested that I could find a netboot package at es/netboot/. The page had a link to the hardy installer but I knew the latest version was 8.10 so I googled until I learned that it's name was "Intrepid" and I edited the URL.

I unpacked es/netboot/netboot.tar.gz in /private/tftpboot.

cd /private/tftpboot
wget es/netboot/netboot.tar.gz
tar xzf netboot.tar.gz

The machine booted and installed just fine.

When I was done, I turned tftp back off:

launchctl unload -w /System/Library/LaunchDaemons/tftp.plist

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.