How to install Solaris U7 Guest in VirtualBox?

Discussions about using Solaris guests in VirtualBox.
Post Reply
richew
Posts: 6
Joined: 8. Oct 2009, 21:43
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Solaris

How to install Solaris U7 Guest in VirtualBox?

Post by richew »

This is the first time for me to install Solaris U7 in VirtualBox 3.0.8.

I'm able to create the VM, and get ISO boot up to do the installation. However, I don't know how to answer network setting question.

What should I enter info for the following question?

DHCP (Yes/NO)
Network IP, router, domain, DNS server


Please help.

Thanks.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to install Solaris U7 Guest in VirtualBox?

Post by Perryg »

Select DHCP.
richew
Posts: 6
Joined: 8. Oct 2009, 21:43
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Solaris

Re: How to install Solaris U7 Guest in VirtualBox?

Post by richew »

Thanks for your reply. I did try your suggestion, but it turned up a system without hostname (with unknown as the hostname).

I thought we may try no dhcp, give hostname, ip, and gateway, then without any name service. I'll let you know the result.

Any suggestion about the ip address, and gateway ip?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to install Solaris U7 Guest in VirtualBox?

Post by Perryg »

Well that would really depend on you network and the mode that you selected to use for the guest (NAT, Bridged, Host-Only)
Post the network settings of the guest along with the amount of RAM you are using and the amount of host ram.
Also post the ipconfig /all from the Windows host.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows 8 RTM (MSDN)

Re: How to install Solaris U7 Guest in VirtualBox?

Post by SSCBrian »

richew wrote:Thanks for your reply. I did try your suggestion, but it turned up a system without hostname (with unknown as the hostname).

I thought we may try no dhcp, give hostname, ip, and gateway, then without any name service. I'll let you know the result.

Any suggestion about the ip address, and gateway ip?
That's correct, if you do DHCP, "unknown" will be the host name.

As far as the the IP address and gateway, if you're going that route, you should use something other than NAT mode in VBox, and you'd need the IP/gateway appropriate for your network (We can't tell you what those are, your network admin would know).
sej7278
Volunteer
Posts: 1003
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
Contact:

Re: How to install Solaris U7 Guest in VirtualBox?

Post by sej7278 »

i'd say don't select dhcp, use whatever network setup your host has, which hopefully is bridged not nat or some rubbish.

but this is more of a solaris question and nothing really to do with virtualbox.
richew
Posts: 6
Joined: 8. Oct 2009, 21:43
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Solaris

Re: How to install Solaris U7 Guest in VirtualBox?

Post by richew »

Thanks everyone's contribution to this thread.

Well, here is the result of my setup:

because I also setup Ubuntu on the same windows host, and I only turned on either Ubuntu or Solaris guest. Therefore, I recorded ip info from Ubutnu guest to use on Solaris.

1. I firstly setup Solaris with out DHCP, and provided hostname, ip, netmask, and gateway.
2. As soon as the installation reached the point to ask for name services, i answered as NONE.

From that point on, the installation will go on as usual.

3. after installation finished, and reboot. You will have a network connected machine, and you can connect to internet. Because it got the name services (DNS) from the host.

4. I want to have dhcp for this machines, so touch /etc/dhcp.e1000g0 and reboot the machine. (where e1000g0 is the LAN card)
5. After the reboot, the machine got its ip from dhcp. When you checked the /etc/hosts file, it will have the line with ip address and said "Added by DHCP"

That's the whole process I went through.

I hope these will help someone else.

Thanks.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows 8 RTM (MSDN)

Re: How to install Solaris U7 Guest in VirtualBox?

Post by SSCBrian »

Seems like a lot of work. I don't have any problem installing Solaris with DHCP on and DNS (assuming you know your DNS or can look it up). It'll throw a DNS error, but just go ahead and continue and it'll work fine. The DNS error is normal for Solaris, does it on bare metal too...
richew
Posts: 6
Joined: 8. Oct 2009, 21:43
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Solaris

Re: How to install Solaris U7 Guest in VirtualBox?

Post by richew »

The reason I select no name service because I did this on a laptop which I used it between my office and home. Both site have different ip on dns. If you select dns as your name service, it will hard coded the dns ip into resolv.conf.

Or is there another smarter way to do it?
Post Reply