How to mount USB pen drive? | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

How to mount USB pen drive?

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-17-2012
bhargav90 bhargav90 is offline
Registered User
 
Join Date: Apr 2012
Last Activity: 19 January 2013, 9:10 AM EST
Posts: 25
Thanks: 3
Thanked 0 Times in 0 Posts
How to mount USB pen drive?

Hiii,

Please let me know the steps for mounting my USB pendrive in solaris 10 platform.

Thanks & Regards,

Bhargav P
Sponsored Links
    #2  
Old 06-18-2012
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 31 October 2014, 7:55 AM EDT
Location: Cornwall, UK
Posts: 841
Thanks: 44
Thanked 158 Times in 143 Posts
It depends on whether you want to put a UFS or a Windows filesystem on the USB drive.

If you want a UFS filesystem it goes something like this:

I've done this before and from what I remember use:


Code:
rmformat -l

to tell you the device name eg. /dev/rdsk/<device>s2

Turn off volume management use:


Code:
svcadm disable volfs

or

Code:
/etc/init.d/volmgt stop

depending on the version of Solaris

Run fdisk to configure a partition use:


Code:
fdisk /dev/rdsk/<device>s2

Write down a filesystem use:


Code:
newfs /dev/rdsk/<device>s0

(eg. for partition 1)


Mount the filessytem use:
Code:
mount /dev/dsk/<device>s0 <mount point>


Last edited by Scrutinizer; 06-18-2012 at 05:22 AM.. Reason: code tags
Sponsored Links
    #3  
Old 06-18-2012
bhargav90 bhargav90 is offline
Registered User
 
Join Date: Apr 2012
Last Activity: 19 January 2013, 9:10 AM EST
Posts: 25
Thanks: 3
Thanked 0 Times in 0 Posts
I am using VMware machine for solaris10 on my windows OS. Does my USB pendrive detects by using this commands.

---------- Post updated at 08:16 PM ---------- Previous update was at 07:41 PM ----------

I used rmformat -l command it listed the details Device type is showing as [cd - reader].
For USB pendrive it should show as Removable. So my USB pendrive is not detecting.Please help i am using VMware for solaris 10.
    #4  
Old 06-22-2012
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 31 October 2014, 7:55 AM EDT
Location: Cornwall, UK
Posts: 841
Thanks: 44
Thanked 158 Times in 143 Posts
So I think your guest O/S (Solaris) is not able to see the USB device under VMware. If it did, rmformat -l would list the device.

I suggest you go to a VMware forum and ask how to get a Solaris guest to see a USB device.

This is no longer a Unix question.
Sponsored Links
    #5  
Old 06-22-2012
bhargav90 bhargav90 is offline
Registered User
 
Join Date: Apr 2012
Last Activity: 19 January 2013, 9:10 AM EST
Posts: 25
Thanks: 3
Thanked 0 Times in 0 Posts
Ok Thank you hicksd8
Sponsored Links
    #6  
Old 06-25-2012
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 31 October 2014, 7:55 AM EDT
Location: Cornwall, UK
Posts: 841
Thanks: 44
Thanked 158 Times in 143 Posts
I emailed a friend who is a VMware engineer and he replied.........

In the VM guest properties you can add a USB controller the same way as you add another hard disk, network card etc….. This will be then visible in the OS assuming it has drivers etc.

Hope that helps.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mount the cd/dvd drive beerpong1 UNIX for Dummies Questions & Answers 1 10-17-2011 07:31 AM
How do I mount this drive? mojoman UNIX for Dummies Questions & Answers 1 01-11-2009 08:26 PM
How to mount a drive FredSmith UNIX for Dummies Questions & Answers 2 11-30-2006 10:47 AM
mount a remote drive flowrats UNIX for Dummies Questions & Answers 2 06-25-2002 09:57 AM
how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command? soulshaker UNIX for Dummies Questions & Answers 4 07-18-2001 01:11 PM



All times are GMT -4. The time now is 09:32 AM.