Economy Size Geek - Installation Toolkit
The DHCP server needs to offer up a PXE boot image for this to work. In my case, that meant I needed to update my DD-WRT configuration. I decided to change it first. I went to the Services tab on my router and added dhcp-boot=pxelinux.0,keg,192.168.210.254 to the box for Additional DNSMasq options. That is the PXE image, the name of my file server and my file server's IP. If you are running a DHCP server as well, you need to add something similar, depending on what DHCP software you are running.
Now the rest of the configuration happens on my file server. I installed a tftp server to serve up the PXE boot image:
sudo apt-get install tftpd-hpa
This creates a directory (/var/lib/tftpboot) and a config file (/etc/default/tftpd-hpa). Edit the config file by changing RUN_DAEMON="no" to RUN_DAEMON="yes". Then:
sudo /etc/init.d/tftpd-hpa restart
The next step is to get an installer:
sudo cd /var/lib/tftpboot sudo wget -r -nH --cut-dirs=8 -np ftp://archive.ubuntu.com/ ↪ubuntu/dists/karmic/main/installer-i386/current/images/netboot/
Now you can boot up your machine and have it load the standard Karmic installer. Part of the fun and flexibility of having a PXE server is that you can choose what to install on the fly. I'm going to start with adding on the x64 installer for Karmic. First, I needed to clean up the directory structure a bit. I removed everything (except the pxelinux.0 and pxelinux.cfg, which both turned out to be symlinks to files I deleted):
sudo mkdir -p ubuntu/karmic/i386 sudo mkdir ubuntu/karmic/amd64 sudo wget -r -nH --cut-dirs=8 -np ftp://archive.ubuntu.com/ ↪ubuntu/dists/karmic/main/installer-i386/current/images/netboot ↪-P /var/lib/tftpboot/ubuntu/karmic/i386 sudo wget -r -nH --cut-dirs=8 -np ftp://archive.ubuntu.com/ ↪ubuntu/dists/karmic/main/installer-amd64/current/images/netboot ↪-P /var/lib/tftpboot/ubuntu/karmic/amd64 sudo cp ubuntu/karmic/i386/ubuntu-installer/i386/pxelinux.0 ↪/var/lib/tftpboot/ sudo mkdir /var/lib/tftpboot/pxelinux.cfg
Now, set up a menu to choose between the two installers. Create a /var/lib/tftpboot/boot.txt file with:
- Install Options - karmic_i386_install karmic_i386_expert karmic_amd64_install karmic_amd64_expert
Create a /var/lib/tftpboot/pxelinux.cfg/default file with:
DISPLAY boot.txt
LABEL karmic_i386_install
kernel ubuntu/karmic/i386/ubuntu-installer/i386/linux
append vga=normal initrd=ubuntu/karmic/i386/
↪ubuntu-installer/i386/initrd.gz --
LABEL karmic_i386_expert
kernel ubuntu/karmic/i386/ubuntu-installer/i386/linux
append priority=low vga=normal initrd=ubuntu/karmic/
↪i386/ubuntu-installer/i386/initrd.gz --
LABEL karmic_amd64_install
kernel ubuntu/karmic/amd64/ubuntu-installer/amd64/linux
append vga=normal initrd=ubuntu/karmic/amd64/
↪ubuntu-installer/amd64/initrd.gz --
LABEL karmic_amd64_expert
kernel ubuntu/karmic/amd64/ubuntu-installer/amd64/linux
append priority=low vga=normal initrd=ubuntu/karmic/
↪amd64/ubuntu-installer/amd64/initrd.gz --
From here on, you just need to download a distribution you want to support and add it to the menu. If you are the graphical type, you even can modify the system to allow menus and pretty icons.
PXE is great, because it allows you to boot up and choose the installer you need. The problem is that it assumes you are on the physical network. In the case of my wireless computers (Netbooks, laptops and that one computer that sits out in my brew house), I couldn't use PXE. The main workaround is to get a wireless bridge so the device can boot over a physical port on the bridge, and let the bridge worry about the Wi-Fi. The question of how to do that has floated around so long, I am not holding out hope a solution will show up any time soon.
Let's say you want some of the features of PXE, but you don't want to bother installing a server. It turns out you have two different options for doing pretty much the same thing over the Internet. You can use boot.kernel.org or www.netboot.me. Both are using gPXE, which allows you to do the same things I did, but you don't need to have any infrastructure (although you may want to have a lot of bandwidth, depending on how much installing you do).
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
| Dart: a New Web Programming Experience | May 07, 2013 |
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Home, My Backup Data Center
- New Products
- RSS Feeds
- Trying to Tame the Tablet
- What's the tweeting protocol?
- Dart: a New Web Programming Experience
- Drupal is an Awesome CMS and a Crappy development framework
4 hours 15 min ago - IT industry leaders
6 hours 38 min ago - Reply to comment | Linux Journal
23 hours 26 min ago - Reply to comment | Linux Journal
1 day 1 hour ago - Reply to comment | Linux Journal
1 day 3 hours ago - great post
1 day 3 hours ago - Google Docs
1 day 4 hours ago - Reply to comment | Linux Journal
1 day 9 hours ago - Reply to comment | Linux Journal
1 day 9 hours ago - Web Hosting IQ
1 day 11 hours ago
Enter to Win an Adafruit Prototyping Pi Plate Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Prototyping Pi Plate Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.




Comments
Uh... Koala???
How about Lucid Lynx? When was this written again?