Building A Solaris 10 Recovery DVD

Published on October 04, 2007
Written by Christian Joaquin Cruz
Page 2 of 6
Discuss This Article

Create The Flash Archive

It's important to select a partition slice that is at least large enough to hold the entire installed Solaris 10 image. The /opt file-system on my test box was created in a separate slice (c0d0s7) for such operations. It is separate from the root slice and has a generous 133 gigabyte capacity. Keep in mind that a DVD typically only holds about 4.7 Gigabytes, so the flash archive plus the install kernel and tools must all fit within that limit. In addition, the author of the previously mentioned procedure claims, "Intel systems seem to have issues with FLAR's over 2 GB in length." As a consequence, it is best to create a flash archive soon after the node is built, drivers loaded, video, sound and everything else configured, but before extra software is loaded so that the image size is still relatively small. Generally speaking, the flash archive created in compressed format came in at 1.9 gigabytes and the boot image plus tools (I deleted a lot of unnecessary packages from the install DVD) at an additional 0.93 gigabytes. Besides compression, the flarcreate utility also allows you to exclude directories from the archive with the "-x" option to help in reducing the size. I tend to install software, like Sun does, in the /opt directory, which makes it easy to find and exclude files using flarcreate. In the following set of commands in italics, I create a subdirectory in /opt called flash_images and create a flash archive of the system in said directory. The "-x" argument is used to exclude the flash_images directory so that flash archive does not try to create an archive of itself. More than one directory can excluded, but one "-x" must precede each directory listed. Other notes about flarcreate arguments; -n indicates the title of the archive, -R indicates the top-level directory (in this case /), -a indicates the author, -c by itself is compressed format, -e indicates comments, and the last argument is the name of the file created. If the flarcreate command is run without the "-c" option/argument the flash image created will be 3.2 Gigabytes in size.

cd /opt
mkdir flash_images
flarcreate -n intel_D201GLY -R / -a "CJC" -c -e "Intel D201GLY with drivers" -x /opt/flash_images /opt/flash_images/intel_D201GLY_0.flar

Copy The Solaris Installation DVD To The Local Drive

For the same reasons mentioned earlier, create a working directory in the /opt account to copy the contents of the DVD. Insert the Solaris 10 installation DVD in the drive and allow the volume manager to mount it (if the volume manager is disabled, enable it using the command: svcadm restart volfs ).

cd /opt
mkdir sol10dvd
cd /cdrom/cdrom0
find . -print | cpio -dump /opt/sol10dvd/

The last command will take a long time, but please allow it to finish. To minimize the size of the ISO image, delete most of the unneeded Solaris software packages (SUNW*) and then copy the flash archive in to the new working directory.

cd /opt/sol10dvd/Solaris_10/Product
rm -rf SUNW*
cp /opt/flash_images/intel_D201GLY_0.flar /opt/sol10dvd/
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Debian GNU/Hurd 2013 Release Brings New Packages
  2. Intel Ultrabook Performance Is Faster With Mesa 9.2
  3. Hot Relocation HDD To SSD Support For Btrfs
  4. Phoronix Test Suite 4.6.0 "Utsira" Released
  5. New Intel X.Org Driver Supports All Of Haswell
  6. SQLite Now Faster With Memory Mapped I/O
  7. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  8. Qt For Tizen Launches, Based On Qt 5.1
  9. KTAP Released For Linux Kernel Dynamic Tracing
  10. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  11. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
Latest Forum Talk
  1. SQLite Now Faster With Memory Mapped I/O
  2. Hot Relocation HDD To SSD Support For Btrfs
  3. Intel Linux OpenGL Driver Leading Over Apple OS X
  4. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  5. Handbrake 0.9.9 Supports OpenCL Offloading
  6. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite