My personal SPARC machine is pathetic by today's standards - An Ultra II with a pair of 300 MHz processors, 768 MB RAM, and a very slow CDROM drive. This is pretty much the slowest machine that is supported by Solaris 10. That, and today I decided it was time to get a fresh installation of Solaris Express (build 46) on it.
I first tried the live upgrade route. However, that didn't work out too well because I had previously used bfu to get some newer OpenSolaris bits on the machine. I really did not want to repeat the download process for all the CD ISO's (already had downloaded the DVD ISO). Now, if you think that downloading and burning is slow - you should see the speed of the installation on this CDROM drive. It was probably OK in the days when Solaris fit on one CD, but not today with 5(?) CD's to complete the installation.
The disk layout of the machine was as follows:
- c0t0d0 32 GB disk
- c0t0d0s0 - 4.5 GB available for new /
- c0t0d0s1 - ~500 MB swap
- c0t0d0s7 - remainder as zfs pool "pool0"
- c0t1d0 4 GB disk
- c0t1d0s0 - Root with build 36 (?) + random BFU bits
- Burn build 46 CD0 to a CD-R
- Boot from the CD-R
- Go clean up the shop from the woodworking I was doing earlier
- Do some laundry
- Return to the Ultra II to find that it was just about to ask me which language I speak. Really, it was still working on it. Now do you know why I didn't want to feed it 5 CD's?
- Answer sysidcfg questions
- Exit the installer
- zpool import pool0. After the import was complete but before mounting file systems, zpool crashed with a segv. Later I saved that core file to /a for later analysis
- zfs set mountpoint=/tmp/home pool0/home
- zfs mount pool0/home
- lofiadm -a /tmp/home/build46.iso
- umount /cdrom
- mount -F hsfs -o ro /dev/lofi/1 /cdrom
- Go blog about a cool hack. :)