From Greg Porter's Wiki

Jump to: navigation, search

OpenSolaris 2009.06 x86 Load Notes.

RIP, OpenSolaris. I'd like to say it's been great knowing you, but I fscking *HATE* using Solaris. The command line seems intentionally obfuscated just to piss me off. Stability-wise, though, nothing used to beat it. I regularly used it for NFS and Samba servers.

  • Get the last and final OpenSolaris 2009.06 x86.
  • Load it. The installer doesn't give you any options for sizing file systems. It says you need at least a 9GB disk. It'll load with a 9GB disk, but there's no room to patch later. 10GB isn't large enough either. I used 20GB.
  • Update the list of packages.
portergl@opensolaris:~$ pfexec pkg refresh
  • Patch the patcher.
portergl@opensolaris:~$ pfexec pkg install SUNWipkg
  • Patch it.
portergl@opensolaris:~$ pfexec pkg image-update
  • Reboot. It will have automatically made a new boot image named opensolaris-1, and it will try to boot it. Every time I tried to boot it, it didn't go very far, and then spontaneously rebooted. The updates are broken. Go figure. Fscking Solaris. So interrupt the boot, and pick the *PREVIOUS* image (the original one). Then fix it like so:
portergl@opensolaris:~$ pfexec beadm mount opensolaris-1 /mnt
portergl@opensolaris:~$ pfexec bootadm update-archive -F -R /mnt
portergl@opensolaris:~$ pfexec beadm unmount opensolaris-1
  • Reboot again, and boot on the latest image, opensolaris-1, that you just fixed. You should be up on kernel snv_134b.
portergl@opensolaris:~$ uname -a
SunOS opensolaris 5.11 snv_134b i86pc i386 i86pc Solaris
  • If using a VMware virtual machine, you should load VMware Tools. On the controls of the vm, click "Install/Upgrade VMware Tools". This will mount a (fake) cdrom named "VMware Tools". Then do:
portergl@opensolaris:~$ cd /media/VMware\ Tools/
portergl@opensolaris:~$ cp vmware-solaris-tools.tar.gz /tmp
portergl@opensolaris:~$ cd /tmp
portergl@opensolaris:~$ gunzip vmware-solaris-tools.tar.gz 
portergl@opensolaris:~$ tar -vxf vmware-solaris-tools.tar
portergl@opensolaris:~$ cd vmware-tools-distrib/
portergl@opensolaris:~$ pfexec ./
portergl@opensolaris:~$ touch /reconfigure
  • Load some benchmarks.
portergl@opensolaris:~$ pfexec pkg install iozone
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              653/653         4/4      0.2/0.2 $<3>

PHASE                                        ACTIONS
Removal Phase                              5871/5871 
Install Phase                                  23/23
portergl@opensolaris:~$ pfexec pkg install bonnieplus
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1         9/9      0.1/0.1 $<3>

PHASE                                        ACTIONS
Install Phase                                  34/34 
portergl@opensolaris:~$ pfexec pkg install sysbench
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  2/2       11/11      4.2/4.2 $<3>

PHASE                                        ACTIONS
Install Phase                                  72/72 
Personal tools