Install Solaris from DVD image on disk
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
- install-solaris
- Go blog about a cool hack. :)
3 comments:
Where's "install-solaris"? The Sol10u8 media doesn't seem to have it.
install-solaris is in /usr/sbin or /sbin (or somewhere else in root's $PATH) when booted from the S10u8 media. If you are not booted from the media, you will not see it - it is contained within the miniroot image. The miniroot file can be found in /boot (I think - I don't have recent S10 media handy) on the media.
Post a Comment