Mar 25, 2008

Opensolaris Developer Preview 2 ( Indiana ) in VirtualBox on Linux with screenshots

Just tried Indiana in VirtualBox on my "testing" (as in just experimenting with it) Debian.
I installed VirtualBox from svn.
What will i do ?
Install Indiana, configure the network and the audio card.

Well, I set up VirtualBox with NAT, Audio enable, gave 4.5Gigs, 57x RAM, and Mounted Indiana's ISO.
I started it:

grublive

It takes some minutes to load:

booting

Now it's up, I choosed the default Keyboard layout (US-English):

keyb

After it configures devices, mounted some stuff, it gives a login prompt:
NOTE: Don't log in, it will start the graphical environment automatically.

dontlogin

It's up:)

livegnome

Now let's install it!
Here's the welcome screen:
welcome

Choosing the disk, well being in VirtualBox I added only one disk:

disk

After clicking Next we need to set the Time Zone:

timezone


Now let's set up the users:

users


Carefully verify the settings:

install

HIT Install !
This will take a while.. depending on you machine of course.

installing

Finally done :happy:

finally

Let's reboot..
You can remove the iso, from VirtualBox because it will boot from it, here's the bootmenu now from the disk drive:

diskboot

Let's boot in, as before when the prompt comes up don't log in.

firstboot

Finally let's log in:

gdm

Here's the default desktop:

firstlogin

There's no driver for VirtualBox' interface, so we need to get drivers from here we need the 13th "ae driver for AMD am79c97x PCNET ethernet chipset series".
Since we don't have internet connection in VirtualBox we need to create an ISO image with the file in it, I used the following commands:
# mkdir drv
# mv ae-2.6.0a.tar.gz drv/
# /opt/schily/bin/mkisofs -J -R -l -V "driver" -o driver.iso drv/

I rebooted Indiana and mounted it in VirtualBox, and started it, it mounted out ISO automatically so i saw this screen after login:

drivercd

I clicked on it and dragged the contents to the desktop:

unpack

I opened a terminal ( right click on the desktop), and cd'ed into it, and executed the following commands:
# cp i386/ae /kernel/drv/
# ./addrv.sh
# modload ae

Well.. NWAM auto detected it.. but I made a reboot.
Let's test the internet:
NOTE: the 'ping' command not works (maybe a VirtualBox bug)

nettest

Great, works:)
As you noticed the speaker icon in the top right is crossed, so let's download the driver from http://www.opensound.com
Select "Solaris 10/11 (x86/AMD64)".
After the download finished I executed the following commands:
# su -
# pkgadd -d oss-solaris-v4.0-1015-i386.pkg

Just hit enter and somewhere you need to type "y".
After it has been installed I made a reboot.
I logged in, now at the top right the speaker isn't crossed it must work!:)
So I downloaded an audio file from my NetBSD powered machine:

getmusic

Fire up rhythmbox from the menu or use ALT+F2 and write it there and press enter.

rhythmbox

It plays, so no driver issues, but I heard some garbage sound, on a real system it must work correctly ( this seems a VirtualBox bug too ).

Well that's it, I hope you enjoyed and you will install at least in VirtualBox ;)

More info about Indiana and OpenSolaris can be found at http://opensolaris.org
VirtualBox' website is here: http://virtualbox.org




1 comment:

Mocăniţa CFF Vişeu de Sus