Resources for Running Solaris OS on a Laptop

As Solaris gets more and more popular I’m seeing more and more people running Solaris on a laptop as their primary operating system. I’ve even got friends who have migrated over completely to Solaris from Linux. I’ve been using it for years and ma…

As Solaris gets more and more popular I’m seeing more and more people running Solaris on a laptop as their primary operating system. I’ve even got friends who have migrated over completely to Solaris from Linux. I’ve been using it for years and managed to tolerate some of the problems we had in the early days, but today it works brilliantly on many machines.I came across this article on BigAdmin, it’s old, but a lot of the information is still perfectly valid.Read Resources for Running Solaris OS on a Laptop

Determining Solaris Support using Sun Device Detection Tool

Want to know whether your machine is capable of running Solaris? I came across the Sun Device Detection Tool, a Java application that you can run straight from the browser (it’s a JNLP app) that will check the devices on your machine and then comp…

Want to know whether your machine is capable of running Solaris?I came across the Sun Device Detection Tool, a Java application that you can run straight from the browser (it’s a JNLP app) that will check the devices on your machine and then compare that against the devices known to work and then tell you if your hardware is going to be OK.Sun say you don’t have to use the tool if your system is listed on the HCL, but I’ve found it to be a pretty useful for checking all sorts of machines even they are listed.For a more detailed overview, Dennis Clarke has a detailed look at the 1.2 version here. The 2.0 release is the current one.

Using bash by default

I much prefer to use bash as my main shell, but in Solaris, you are much better off using the default shell, particularly for root, just in case there is a problem and you cannot mount the /usr directory during a boot. OK, it may not happen often …

I much prefer to use bash as my main shell, but in Solaris, you are much better off using the default shell, particularly for root, just in case there is a problem and you cannot mount the /usr directory during a boot.OK, it may not happen often (and in fact, the default install is now to have only one partition for the Solaris OS, one for user files and swap), but I figure it is best to err on the side of caution.The best way to do this is to configure your .profile to exec /usr/bin/bash if it is available, but do nothing otherwise, like this:

if [ -x /usr/bin/bash ]then    exec /usr/bin/bashfi

Using exec means that the Bourne shell (sh) will be replaced by bash, so when you logout, you don’t have to logout from two shells.Obviously you can continue to put whatever you like into the standard .profile according to your needs, while using the .bash* init scripts to do your custom bash operations.