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

Creating VM

Once you have VMware server installed, invoke VMware server and do the following:

  1. Create New Virtual Machine by selecting File -> New -> Virtual Machine.
  2. creating vm

  3. Click “Next”, Virtual Machine Configuration -> Custom
  4. Guest Operating System “Solaris 10 64-bit” creating_vm_02
  5. Name the Virtual Machine whatever you feel like, I named it “orasun01″ and click “Next”creating_vm_03_name_the_vm
  6. “Number of processors ” choose “One” and click “Next”
  7. Access Rights, Uncheck “Make this Virtual Machine Private” and click “Next” creating_vm_04_access_rights
  8. Allocate Memory to the VM, I have given 1024M. Click “Next”creating_vm_05_memory_for_vm
  9. Network Connection , choose “Bridged Networking” and click “Next”. creating_vm_06_network_connection
  10. Create New Virtual Disk and click “Next”
  11. Virtual Disk Type, select “SCSI” and click “Next
  12. Specify Disk Capacity, Choose 10.0 GB and uncheck “Allocate Disk Space Now” and  Click “Next”.creating_vm_07_disk_capacity
  13. Specify Disk File Name, name it differently if you wish or leave it as it is and click “Finish”.
  14. creating_vm_08_disk_file

So your VM should look like this:

creating_vm_09_finish

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”

source_solaris_iso_10

From the above we have configured the VM to install Solaris 10. Lets start installing Solaris 10…

Installation of Solaris 10

  1. “Power On” the Virtual Machine and you should see the “Grub Menu” Select “Solaris” from the menu and press enter/return key.installation_sol10_grub_menu_select_01
  2. Choose “Solaris Interactive (default)” from the menu and press enter/return key.installation_sol10_solaris_interactive_02
  3. Select Language , I have chosen “English”installation_sol10_select_language_03
  4. Click “Next”installation_sol10_welcome_04
  5. Select the radio button “Networked” and click “Next”installation_sol10_networked_05
  6. 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 ..:)installation_sol10_dhcp_06
  7. Enter the hostname and click “Next”installation_sol10_hostname_07
  8. Enter Ip address, ensure this ip is free and not used by any other system.installation_sol10_ipaddress_08
  9. Enter “NetMask”, I have selected it default value which was automatically picked up.installation_sol10_netmask_09
  10. Select “Yes” if you like to enable IPv6, installation_sol10_ipv6_10
  11. Select “Default Route”, I have selected “none” as this can be defined at later point in time.installation_sol10_default_route_11
  12. Select “No” if you do not intend to use Kerberos Security.installation_sol10_kerberos_12
  13. Select your desired “Name Service”, I have selected “None”installation_sol10_nameservice_13
  14. Select “Time Zone”, I chose the radio button “Geographic Continent/Country/Region”installation_sol10_geo_14
  15. Select your relevant countryinstallation_sol10_country_15
  16. Confirm “Date and Time” and click “Next”
  17. Enter “root” password and click “Next”installation_sol10_rootpwd_16
  18. Select “Yes” if you wish to Enable Remote Services and click “Next”installation_sol10_enable_remote_services_17
  19. Confirm the “Summary” and proceed to next section by clicking “Confirm
  20. Click “Next” to go to the next tasks of Installation
  21. 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”installation_sol10_installer_options18
  22. A Notice will pop up to you should also eject the CD/DVD. Click “OK” to continue.
  23. Specify Media, click radio button “CD/DVD” and click “Next” to continueinstallation_sol10_speciry_media_19
  24. Accept the “License” and click “Next”
  25. Select “Type of Install”, choose “Custom Install” radio button and click “Next”. You can select “Default” if you like to.installation_sol10_type_of_install_20
  26. Select “Software Localization” specific to your country and click “Next”.installation_sol10_localization_21
  27. Select “System Locale” specific to your country.installation_sol10_system_locale_22
  28. Select “Extra Value Software Software” and click “Next”.
  29. Select “None” for “Web Start Ready product scan location
  30. Click “Next”, I made no changes and accepted the defaults.installation_sol10_sol_soft_groups_23
  31. Confirm the disks are selected and click “Next”.installation_sol10_disk_sel_24
  32. Select fdisk Partitions to be customized, check mark the displayed disk and click “Next”installation_sol10_fdisk_25
  33. Confirm the values and click “Next”.installation_sol10_cust_fdisk_26
  34. Layout File Systems, Highlight “c1t0d0″ disk and click “Modify” to reflect the following values installation_sol10_filesystem_layout_27
  35. And Finally click “Install Now” which will begin the installation.installation_sol10_install_now_28The installation will take sometime to finish.
  36. Click “Reboot Now”   installation_sol10_reboot_29
  37. Login using “SUN Console Login”installation_sol10_login_30
  38. You can use either “Java Desktop System” or “CDE”installation_sol10_desktop_selection_31
  39. The installation is Complete, Solaris 10 Fresh Install is ready to be used.installation_sol10_complete_32

