How to make Bootable Pen-drive for Solaris 11

  • 0
Aktualne_logo_Oracle_Solaris_OS_OSos

How to make Bootable Pen-drive for Solaris 11

Category : Solaris

If you are getting into the Server side systems like Solaris installing one on your Desktop/Laptop PC at your home may sometimes get tedious and frustrating.

I’ll be showing you how to make a bootable pen drive from Windows, Linux and from an existing Solaris itself.

1. Windows

I tried tons of iso burning tools from Windows like Unetbootin, Rufus, Universal USB Installer but they don’t seem to accept and react to the Solaris ISO you have.

There are two types of bootable file types available on the Oracle Download Pagesol1

1.   .usb

2.   .iso

While you are following this article, feel free to download any of the two types.
So lets get started!

Method 1

Go ahead and download the Open Solaris  live USB Creator from here
This tool is designed to work with .usb images only.  Give it a try, the instructions are very straight forward. Due to some un-earthly reasons, this did not work for me so i highly prefer the method 2 which goes with .iso images as well but its a bit time consuming

Method 2

1>Install Oracle Virtual BOX from here 

2>Then you have to install a Solaris OS on this Virtual Machine
The templates for the Oracle Virtual BOX for Solaris can be downloaded from here

3>This link will guide you in the Solaris template Installation

4>Then you will need to install Oracle Virtual box extension Pack which can be downloaded from here

5>Plug in your USB Drive

6>Go to Machine>Settings>USB and Enable USB controller. Make sure to check your USB drive so that it will be available on the virtual machine

sol27>Start your Virtual machine and log in to your user

8>Enable Drag and Drop of your VBOX

Screenshot 2015-06-16 02.54.40

As you have downloaded the iso/usb images on your windows OS, drop the image file on the Solaris VBOX desktop
You can later find the dropped images in the Documents folder as in the image below

sol3

 

9>Cut-Paste them to the Desktop

10>Open the Terminal and get the root access!
follow the commands in this terminal screenshot

   sol4

 

i renamed my image to sol-11.usb

sol5

 

 

 

 

 

Enable the HAL service again by this command
# svcadm enable hal

 

2. Linux (for .iso files)

I am having Ubuntu installed on my system but any Distro would do the job!

Using the dd command

Step1: Get the Root access
Step2: Enter command  # dmesg | tail
Step3: Enter command  # dd if=<path of the image> of=<path of the usb drive> bs=16k
Step3: Let the Magic happen!

Here is the terminal activity and commands

kshitij@kshitij:~$ su root
Password:
root@kshitij:/home/kshitij# dmesg | tail
[ 166.470630] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 166.471427] sd 6:0:0:0: [sdb] No Caching mode page found
[ 166.471431] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 166.477228] sd 6:0:0:0: [sdb] No Caching mode page found
[ 166.477233] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 166.478782] sdb: sdb1 sdb2
[ 166.478782] sdb2: <solaris: [s0] sdb5 [s2] sdb6 [s8] sdb7 >
[ 166.481954] sd 6:0:0:0: [sdb] No Caching mode page found
[ 166.481960] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 166.481963] sd 6:0:0:0: [sdb] Attached SCSI removable disk
root@kshitij:/home/kshitij# cd Desktop
root@kshitij:/home/kshitij/Desktop# dd if=sol-11_2-text-x86.iso of=/dev/sdb bs=16k
41205+0 records in
41205+0 records out
675102720 bytes (675 MB) copied, 71.6699 s, 9.4 MB/s
root@kshitij:/home/kshitij/Desktop#

 

3. Solaris

Step1. Open the Terminal
Step2. Get the root access
Step3. Follow these screenshots

sol4

sol5

 

Enable the HAL service again by this command
# svcadm enable hal

 

4. MAC OSX

# diskutil list
Identify the drive, /dev/diskN where N is the disk
number.
# diskutil unmountDisk /dev/diskN
# dd if=<path_to_image.usb> of=dev/diskN 
bs=16k


Leave a Reply