OpenSolaris Developer Preview / Indiana on MacBook
By lr on Nov 07, 2007
I installed the last week the OpenSolaris Developer Preview / Indiana inside Paralles Desktop 3.0 running on MacBook Pro laptop (see my post concerning installing SXCE for details about setting up the virtual machine).
Booting the LiveCD went very well and the auto-login worked for me. I booted the system from real CD not just an iso image and I was quite impressed by the speed of the boot process. Then I started the actual installation and again, everything went smooth.
The last thing I had to do was to install the network drivers. This required mounting
/Library/Parallels/Tools/vmtools.iso (set the
at the Edit/Virtual Machine.../CD/DVD-ROM Options/Image File and reboot the virtual
machine). The device driver is located at
/media/PRTOOLS/Drivers/Network/RTL8029/SOLARIS. The recommended method
to install the driver is to use the
network.sh script. However, this script
builds the driver from source code and since the Indiana preview does not contain C compiler this
method did not work. So, I read the
unpacked the sources and found that the binaries are also provided. I looked also in the
makefiles to find out details about installing the driver and here are the steps, which
worked for me:
prtconfto verify that the RTL8029 card is recognized, look for
pci, instance #0.
- Log as a root.
unzip and untar the
# gunzip ni0.8.11.tgz; tar xvf ni0.8.11.tar
addni.shscript (part of the unpacked sources) to add the new driver to the system.
Install the driver binaries to the
/kernel/drvdirectory -- invoke the following commands from the directory with unpacked sources:
# /usr/sbin/install -f /kernel/drv -m 755 -u root -g sys i386/dp8390
# /usr/sbin/install -f /kernel/drv -m 755 -u root -g sys i386/ni
- Wait a few seconds and the Network Auto-Magic magically picks the driver up, plumbs the interface and starts DHCP for you.