This page was deprecated, then updated, but it's still not recommended, not supported, and most likely not a good idea.
A better idea is to use SmartOS as intended: http://wiki.smartos.org/display/DOC/Getting+Started+with+SmartOS#GettingStartedwithSmartOS-CreatingaPersistentzpool
|THIS WILL WIPE YOUR DISKS AND DESTROY YOUR BITS AND WILL BE COMPLETELY UNSUPPORTED IF YOU DO IT|
Seriously, unless you understand what every step in this process does, don't do this.
And if you understand every step in the process, think very hard before you do this.
This is not supported, and if you have problems with your system you will politely be told to boot off a USB stick, a CD, or a PXE server.
|These instructions are based on notes and haven't been verified|
- Install SmartOS to a single disk or a single mirror (no RAIDZn or stripes of vdevs) (e.g. c0d0, d0d1, c0t0d0, c0t1d0, etc.), in this example, a mirror on c0d0 and c0d1:
- Let the system reboot after the install and log in as root.
- Download the latest iso, rip it open, copy files to where they are needed.
- Fix up your /zones/boot/grub/menu.lst file (note the path!) and install GRUB.
- Remove the CD and do a reboot. You should now boot directly off of your zones pool.
- This machine you've just set up hosts your Simple PXE Server for the rest of your SmartOS machines and nothing else.
- You are a developer and want to be able to do fresh build of SmartOS, slurp the platform directory out of your build zone into your zones/smartos filesystem, and reboot onto your freshly built image. Those details are again left to the reader.
You might hit one of the reasons this is not recommended; newer pool versions / feature flags may require you to re-install grub.
If this is a development machine where you've rebuilt SmartOS, it's not so bad... From the GZ:
If you forget to do this and reboot to find that grub is broken, you will need to rescue yourself with a USB stick or CD so that you can do it.
So in case it wasn't clear yet, DO NOT RUN A PRODUCTION SERVER THIS WAY!!!