Step by Step Installation of Solaris 10 on VMware Server
August 12, 2009
During the weekend I was looking into installing Solaris 10 on VMware,
I tried to document the step by step procedure while accomplishing this task.
So…Lets get started…
Setup
- Host OS: CentOS 5- 64 bit
- Guest OS: Solaris 10 - 11/06
- VMware Version: VMware Server 1.0.4 Build 56528
Creating VM
Once you have VMware server installed, invoke VMware server and do the following:
- Create New Virtual Machine by selecting File -> New -> Virtual Machine.
- Click “Next”, Virtual Machine Configuration -> Custom
- Guest Operating System “Solaris 10 64-bit”

- Name the Virtual Machine whatever you feel like, I named it “orasun01″ and click “Next”

- “Number of processors ” choose “One” and click “Next”
- Access Rights, Uncheck “Make this Virtual Machine Private” and click “Next”

- Allocate Memory to the VM, I have given 1024M. Click “Next”

- Network Connection , choose “Bridged Networking” and click “Next”.

- Create New Virtual Disk and click “Next”
- Virtual Disk Type, select “SCSI” and click “Next
- Specify Disk Capacity, Choose 10.0 GB and uncheck “Allocate Disk Space Now” and Click “Next”.

- Specify Disk File Name, name it differently if you wish or leave it as it is and click “Finish”.


So your VM should look like this:

Source Solaris 10 ISO during boot up
Source Solaris 10 ISO image to be read on boot up, this can be done by clicking:
Edit Virtual Machine -> select “CDROM” -> Click radio button “use ISO image” -> give the location of the Solaris 10 downloaded ISO image. Then click “OK”

From the above we have configured the VM to install Solaris 10. Lets start installing Solaris 10…
Installation of Solaris 10
- “Power On” the Virtual Machine and you should see the “Grub Menu” Select “Solaris” from the menu and press enter/return key.

- Choose “Solaris Interactive (default)” from the menu and press enter/return key.

- Select Language , I have chosen “English”

- Click “Next”

- Select the radio button “Networked” and click “Next”

- This section lets you enable DHCP, I have chosen not to select DHCP. I feel it is best to assign ip manually , gives you more control ..:)

- Enter the hostname and click “Next”

- Enter Ip address, ensure this ip is free and not used by any other system.

- Enter “NetMask”, I have selected it default value which was automatically picked up.

- Select “Yes” if you like to enable IPv6,

- Select “Default Route”, I have selected “none” as this can be defined at later point in time.

- Select “No” if you do not intend to use Kerberos Security.

- Select your desired “Name Service”, I have selected “None”

- Select “Time Zone”, I chose the radio button “Geographic Continent/Country/Region”

- Select your relevant country

- Confirm “Date and Time” and click “Next”
- Enter “root” password and click “Next”

- Select “Yes” if you wish to Enable Remote Services and click “Next”

- Confirm the “Summary” and proceed to next section by clicking “Confirm“
- Click “Next” to go to the next tasks of Installation
- In the “Installer Options” click the radio button “No” for Reboot automatically after installation and “No” for “Eject CD/DVD after Software Installation” and click “Next”

- A Notice will pop up to you should also eject the CD/DVD. Click “OK” to continue.
- Specify Media, click radio button “CD/DVD” and click “Next” to continue

- Accept the “License” and click “Next”
- Select “Type of Install”, choose “Custom Install” radio button and click “Next”. You can select “Default” if you like to.

- Select “Software Localization” specific to your country and click “Next”.

- Select “System Locale” specific to your country.

- Select “Extra Value Software Software” and click “Next”.
- Select “None” for “Web Start Ready product scan location“
- Click “Next”, I made no changes and accepted the defaults.

- Confirm the disks are selected and click “Next”.

- Select fdisk Partitions to be customized, check mark the displayed disk and click “Next”

- Confirm the values and click “Next”.

- Layout File Systems, Highlight “c1t0d0″ disk and click “Modify” to reflect the following values

- And Finally click “Install Now” which will begin the installation.
The installation will take sometime to finish. - Click “Reboot Now”

- Login using “SUN Console Login”

- You can use either “Java Desktop System” or “CDE”

