Well after a lot of digging around, I was able to come up with Solaris 2.4 and proceeded to install it on QEMU.
And it works!
From my notes though, it was far easier to use Solaris 2.9’s “format” command to prepare a 2GB hard disk. For some reason Solaris 2.4’s format command didn’t want to write the label to the disk.
But with a labeled disk in hand, and placing the ISO image under the “hdb” position I was able to boot up the installer with a simple
boot disk1:d
During the installation, you can select networking, just remember that the ip address you’ll use is 10.0.2.15, the workstation is networked with a netmask of 255.255.255.0 and you should use the “other” method of resolving names.
As mentioned in the FAQ, don’t let the installer reboot when it’s done (it’s an option), be sure to do the following:
cd /a/etc
# cat >> system
set scsi_options=0x58
^D
Otherwise it’ll load up the drivers in the wrong order, and it won’t mount the root partition… The best part, is that the networking works great, and that I’m able to telnet INTO the VM, and out of the VM.
And you will want a default route…
# cat > defaultrouter
10.0.2.2
^D
Then in the file /etc/nsswitch.conf change the following:
hosts: files
to
hosts: files dns
Then to ‘fix’ up your /etc/resolv.conf
# cat > resolv.conf
nameserver 10.0.2.3
#
And then I like to add the following hosts to speed up telnet…
# cat >> hosts
10.0.2.2 qemunat
10.0.2.3 qemudns
^D
Then finally (yes!) the file /etc/default/login
comment out the line:
CONSOLE=/dev/console
Now you should be good to go!
Or at lest those are the steps I took to make my system boot. Oh, and don’t forget it won’t auto boot, you’ll have to issue
boot disk0
every time you fire up Qemu.




