The original Opensolaris bootchart work was done by Erick Shrock and Dan Price in dtrace but the code was not released.



minutes to build, seconds to boot, a lifetime to store
add_drv -v rtlsCurrent Method: Then edit /mnt/eon0/.backup entries to include the new driver files
/etc/name_to_major /etc/driver_aliases /kernel/drv/rtls /kernel/drv/rtls.conf /kernel/drv/amd64/rtlsDeprecated Method: Then edit the FILES section in updimg.sh to include this file
FILE="/etc/hosts /etc/hostidchange to
FILE="/etc/hosts /etc/hostid /etc/name_to_major /etc/driver_aliases /kernel/drv/rtls /kernel/drv/rtls.conf /kernel/drv/amd64/rtlsEnd Deprecated Method
rtls 52edit to be
rtls 52 sfe 53To preserve this driver beyond reboots, run updimg.sh /mnt/eon0/boot/x86.eon
/boot/solaris/bin/root_archive unpack x86.eon [path_to_unpacked_dir] cp rtls [path_to_unpack_dir]/kernel/drv cp rtls.conf [path_to_unpack_dir]/kernel/drvFor 64-bit EON you would also add
cp rtls [path_to_unpack_dir]/kernel/drv/amd64 add_drv -b [path_to_unpacked_dir] -n -v [driver_added_kernel_drv] /boot/solaris/bin/root_archive pack x86-new.eon [path_to_unpacked_dir]Method 2: On EON, enable virtual consoles and insert a pause in the updimg.sh script. Run the updimg.sh until the pause. Finally, switch consoles (ctrl+alt+FX, where X is the console number) and copy the driver binary and driver.conf to /mnt/upd/kernel/drv.
svccfg import /var/svc/manifest/system/vtdaemon.xml svcadm enable vtdaemon svcadm enable console-login:vt2 svcadm enable console-login:vt3now you can use ctrl-alt-F1/F2/F3 to switch between terminals
backup_repository undo_mnt_lofsto:
backup_repository echo -n "Press enter to continue after adding drivers " ; read x undo_mnt_lofsrun (if default path_to_img=/mnt/eon0)
/usr/bin/updimg.sh [path_to_img]/x86.eonWhen you see the mesg press ctrl-alt-F2, login and add your driver to /mnt/upd/kernel/drv. When done, ctrl-alt-F1 to switch back, login and press enter to complete updimg.sh. You should then have a new image with your added drivers.
pkgtrans webmin-1.450.pkg /tmp allThis converted the package from a data stream to file system format and produced the directory containing the package in file system format.
mkdir pool/webminthen I symlinked the following:
mkdir pool/varwebmin
cd /etc ; ln -s ../abyss/webmin webminfinally, cd /opt/webmin (this is only needed once)
cd /var ; ln -s ../abyss/varwebmin webmin
cd /opt ; ln -s ../abyss/WSwebmin/reloc webmin
cd /var/log ; ln -s ../../abyss/bandwidth bandwidth
cd /opt/webminand to start
./postinstall
cd /etc/webminHere's quick capture of the session:
./start
zfs create -V 1G pool/swapThis will build a 1G swap(in this case it's named swap, but could be named to your preference). Then simply add the following to /mnt/eon0/.exec to auto mount at boot
/usr/sbin/swap -a /dev/zvol/dsk/pool/swapOptional: You can also add it to /etc/vfstab but this would require running updimg.sh to preserve the changes.
echo "/dev/zvol/dsk/pool/swap - - swap - no -" >> /etc/vfstabPlease note the flexibility here. Let's say you need 2Gb of swap instead of the previous 1Gb. Simply:
swap -d /dev/zvol/dsk/pool/swap zfs destroy pool/swap zfs create -V 2G pool/swap swap -a /dev/zvol/dsk/pool/swapYour new, improved and resized swap is ready!