Find the answer to your Linux question:
Results 1 to 2 of 2
I just want mount a USB Flash formatted in windows FAT/FAT32 file system to copy some files I used hope-koha:~# lsusb Bus 005 Device 016: ID 13fe:3600 Kingston Technology Company ...
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Posts
    7

    Hi, want to mount USB Flash formatted FAT/FAT32

    I just want mount a USB Flash formatted in windows FAT/FAT32 file system to copy some files I used

    hope-koha:~# lsusb
    Bus 005 Device 016: ID 13fe:3600 Kingston Technology Company Inc.
    Bus 005 Device 006: ID 0bda:0111 Realtek Semiconductor Corp. Card Reader
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 003: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
    Bus 003 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    the Kingston technology is the 4 GB USB flash drive, it is detected

    then I did like below,

    hope-koha:~# mkdir /media/USBflash
    hope-koha:~# mount /dev/sda1 /media/USBflash

    it mounted successfully, but when I go to /media/USBflash

    hope-koha:~# cd /media/USBflash/
    hope-koha:/media/USBflash# ls
    bin etc kohabk261212.sql media root sys vmlinuz
    boot home lib mnt sbin tmp vmlinuz.old
    cdrom initrd.img lib64 opt selinux usr
    dev initrd.img.old lost+found proc srv var
    hope-koha:/media/USBflash#

    i also changed the one I put in Bold below to give me read and write in the flash

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/sda1 / ext3 errors=remount-ro 0 1
    /dev/sda5 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 1


    hope-koha:~# fdisk -l

    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x29722972

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 9357 75160071 83 Linux
    /dev/sda2 9358 9729 2988090 f W95 Ext'd (LBA)
    /dev/sda5 9358 9729 2988058+ 82 Linux swap / Solaris

    Disk /dev/sdb: 4047 MB, 4047503360 bytes
    41 heads, 41 sectors/track, 4702 cylinders
    Units = cylinders of 1681 * 512 = 860672 bytes
    Disk identifier: 0xc3072e18

    Device Boot Start End Blocks Id System
    /dev/sdb1 5 4703 3948608 b W95 FAT32

    is there anyone who can help me what I have to do to access my flash

  2. #2
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,942
    Try

    (No other Flashdrives Plugged in)

    Code:
    sudo mount -t vfat -o rw,umask=0 /dev/sdb1 /media/USBflash
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •