Install Solaris From Usb

  1. Install Java On Solaris
  2. Install Solaris 10 From Usb Stick
  3. Install Solaris On Virtualbox
  • Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
  • USB Removable Devices. When this happens, you’ll need to plug the device back in, stop the application that is using the device, and then unplug the device. USB mass storage devices and DVD-ROMs can be inserted and automatically mounted by using the removable media services. These services are started by default and can be enabled or disabled as follows.

Demonstration of hands-free installation of Solaris x64 from USB thumb drive to a VirtualBox VM.

Install Solaris From Usb

A lot has been already said on Solaris 11 new features, its performance etc.. So, I just wanted get my hands dirty by testing the new Solaris 11. And what could be better than installing a Solaris 11 Virtual machine in virtual box. Here is how, you can also do it :

Prerequisites :

1. A laptop with atleast 2 GB RAM and around 50 GB of disk space
2. Oracle virtualbox software. (download here)
3. Oracle Solaris 11.1 iso image ( sol-11_1-text-x86.iso )

Let us setup a virtualbox virtual machine with solaris 11. Open the virtualbox software and click on new.

We need to name the new virtual machine and set the type/version as Solaris/Oracle Solaris 11 (64bit)

Set the Memory of the virtual machine to atleast 1.5 GB for a optimum performance.

We will be creating a new hard drive for the solaris 11 virtual machine.

Now in case you want the virtual machine to be used in other virtualization softwares like VMware workstation etc., then select appropriate hard drive file type. I will be using the VM in virtualbox itself, so I am going to go with VDI (VirtualBox Disk Image)

In case of a dynamically allocated hard drive file, space is filled only when some data is written to it. I usually prefer fixed size hard drive as it is faster than the other dynamically allocated hard drive.

Name the HDD file we are going to create. You can also choose the location to store the hard disk file. I will be setting the size of hard disk as 10 GB.

We are almost done with all the settings. There are few more settings to be done, so click on settings.

We do not need audio device for the virtual machine , so disable it.

We also do not need the USB ports, So disable the USB controller too.

To be able to connect the Virtual machine from the host machine, select the bridged Adapter as the adapter 1 type and select the appropriate network hardware to be used from the host machine. I use Wi-Fi network in the host machine so I selected the Wi-Fi port. You may be using a ethernet card in host machine, so select it appropriately.

For the first time boot of the virtual machine, we need to boot it from the solaris 11 text install ISO image. Select the ISO of solaris 11 and click start to start the installation.

Select the default US-English keyboard layout and press enter.

On the next screen select the default language as English and press enter.

Select the option 1 to install the Oracle solaris 11.

Now appears the Welcome screen of solaris 11. On this screen and all other screen we need to use ESC + 2 to go to the next screen.

We will be installing solaris 11 on the local disk so select Local Disk as a discovery selection.

The installer would discover the only hard disk we allocated for this installation. Select this hard drive and press ESC + 2.

You can change the layout of the disk on the next screen. We would go with the default layout and use the entire disk.

On the next screen give the hostname for the virtual machine (geeklab) and select manual configuration of the network configuration. As shown you can configure network automatically using the DHCP as well. But for this LAB let us use the manual configuration itself.

Provide the IP address and netmask for the interface net0. (192.168.1.20/24)

Install Java On Solaris

We do not need to use any DNS name service for this installation so select “Do not configure DNS”.

Select “None” For the Alternate Name Service option.

Now set the time zone according to your location. For me its india so I would choose Asia/India.

Confirm the time settings and go to the next screen.

On the next screen set the root password . here you can also create any additional users if you want.

The enrollment for support is not required for this LAB setup so just go to next screens.

Select a no proxy network configuration as we are not going to use any proxy settings to connect to the internet.

Check the final installation summary and verify them to start the installation of Oracle Solaris 11.

Now the installation would start which will not take more than 15 minutes.

Once the installation is complete we need to reboot the OS. The key to reboot is ESC + 8 on this screen.

Do remember to remove the ISO image from the virtual machine or else the installation would start again. The OS would reboot and you can see the latest Solaris 11.1 OS up and running.

Enabling GNOME Graphical Desktop

Be default you won’t be able to use the graphical desktop in solaris 11. To enable the graphical desktop we need to add a package (solaris-desktop) from the IPS repository (refer Solaris 11 IPS series).

After rebooting the Virtual Machine and you should see the Graphical Desktop.

I hope the post was informative. Do subscribe to stay tuned to the latest happenings on the blog.

Home > Articles > Data > Oracle

Virtualbox
  1. USB Removable Devices
< BackPage 4 of 12Next >
This chapter is from the book
Oracle® Solaris 11 System Administration

This chapter is from the book

This chapter is from the book

USB Removable Devices

USB devices were developed to provide a method to attach peripheral devices such as keyboards, printers, cameras, and disk drives using a common connector and interface. Furthermore, USB devices are “hot-pluggable,” which means they can be connected or disconnected while the system is running. The OS automatically detects when a USB device has been connected and automatically configures the operating environment to make it available.

The Oracle Solaris 11 operating environment supports USB devices. When hot-plugging a USB device, the device is immediately displayed in the device hierarchy. For example, a full device pathname for a USB thumb drive connected to a SunFire T2000 system would appear as follows:

A printer would look like this:

The steps to add a USB mass storage device are as follows:

  1. Insert a USB thumb drive into the USB port on your server. For this example, the device already contains a file system.
  2. Verify that the USB device is mounted by entering the rmformat command as follows:

    The first device listed is the removable DVD, and the second device listed is the removable USB thumb drive.

  3. Verify that the device has been automatically mounted by typing

    The mounted device is displayed as follows:

  4. The nickname for the mounted device can also be listed by typing

    Notice the path to each device. Access the removable DVD media through this path:

    Access the USB thumb drive media through this path:

The rmformat command is used to format, list, eject, partition, and protect removable rewritable media. If the USB device already has a file system, the device is automatically mounted. To unmount the device, type

To format the device, type

The rmformat command has three formatting options:

  1. quick: This option formats the media without certification or with limited certification of certain tracks on the media.
  2. long: This option completely formats the media.
  3. force: This option formats completely without user confirmation.

Create a file system on the device as follows:

The mkfs command constructs a file system on a raw device. I specified –F pcfs to create a file allocation table (FAT) file system.

Be careful when removing USB devices. If the device is being used when it is disconnected, you will get I/O errors and possible data errors. When this happens, you’ll need to plug the device back in, stop the application that is using the device, and then unplug the device.

USB mass storage devices and DVD-ROMs can be inserted and automatically mounted by using the removable media services. These services are started by default and can be enabled or disabled as follows.

To prevent removable volumes from automatically mounting, disable the rmvolmgr service as follows:

To disable all of the volume management media services, disable the dbus, hal, and rmvolmgr services as follows:

Disabling the volume management services means that you would have to mount all media manually using the mount command.

Enable removable media services:

When disconnecting a USB device such as a USB thumb drive, eject the device as follows:

  1. List the removable devices as follows:

  2. Unmount the device as follows:

  3. Eject the device as follows:

Related Resources

  • eBook (Watermarked) $35.19

Install Solaris 10 From Usb Stick

  • Book $43.99

Install Solaris On Virtualbox

  • Downloadable Video $119.99