Finally you might want to configure internet to your Solaris 10 VM, to do this do the following:

  1. If not already created, create file “/etc/defaultrouter” and enter your routers ip address
  2. If not already created, create file “/etc/resolv.conf” and enter the following:
    search  domainname
    nameserver  default router address
    
  3. copy /etc/nsswitch.dns to /etc/nsswitch.conf
  4. Restart the network by issuing the following command:
    #svcadm restart /network/dns/client
    
  5. 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>
    
  6. Thats it you should be able to connect to the internet.
    #ping google.com
    google.com is alive
    #
    
About these ads

35 Responses to “Step by Step Installation of Solaris 10 on VMware Server”

  1. Kumar Says:

    do we require to install VMware tools, if yes then how? I an always getting windows based vmware tools installation.

  2. marcos Says:

    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

    • Zakki Ahmed Says:

      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

  3. marcos Says:

    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

  4. marcos Says:

    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

    • Zakki Ahmed Says:

      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?

  5. marcos Says:

    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.

  6. gayatri Says:

    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

    • Zakki Ahmed Says:

      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

  7. gayatri Says:

    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…..

  8. marcos Says:

    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

  9. daniel Says:

    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.

    • Zakki Ahmed Says:

      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

  10. daniel Says:

    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.

  11. daniel Says:

    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.

    • Zakki Ahmed Says:

      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

  12. daniel Says:

    Hi zakki,
    I edited the file“/etc/resolv.conf”
    search
    nameserver 192.168.1.1

    still i cannot ping any website.

  13. daniel Says:

    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.

    • Senthurai Says:

      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

  14. pavi Says:

    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

    • Zakki Ahmed Says:

      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

  15. Thiru Says:

    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.

  16. KOTAPATI.KRISHNAIAH Says:

    i trying to install the Solaris OS through existing(Windows XP) ..please send screen shots with clear cuts manner ..

  17. saiju s george Says:

    thanks it worked…..

  18. Asif Says:

    Zakki thanks for sharing your knowledge I plan to jump on installing Oracle now, will follow your doc… thanks!

  19. Zakki Ahmed Says:

    All the best @ Asif!

  20. riyasman Says:

    thanks sir.,i could instal now..

    riyasman

  21. pengkhianat Says:

    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

    • Zakki Ahmed Says:

      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.

  22. Imran Says:

    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

    • Zakki Ahmed Says:

      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

  23. Farooq Nafey Says:

    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.

  24. sharique quazi Says:

    thank you sir
    Jazakallah

  25. Blunderbus Driver Says:

    Thank you for posting this, for taking the time to walk the rest of us newbs through the process. It is so daunting when one is starting out, but thanks to folks like yourself for keeping our hopes alive!

  26. Roslyn Says:

    Your current write-up features established beneficial
    to us. It’s really informative and you’re simply naturally very educated in this field. You get opened up my personal eyes in order to various opinion of this matter along with intriguing, notable and solid content.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 47 other followers

%d bloggers like this: