BIVBlog #17: Creating installation images for the diskless installer

With the diskless installer all set up, what’s missing now are installation images. In this episode I explain how to create them, what to watch out for and how to ensure they are efficient and convenient to use.

Table of Contents

00:01:30 Using virtual machines and raw disk images to create install images
00:02:00 Creating sparse disk image files
00:04:08 Installing FreeBSD (just for a change)
00:05:35 Improving the compress ratio of compressed images: The core problem
00:07:45 Images and the SSH daemon: Don’t image the SSH host keys!
00:08:30 Update: This was because the shell is started chroot /mnt.
00:11:20 Creating an image from an entire virtual disk
00:12:22 Testing the installation image
00:13:20 Updates to the installer/rescue system
00:17:30 When the target disk is larger than the image
00:18:10 Choosing installation image partition sizes
00:19:47 Improving the compress ratio of compressed images: Removing crud data
00:21:55 Imaging encrypted images: Why not to do it
00:24:35 Creating images from a physical disk
00:26:25 Fixing a “corrupt GPT”
00:28:00 Setting up a writable NFS share with maximum security for your install server
00:28:47 Using the rescue/installer system to save a disk image
00:29:57 Speeding things up with partial images
00:35:35 Choosing the most convenient partition sizes
00:37:39 Post-installation strategies


An updated (version 1.2) archive of the various files for the diskless installer/rescue system.


Long term IPv6 evangelist/book author/trainer/consultant and generic Unix guy (*BSD, Linux, Solaris, and about a dozen more).

Leave a Reply

Your email address will not be published.