- The installation is Complete, Solaris 10 Fresh Install is ready to be used.

Finally you might want to configure internet to your Solaris 10 VM, to do this do the following:
- If not already created, create file “/etc/defaultrouter” and enter your routers ip address
- If not already created, create file “/etc/resolv.conf” and enter the following:
search domainname nameserver default router address
- copy /etc/nsswitch.dns to /etc/nsswitch.conf
- Restart the network by issuing the following command:
#svcadm restart /network/dns/client
- Check the routing table and confirm the network is using the new sttings:
#netstat -r
If not then add the default route by:
#route add default <gateway>
- Thats it you should be able to connect to the internet.
#ping google.com google.com is alive #
September 16, 2009 at 10:25 am
do we require to install VMware tools, if yes then how? I an always getting windows based vmware tools installation.
December 4, 2009 at 12:38 pm
Hi,
I am stuck up pretty badly, with Solaris 10 X86. I have VMware workstation 6.0, running on a lab machine with Win XP pro 32 bit. I installed solaris on it , but when I turn on the machine, it says the “Guest operating System is 64 bit” ??? ?? how can that be, I checked using isainfo -v, which shows its 32 bit, but still VMWare if taking it as 64 bit OS…..
Also I tried installing the same OS in another lab machine (64 bit) using VMplayer, it installed fine and is running perfectly.
So is my copy of Solaris 10 is 64 bit ??
Help..!!!
Regards
Marcos
December 4, 2009 at 7:47 pm
Hi Marcos,
Probably its worth checking if there any bugs reported with the version of VMware workstation 6.0.
Also, one of the reason could be the hardware is 64bit causing the VMware to default it to 64 bit.
I think its worth investigating.
Regards,
Zakki
December 8, 2009 at 8:07 am
Hi Zakki,
I checked the installed OS type using isainfo -v, and it shows up as 32 bit OS. For bugs in VMWare6.0, I am going for an upgrade to 6.5, lets see what happens then. Also , is there a way to force the OS to boot up as 32 bit instead of the OS searchung for 64 bit kernel for bootup, any comand would be helpful that I can run from failsafe mode.
Eagerly waiting for answers…
Regards
Marcos
December 12, 2009 at 5:11 pm
Hi Zakki,
I just checked my Lab PC’s processor details, I am using intel E8400, which seems to have 64-bit capabilities. So is that the cause, but my OS is 32 bit. Can u plz shed some light now, how can I move to tackle the problem I am facing..
Thanks in Advance..
Marcos
December 12, 2009 at 5:46 pm
Hi Marcos,
You are right this is 64bit CPU. Did u refer to step 3 of this blog? during installation we chose Guest Operating System as “Sun Solaris 64 Bit”.
the output from isainfo -v from my VM is this:
# isainfo -v
64-bit amd64 applications
cx16 sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc
cx8 tsc fpu
32-bit i386 applications
cx16 sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc
cx8 tsc fpu
#
Can you share what are you trying to acheive here?
December 20, 2009 at 7:39 am
Hi Zakki,
The OS you hav choosen is 64-bit, but can i choose it as my OS is 32-bit? And as I was going through some VMWare blogs, I found that you cannot have a guest 64-bit OS on a 32-bit OS.
Also I saw a “eeprom” somthing command for this kind of problem, will that be helpful to me.
Thanks for time and effort.
December 21, 2009 at 6:40 pm
hii
i installed 64 bits sun os on my 64 bit laptop ,with vmware version 6.5 -7.But my solaris machine shows 32 bit even now .what should i do to make my solaris machine 64 bit can u help me with dis
December 21, 2009 at 9:39 pm
Hi Gayatri,
While creating the VM, what did u choose 32 bit/64 bit Guest Operating System?, What kind of application you plan to run? can you share what you’d like to acheive here?
Regards,
Zakki
December 22, 2009 at 6:44 pm
hii my problem is while i am choosing the 64 bit os it prompts that your host doesnt support 64 bit as if u installed 32 bit host.On my pc i have 64 bit .I made vt enabled and i even still i am facing the problem can u help me with this…..
February 14, 2010 at 6:33 pm
Hi Gayatri,
the OS boots, can u check and tell us the “*-bit” OS it is trying to load. Might be possible u got a 32-bit solaris DVD.
And Zakki, thanks for you help…
Also, I have resolved my problem of booting the Solaris 10 as 32-bit by following below steps:
1. add “monitor_control.disable_longmode = 1
” line anywhere in the (.vmx) file and boot the machine.
2. Once logged in to the CDE desktop, input
(eeprom boot-file=”kernel/unix”) at terminal with root previledges
Thanks
Marcos
June 7, 2010 at 4:24 pm
Hi
I m new to solaris and VMware. I have installed the vmware workstation 6.0 on my win 7, and installed the guest OS solaris 10. I cannot connect to the internet. please help me configure the internet connection. For the win 7 i use a static ip address 192.168.1.33 and subnet 255.255.255.0 as we have a router. Can any one send me a step by step procedure with screen shot? do i need to configure the network setting on the VMware? if yes then how.
June 7, 2010 at 6:09 pm
Hi Daniel,
Firstly you’d require a static ip for your VM, then you will be required to configure the network.
Ensure,
1. “/etc/hostname.” has the right hostname
2. “/etc/hosts” is updated correctly.
3. ” /etc/inet/ipnodes” check this file has right entries
4. “/etc/nodename” , check if this file has right nodename
Check “/etc/defaultrouter” is present or not, if not create one and enter router address
5. copy “/etc/nsswitch.dns” to “/etc/nsswitch.conf”
6. Restart network using “#svcadm restart /network/dns/client”
7. Check routing gateway “#netstat -r”, check if the router is using right settings else add the route using “#route add default ”
8. You should be fine by now, see what “#ifconfig -a ” returns and if you are able to ping other ip’s.
Regards,
Zakki
June 7, 2010 at 7:27 pm
Hi Zakki,
As i told you im new to solaris and just a beginner. So would require alot of help from you.
can you send me a doc with screen shot so that i can follow,im not fimiliar with creating files or editing in solaris,im installing the solaris to learn. Currently the static ip i use on win7 is 192.168.1.33 and subnet 255.255.255.0 in win 7 network i see 2 vmware adapter vmnet1 and vmnet8.On vmware network setting automatic bridging is set to vmnet0,DHCP and NAT is started.
June 8, 2010 at 8:26 pm
Hi zakki,
I have configured the settings as follows.
# /etc/hostname shows “dannyboy”(login name)
# /etc/hosts shows 192.168.1.55 dannyboy loghost
# /etc/inet/ipnodes shows 192.168.1.55 dannyboy loghost
# /etc/nodename shows “dannyboy”
# /etc/netmasks shows 192.168.1.0 255.255.255.0
created file “/etc/defaultrouter” and enter your routers ip address as 192.168.1.1
created file “/etc/resolv.conf” and entered the following:
search domainname
nameserver default router address
# cp/etc/nsswitch.dns to /etc/nsswitch.conf
# svcadm restart /network/dns/client
# netstat -r shows ip address: 192.168.1.55
im able to ping 192.168.1.55 and gateway 192.168.1.1 but not any websites it says unknown host name.
I am able to connect on my other guest OS which is win 2003.
Please help me to connect to the internet.
June 8, 2010 at 9:44 pm
Hi Daniel,
Good to know atleast your local network is working, okay.. I see where the problem could be, amend the following:
1. Edit “/etc/resolv.conf”
2. Enter
–
search
nameserver 192.168.1.1
–
In the above section, if you have a domain name for eg. in my case its “zakkiahmed.com”, enter that, else you can enter the router’s hostname.
Let me know how it goes,
Regards,
Zakki
June 9, 2010 at 3:28 pm
Hi zakki,
I edited the file“/etc/resolv.conf”
search
nameserver 192.168.1.1
still i cannot ping any website.
June 9, 2010 at 4:17 pm
Hi zakki,
i think its a dns problem. i can connect to wesites using firefox when i put the ip addresses of the website on the url bar. please help me resolve this DNS issue.
July 20, 2010 at 12:56 am
hi I think its again a Name server problem
try to gain DNS IP from your internet provider or use public DNS IP Like 8.8.8.8 or 4.2.2.1
July 24, 2010 at 1:52 pm
i have installed solaris 10 update 4 on vmplayer 3.1 . the installation is completed but it fails to boot.. it tries again and agian to reboot but of no use..
once i also got an error ” virtual cpu is in shutdown state” . please help
July 24, 2010 at 7:35 pm
Hi,
VMServer is free to use, why not try it out. Vmplayer has many limitations, so its best if you use VMware server to install Solaris 10
September 24, 2010 at 9:08 am
Hi,
Its the wonderful article for new users.
I am trying to install the Solaris 10 desktop OS in Vmware ESX (version 7.0) having in windows 7 ultimate, its working until step 24 an after that not able to move next steps, Plz could you guide me.
October 15, 2010 at 7:59 pm
i trying to install the Solaris OS through existing(Windows XP) ..please send screen shots with clear cuts manner ..
January 12, 2011 at 7:40 am
thanks it worked…..
February 17, 2011 at 4:00 am
Zakki thanks for sharing your knowledge I plan to jump on installing Oracle now, will follow your doc… thanks!
February 17, 2011 at 6:29 pm
All the best @ Asif!
March 16, 2011 at 10:17 am
thanks sir.,i could instal now..
riyasman
May 8, 2011 at 8:40 am
hi zakki,
im nu in solaris10 n vmware7. i have several problem, i hope you can help my problem…
i have OS win7 n vmware7, n im install sun solaris10 on vmware7. the question is:
1. how to connect sun solaris to internet on vmware7, in win7 machine? how to config win7, vmware n sun solaris?
2. when im done install solaris10, why i MUST login with “root”? is that normal or …
n i cant add user from root access?
3. why i cant access “admintool” from root?
now thats all my problem, maybe later i can find it again what next
)
# sory my english
May 10, 2011 at 9:52 am
Please find the answers inline:
1. how to connect sun solaris to internet on vmware7, in win7 machine? how to config win7, vmware n sun solaris?
-> Follow the last section, where its starts “Finally you might want to configure internet to your Solaris 10 VM, to do this do the following:”
2. when im done install solaris10, why i MUST login with “root”? is that normal or …
n i cant add user from root access?
->You can configure other users during the install, alternatively after the installation is finished you can login as “root” and create new users using “useradd” or using ->”admintool”, you will require GUI for this
3. why i cant access “admintool” from root?
You should be able to access admintool with GUI access.
June 29, 2011 at 9:59 am
Hi Zakki,
Read all above comments and thought i might get help on this blog. However, I am a newbie to solaris and virtualization. I have installed solaris 10 (guest) in windows xp (host). Currently my network is set to NAT. Following is the IP details set on my xp (host) machine.
Windows IP Configuration (HOST)
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.17.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.248.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.175
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
As mentioned in above comments i have to define following items in Solaris (guest) machine
# /etc/hostname.e1000g shows “star1”
# /etc/hosts shows 10.10.12.9 star1 prim myhost
# /etc/inet/ipnodes shows 10.10.12.9 star1 prim myhost
# /etc/nodename shows “star1”
# /etc/netmasks shows 10.10.12.9 255.255.255.0
I would like to know following queries
1) what configuration i have to set. is it NAT? Bridge? or Host Only?
2) what will be defaultrouter address?
3) Do i need to add gateway address? if yes then what should be gateway address and how to add?
I know this seems to be a big letter. but i dont know what to do. Please help me. Any help would be highly appreciated.
Thanks
Imran
July 8, 2011 at 9:25 am
Imran,
1) what configuration i have to set. is it NAT? Bridge? or Host Only?
This will be “Bridged”
2) what will be defaultrouter address?
192.168.1.1 (from what I see above)
3) Do i need to add gateway address? if yes then what should be gateway address and how to add?
192.168.1.1
Hope it helps.
Zakki
August 19, 2011 at 12:27 am
All those who are trying to install 64-bit Solaris 10 on a VMware sever, and the OS keeps booting in a 32 bit, make sure that you have enabled the Virtualization Technology in the Bios. Once enable, you don’t have to make any change at the OS.
June 24, 2012 at 7:21 pm
thank you sir
Jazakallah