Serving SmartOS from your PXE server
• 1 min read
Serving SmartOS from your PXE server
2011-08-17
(Quick and Dirty Edition)
Assumptions
- This guide assumes that you already have a PXE (TFTP) server set up.
- This guide assumes that you use pxelinux
- This guide assumes that you only want to boot SmartOS. Please adjust accordingly.
- This guide assumes that you know how to do all sorts of other things as well...
Instructions
- Download the ISO from smartos.org
- Extract the entire
platform
subtree from the ISO.
- Download a tarball of SYSLINUX and get the
mboot.c32
binary out of it.
- In the tftp root directory, create a directory named
smartos
- Copy the
platform
directory you got from the ISO into the smartos
directory
- Copy the
mboot.c32
binary into the smartos
directory
- Update your
pxelinux.cfg/default
file with this content:
default smartos
prompt 1
timeout 50
label smartos
kernel smartos/mboot.c32
append smartos/platform/i86pc/kernel/amd64/unix -B console=text,standalone=true,noimport=true,root_shadow='$5$2HOHRnK3$NvLlm.1KQBbB0WjoP7xcIwGnllhzp2HnT.mDO7DpxYA' --- smartos/platform/i86pc/amd64/boot_archive
References
- Ryan's Guide to a disk install of SmartOS
- mboot.c32 documentation