Mount FAT32 USB flash storage in Solaris 10

Hi guys, girls, and undecided.
I've just upgraded my Winblows XP laptop to dual-boot Solaris 10. I've been trying in vain to get a few things working, the most annoying of which is my USB flash storage disk.
I've tried 'pkill -HUP vold', to no avail
'iostat -En' shows my CDRW/DVD drive, but no USB drive.
Help would be muchly appreciated.

Congratulations on your choice of Os ;-)
To solve this problem you can try and create a directory called /rmdisk , then start vold running:
/etc/init.d/volmgt stop
/etc/init.d/volmgt start
if you are lucky your USB flash will show up under /rmdisk/<name> after a few seconds.
If not you should be able to see the flash with cfgadm, which list the status of USB ports (among other things).
Solaris should automatically create a /dev/dsk/ and /dev/rdsk/ entries for your flash memory, if its not automatically mounted by vold, try and stop vold using
/etc/init.d/volmgt stop
Then do a cd /dev/dsk and run an ls -lart, the USB devices should be among the last devices in that list, then mount it using:
mount -F pcfs /dev/dsk/<device> /some/directory
the device should end with s2 or p2, some flash devices might also need :c, aka /dev/dsk/<device>:c, it depends how its configured.
See man mount_pcfs for more information...
Hope this helps a bit (:
//Magnus

Similar Messages

  • How to mount fat32 usb flash drive on 10.6.8?

    Hello there,
    I've read many posts about this problem but they don't work for me.
    I've a Kingstone flash drive 16GB that I use mainly to record videos from a Digital terrestrial tuner box or to watch vieos from internet on my videoprojector.
    It used to work fine, then I re formatted it  on the DTV box and recorded a couple of programs with the tuner and they show up correctly, but once connected to my iMac mid2011 usb port or MBPro I'm asked to initialize the drive or ignore, eject.
    - It doesn't show up in DiskUtility.
    - It does show up in System Profiler:
    DT R500:
      Capacity:    15.99 GB (15,988,686,848 bytes)
      Removable Media:    Yes
      Detachable Drive:    Yes
      BSD Name:    disk1
      Product ID:    0x1654
      Vendor ID:    0x0951  (Kingston Technology Company)
      Version:     1.00
      Serial Number:   
      Speed:    Up to 480 Mb/sec
      Manufacturer:    Kingston
      Location ID:    0xfd130000 / 6
      Current Available (mA):    500
      Current Required (mA):    300
      Partition Map Type:    MBR (Master Boot Record)
      S.M.A.R.T. status:    Not Supported
      Volumes:
      Capacity:    15.99 GB (15,988,654,080 bytes)
      Writable:    Yes
      BSD Name:    disk1s1
    - It does show up with mount command in Terminal:
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:     FDisk_partition_scheme                        *16.0 GB    disk1
       1:             Windows_FAT_32                         16.0 GB    disk1s1
    - Tried to make a dir and then mount but with no success:
    sh-3.2# mount -t msdos  /dev/disk1s1 /Volumes/Kingstone/
    mount_msdos: /dev/disk1s1 on /Volumes/Kingstone: Invalid argument
    I just need to copy the recorded files and then format again the flash drive.
    Any suggestion?
    Thank you in advance!
    Piero

    "DTV box may not have formatted properly" --> I'd suspect something like that too...
    FAT32 is limited to file size of 4GB actually (minus one byte).
    In my experience you can copy a larger file to a FAT32 volume, let's say a video file, but when the copying process is finished, you notice the size is 4GB, and when you play the video it ends abruptly at this point.
    (another limit is limited file name length and limited use of characters in the filename. A slash for instance is not allowed.)
    Piero, did you try to connect your flash drive to a windows machine?

  • Udisks2: mount only usb flash

    Hello, Arch users!
    How can I configure udisks2 to permit mounting only usb flash drives and similiar for users in "storage" group, not internal drives?
    Here are the contents of my /etc/polkit-1/localauthority/50-local.d/10-storage-group-mount-override.pkla:
    [storage group mount override]
    Identity=unix-group:storage
    Action=org.freedesktop.udisks2.filesystem-mount-system
    ResultAny=no
    ResultInactive=yes
    ResultActive=yes
    Or I must create another group "storage-flashonly" for this and configure something for it?
    My use-case: I want to protect guest users from mounting my windows partitions, but allow them automounting of their usb flash drives.
    Any thoughts aprreciated.
    Last edited by dontbugme (2012-05-26 02:28:00)

    Change Action line from
    Action=org.freedesktop.udisks2.filesystem-mount-system
    to
    Action=org.freedesktop.udisks2.filesystem-mount
    and it will be mount only removable devices, internal drives won't be mounted

  • Mount a USB flash drive from a shell

    I am about six months new to Linux; I have installed my first arch system but not yet installed a desktop environment.  I am trying to mount a USB flash drive from the shell but I am not having much luck.  I have tried following the instructions in the archwiki, http://wiki.archlinux.org/index.php/USB_Storage_Devices. I am having a problem with the following command:
    mount -t vfat /dev/sda1 /mnt/usbstick
    I get an error message saying that the mount point does not exist.  I have in the /mnt directory the following:
    cd cdrom dvd fd0 f1
    (I am not sure what fd0 and fl are, if somebody could please tell me I would appreciate it.  Also I do not have a DVD-ROM on my computer is the dvd listed by default or do I have a package installed I do not need?)  I did some searching online and came across the following site, http://linuxcommando.blogspot.com/2007/ … -from.html. I followed the instructions to identify the correct partition name corresponding to the USB drive by running the following command:
    grep SCSI /var/log/messages.log
    and I get the following results:
    Dec 30 22:16:17 morgan-desktop scsi2 : SCSI emulation for USB Mass Storage divices
    Dec 30 22:16:22 morgan-desktop sd 2:0:0:0: [sdb] Attached SCSI removable disk
    The next steps in the instructions are to mount the partition to the existing mount point (directory) by using the following command.
    mkdir -p /mnt/myusb
    mount -t vfat -o rw,users /dev/sda1 /mnt/myusb
    This is where I am having a problem, I do not understand the results and how to proceed to the next step, please help me.
    One other small question what is the best command to shut down the computer as a normal user?
    Thank you
    Morgan Smith

    Ok, Lots of different advice here, let's see if I can explain it all together, and clear up a few bits...
    I'll try to explain why I'm saying what I am, it doesn't matter if you don't follow it all, commands are below.
    You are on the right lines here, but a few things missing.  Firstly, to mount the USB stick you are using the correct command, but the locations are a problem.  The command is "mount -t type what/to/mount where/to/mount".   You can find out more about the mount command with "mount --help" or "man mount"
    You have correctly identified type as vfat - this means the pen is formated as FAT.
    To find out what to mount, you can check /var/log/messages.log, the second command you posted searches trough that file and prints out lines including the phrase SCSI, and the result tells you that a usb storage device had been attached as sdb, so the correct device is /dev/sdb1.  Storage devices are named sda sdb sdc etc in the order they are attached, and the numbers refer to the partitions on the disk.
    You can mount it anywhere you want, as any existing directory, but the one you tried to use /mnt/usbstick doesn't exist, so create it, using mkdir.
    The commands you need therefore are:
    mkdir /mnt/usbstick
    mount -t vfat /dev/sdb1 /mnt/usbstick
    This will work as root.  There is also, as byte said, a program called pmount (which you can get with pacman -S pmount) which works the same way for a standard user.
    Finally, there are also a number of tools like HAL which can be used to automate the process.
    As for shutting down, as has been said you must be root or in the power group, then you can use 'halt' 'poweroff' 'reboot' or 'shutdown'. All have slightly different effects, and poweroff is probably the easiest.
    Hope this helps
    Jack

  • 10.5.1:  Unable to mount a USB flash drive.

    I've seen this problem posted elsewhere, but so far I have yet to see a solution:
    After upgrading my MacBook Pro to 10.5.1, it can no longer mount USB flash drives. They show up in System Profiler as well as the USB Probe tool, but do not show up in Disk Utility (and, obviously, not on the Desktop or listed in /Volumes).
    I checked the drives on a co-worker's MBP, also running 10.5, and the problem persisted there. The drives mount and work fine under 10.4, as well as various flavors of Windows. When plugged into the MBPs, the status LEDs light up, so they are getting power, and mice plugged into the USB ports work fine.
    So, the problem seems to be specific to mounting a USB flash drive in 10.5/10.5.1. I'm not sure if this is specific to MacBook Pros, or if the issue is the same on all 10.5 machines.
    Any help would be appreciated.

    I have the USB problem. When I insert my USB memory pen, it flashes then stops. The icon doesn't come up on the Desktop, but the memory shows up on the System Profiler.
    My USB telephone responds in Skype, but the sound input and output don't show up in Preferences, and so the phone doesn't work.
    My Vodaphone USB internet modem won't connect.
    This morning, I have no sound at all.
    All these problems are resolved if the computer is restarted with the external source already plugged in, but it's a big hassle and must be solvable............

  • OS refuses to mount external USB flash drive. Says a piece of OS software is missing.

    OS refuses to mount external USB flash drive. Says a piece of OS software is missing. The flash drive (thumb drive) usually lights up but does not go through the flashing on/off that was tyjpical when first inserting it.
    I tried an external hard drive and got the same results; that is, no result, as if it wasn't connected. No icon appears on the desktop and no device shows up in the sidebar. It (10.6.8, Mac Pro Duo) had worked perfectly before this, of course.

    Hmmmmm,,,,
    Disconnected all peripherals. Did a Safe Mode startup and that worked fine. Very limited features, of course.
    Started up with the Snow Leopart (10.6.3) disk. Used disk utility to verify permissions and ran disk repair on all three internal HDs. No repairs needed.
    Ran Drive Genius and did the same things, as a double-check.
    Plugged in the flash drive (thumb drive) and it came up fine (still operating the OS from the Sno-Leop disk). 
    I wanted to re-start with the disk and bring up the Apple Hardware Test as you suggested. I had lots of kernal panics on a previous machine, a G4 desktop, and has used that at that time (with a 10.2 or 10.4 disk). thought I remembered that you hold the D key down when starting up from the disk and it would open the hardware test, but either I remember wrong or it works different in 10.6 because it was just a normal startup.
    How do I get to the Hardware Test on the 10.6 Snow Leopard disk?
    Restarted without the disk and the Mac Pro desktop still showed the gray screen with what Apple calls the "prohibitory" sign, the circle with the diagonal line in it.
    I decided to load the OS disk onto HD 3 and designate that as the startup disk, which I did and it works fine. The USB flash drive loads properly, opens, etc. just as it should. I haven't yet plugged in the peripherals (scanner, printer, second DVD/CD recorder, tablet, an external drive, or connected to ethernet yet. Will do those one at a time and see if any of them casued a problem.)
    Am I right in thinking:
    A) HD One might have bad sections. I didn't defrag with Drive Genius (26% fragged) or look for bad blocks, which I'll probably do tonight.
    or B) the OS has been slightly corrupted and may need reloading
    or C) I have a virus or conflict (though I haven't added anything new lately). I do have the ButtonManager loading problem for Mac. which is talked about on MacRumors site, etc. but the timing of its appearance and this problem don't match.
    Apologies for being so wordy; want to get all information that may be helpful. I appreciate your interest.

  • USB flash storage mounted as read-only filesystem

    Hello all,
    I'm new to Arch Linux and trying to migrate all my works to arch. Installed KDE, GNOME3, and hardware drivers successfully But I have problems with USB flash disks. When plugging a usb device, system mounts it as a readonly filesystem. so I can't change its contents. It always happens to my flash disk, but flash disk of my friend is ok!
    I tried to mount manually with super user access, but no hope. It says:
    [root@myhost soroush]# mount /dev/sdb1 /mnt/
    mount: warning: /mnt/ seems to be mounted read-only.

    roygbiv wrote:Maybe you can post your /etc/fstab?
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    /dev/sda2 / ext4 defaults 0 1
    /dev/sda3 /home ext4 defaults 0 1
    /dev/sda4 swap swap defaults 0 0

  • Usb masse storage  in solaris 10 problem !!

    Hi all
    i have srss 3.0 with solaris10-GA, all work well but the usb masse storage
    does' nt recognize by srss3.0 are there solution for that problem.
    or patch for srss 3.0.
    thanks team

    Congratulations on your choice of Os ;-)
    To solve this problem you can try and create a directory called /rmdisk , then start vold running:
    /etc/init.d/volmgt stop
    /etc/init.d/volmgt start
    if you are lucky your USB flash will show up under /rmdisk/<name> after a few seconds.
    If not you should be able to see the flash with cfgadm, which list the status of USB ports (among other things).
    Solaris should automatically create a /dev/dsk/ and /dev/rdsk/ entries for your flash memory, if its not automatically mounted by vold, try and stop vold using
    /etc/init.d/volmgt stop
    Then do a cd /dev/dsk and run an ls -lart, the USB devices should be among the last devices in that list, then mount it using:
    mount -F pcfs /dev/dsk/<device> /some/directory
    the device should end with s2 or p2, some flash devices might also need :c, aka /dev/dsk/<device>:c, it depends how its configured.
    See man mount_pcfs for more information...
    Hope this helps a bit (:
    //Magnus

  • Mount a USB Flash Drive

    I am running a 1998 iMac with a PowerPC Processor. It has MacOS 8.5.1. I have a PNY 2 GB USB Flash Drive. How do I mount this.

    The link says it won't work with G3(which is what I have).
    Where does it say that? Both the 8.6 update and the USB Mass Storage Support 1.3.5 are OK for a 1998 iMac (with 8.5.1 right now). Since the USB Mass Storage Support 1.3.5 requires 8.6, install that update first.
    Oh, and I forgot to mention the only means of transporting data is through a CD(which I can burn).
    Yes, you can transfer files on a CD. Use a CD-R (not CD-RW).
    If you are using a PC for the downloads, make sure that the files are kept unaltered. Do not try to decode the MacBinary (.bin) on the PC. Once on the iMac, use an appropriate version of StuffIt Expander (which, hopefully, is there already) for the decoding (drag the .bin file onto the StuffIt Expander program icon). Otherwise, special software (such as TransMac) will be needed on the PC in order to correctly handle Mac files.
    The iMac is not connected to the internet.
    If necessary, that can be resolved within minutes. The iMac has a built-in modem for a dial-up connection, or it can be connected to a broadband router by means of an RJ-45 Ethernet cable.
    Jan

  • External USB drive wont mount but USB Flash Drive Wll?

    I have an external usb hard drive formatted to NTFS. When I plug it in it shows up in my file manager as New Volume.
    When I click on it I get an error message that says
    "Cannot get volume fstype alternative"
    I have made changes to PolicyKit and it didnt fix it.
    I also have a Corsair Flash Drive that has no problem mounting and I can access it without errors.
    I dont have a clue how to fix it since one works and the other doesnt.
    Any help would be greatly appreciated
    Last edited by ziegen (2009-06-07 02:22:15)

    Have you got ntfs-3g installed?

  • [SOLVED] Mounting FAT32 USB Drive or Stick for Read/Write

    For newbies like me. First, plug in the drive and figure out the drive name with this command:
    dmesg
    It shows a kind of log file, near the end look for something like this:
    [    4.346919] sd 7:0:0:0: [sdc] Attached SCSI removable disk
    sdc is the drive name ('c' implies the third drive after 'a' and 'b'). Assuming one partition, the partition name is sdc1. Now determine your login user id and group id:
    cat /etc/passwd
    You're looking for a line like this where 'dbarthel' is my login id:
    dbarthel:x:1000:100::/home/dbarthel:/bin/bash
    In this case '1000' is my user id and 100 is my group id. Now create a dummy directory onto which you'll graft the drive's directories:
    sudo mkdir /mnt/usb
    You only have to do this once in the machine's lifetime. Then mount the drive:
    sudo mount -t vfat /dev/sdc1 /mnt/usb -o uid=1000,gid=100
    '-t vfat' is the FAT32 filesystem type.
    '/dev/sdc1' is the device partition ('sdc' comes from dmesg).
    '/mnt/usb' is the part of the directory tree to graft the drive onto.
    '-o uid=1000,gid=100' is who owns the files on the drive since FAT32 is dumb [or flexible! (comes from cat /etc/passwd)]
    I'm lazy so I haven't figured out how to automount the drive when inserted (something to do with the /etc/fstab). Its easy to be lazy when you can ctrl-R on a bash command line then type 'mount' to arrow up through prior mount commands, even across logins.

    First, I think this information might be better placed in the wiki somewhere.
    Secondly, for your automounting needs, theres many threads about it. Just search the forum and wiki.

  • Mounting NTFS,FAT32 and USB FLASH drive

    Problem and problem!!
    I am going to fade up with Solaris 10. Please somebody help me!!
    Problem is with mounting my FAT32, NTFS partitions and USB flash drive (twinmos).
    How can I mount FAT32, NTFS file system and my USB flash drive in Solaris 10??

    cN: the N'th disk controller installed in the system
    tN: the SCSI TARGET id. Also used for atapi, firewire and usb mass
    storage device, but it's always 0. Use to identify a specific disk
    device on the disk controller.
    dN: the SCSI LUN id. For atapi devices this is 0 for master device,
    1 for the slave device. For usb mass storge devices this field could
    contain a value > 0 - for example usb flash card readers often
    present the slots for the various flash card formats as multiple LUNs. For simple usb flash memory sticks, this should be
    LUN 0.
    sN: the slice N from the SunOS disk label. On a media without a
    disk label, slice 2 can be used to access all of the medias contents. Solaris SPARC supports slices s0 - s7, Solaris x86
    slices s0 - s15.
    pN: on Solaris x86 only: p0 is the whole disk (similar to slice s2,
    when there's no SunOS disk label), p1 - p4 are the four primary
    fdisk partitions.
    The ":c" suffix assumes the media contains the fat filesystem in
    a separate fdisk partition, searches the fdisk partition table for
    the first partition containing a fat filesystem, and mounts the
    filesystem from that partition. On Solaris x86, instead of using
    "p0:c" you could also use one of the p1 - p4 device; but the pN
    fdisk slices don't exist on Solaris SPARC.

  • How to mount USB Flash Drive

    Hello again Arch-Linux users,
    I always search google very hard and for months (off and on) I search for how to mount a USB Flash Drive.  Nothing ever work so I give up than try again months latter.  I don't want to give up anymore and that is why I join this forum.
    Here are some of the code I found on the net.  Some of these commands will only re-mount the entire Arch-Linux running system in  /mnt/usbstick.
    sudo mount -o rw,noauto,async,user,umask=1000 /dev/sda1 /mnt/usbstick
    ... don't work it only re-mount the entire system
    /dev/sda15 /mnt/usbstick  vfat   user,noauto,unhide   0      0
    ... don't work... I found nothing inside /mnt/usbstick
    mount -t vfat -o rw,nosuid,nodev,quiet,shortname=mixed,uid=1001,gid=100,umask=077,iocharset=utf8 /dev/sda1 /mnt/usbstick
    ... don't work... here is the error i get:
    mount: /dev/sda1 already mounted or /mnt/usbstick busy
    mount: according to mtab, /dev/sda1 is mounted on /
    It strange that most USB mount commands use the operating system partition itself- example: /dev/sda1 as the device for USB device, while others use /dev/cdrom for cd - /dev/dvd for dvd and /dev/fd0 for floppy.
    Could someone post the code that will easily mount a usb device under Arch_Linux.
    I'm using Arch-Linux core-64 (08-2009)
    Thanks in advance
    Last edited by sharris (2010-06-17 21:58:43)

    Thanks fsckd,
    I needed a rapid reply because I been wasting too much time not getting anything done because I needed to get pass this flash-drive thing.  I can now have a secure back-up in my pocket on USB to go.  Arch-Linux does it better for what I seen while just dd'ing on disk.
    ...lsusb
    Found it
    http://gd.tuwien.ac.at/linuxcommand.org … susb8.html
    Thanks demian,
    sdb is the location for my single hard-drive machine.  I saw it before in my list above but I changed it to sda1 because I knew no better.  I had no clue it represent a 2nd hard-drive for LINUX if one is not already present.
    This did it for me
    Thanks again

  • How to use USB flash drive in XFCE?

    Hello,
    How to mount/unmount USB flash drive in XFCE?
    Thanks for your help,
    Anand

    http://wiki.archlinux.org/index.php/AutoFS_HowTo might be interesting

  • Procedure to Mount ejected Memory Flash Cards without reinserting or rebooting

    The following Terminal command works to Mount ejected USB flash drives without reinserting or rebooting:
    sudo kextunload /System/Library/Extensions/IOUSBMassStorageClass.kext ; sudo kextload /System/Library/Extensions/IOUSBMassStorageClass.kext
    Source: http://ask.metafilter.com/241301/Mac-Mount-ejected-flash-drive-without-reinserti ng
    yet, it does NOT work for Memory Flash Cards like the SanDisk Extreme 128 GB SDXC Class 10 UHS-1 Flash Memory Card 45MB/s SDSDX-128G-X46
    http://www.amazon.com/SanDisk-Extreme-Class-Memory-SDSDX-128G-X46/dp/B00720TE1M
    How to accomplish that with such Memory Flash Cards in Mac with OS X 10.8.4 (Mountain Lion)?
    Is there a procedure that could work with both USB flash drives and also Memory Flash Cards at once?
    Thanks.

    OK, I have found this:
    re-mount ejected SD card without reinserting
    http://apple.stackexchange.com/questions/62478/re-mount-ejected-sd-card-without- reinserting
    with the following Terminal command:
    sudo kextunload /System/Library/Extensions/AppleStorageDrivers.kext/Contents/PlugIns/AppleUSBCa rdReader.kext; sudo kextload /System/Library/Extensions/AppleStorageDrivers.kext/Contents/PlugIns/AppleUSBCa rdReader.kext
    which I belive is wrong, because it generates an error:
    (kernel) Kext com.apple.driver.AppleUSBCardReader not found for unload request.
    Failed to unload com.apple.driver.AppleUSBCardReader - (libkern/kext) not found.
    I think that the right command is this (added space before semicolon):
    sudo kextunload /System/Library/Extensions/AppleStorageDrivers.kext/Contents/PlugIns/AppleUSBCa rdReader.kext ; sudo kextload /System/Library/Extensions/AppleStorageDrivers.kext/Contents/PlugIns/AppleUSBCa rdReader.kext
    But unfortunately, it does nothing. The Memory Flash Card is NOT mounted.
    Any idea?
    Thanks.

Maybe you are looking for

  • How can I redirect APEX(EPG) URL with afrindly one

    Hi All, I am using APEX with EPG on oracle 11g, and I would to redirect the URL http://localhost:8080/apex/f?p=122:1:43920293912715::NO with a friendly one like this http://project_name.mydomain.com Is there any one can help me know; how to do this r

  • DATA exchange using XML using ABAP

    Client is having requirement of sharing data with Third party using XML files and this needs to be done using ABAP and changes in XML structure are highly likely in the future and structure is very complex around 100 fields corresponding to an accoun

  • Import library crash

    I'm using Flash CS 3 Professional. When importing pictures to library the program crashes before import window can open. I've updated the program using Help> update - doesn't fix the problem. Went to find a patch and found 2 ptaches  Flash-10.0.1-en_

  • Dynamic Image Marker

    Dears, Is it possible to create dynamic image marker theme? for example, I have a geometry table which contains the location of schools and universites, i would like to show different marker for each type. the geometry table has a code field (S: for

  • Item Property changing

    Hi All, While Running the form the item proerty colur is changing...these problem is facing some times only....so that time i cant able to see wat data containing item.. How we find ..... plz .... Thanking you... Regards sathi..