Results 1 to 8 of 8

Thread: formatting flash drive

  1. #1
    Join Date
    Feb 2007
    Beans
    193

    formatting flash drive

    Hello,

    I got Ubuntu 8.04 LTS and I wiped a 2.0 GB Flash Drive using KillDisk (using the Guttman algorithm) on a Windows XP computer, I formatted it FAT16 and FAT32 (tried both) but it won't mount on Ubuntu. I tried erasing and reformatting with FAT but it won't mount that. What is going on?
    Last edited by num; August 20th, 2009 at 02:41 AM.

  2. #2
    Join Date
    May 2008
    Location
    Baker, OR USA
    Beans
    887
    Distro
    Ubuntu Development Release

    Re: formatting flash drive

    What if you do Applications->Add/Remove and search for Gparted. Put a check my gnome partition editor and apply chenges. Then go to System->Administration->Partition editor. What if you format it with that program? Then does it mount?
    I don't want to Live in a Life without Walls-too many viruses get in...
    Ubuntu user 23101 Linux user 472132
    Two ways to live: the choice we all face

  3. #3
    Join Date
    Aug 2009
    Beans
    26
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: formatting flash drive

    assuming that you have sudo access on your machine.

    Before inserting the flash drive do

    $> sudo dmesg -c

    Then insert the flash drive and do dmesg.

    Copy paste the output here.

    If you see something like /dev/sdd, then do the below

    1. mkdir sd any where, for example /home/abc/sd
    2. sudo mount /dev/sdd /home/abc/sd _OR_ sudo mount /dev/sdd1 /home/abc/sd

  4. #4
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: formatting flash drive

    Quote Originally Posted by riazrahaman View Post
    assuming that you have sudo access on your machine.

    Before inserting the flash drive do

    $> sudo dmesg -c

    Then insert the flash drive and do dmesg.

    Copy paste the output here.

    If you see something like /dev/sdd, then do the below

    1. mkdir sd any where, for example /home/abc/sd
    2. sudo mount /dev/sdd /home/abc/sd _OR_ sudo mount /dev/sdd1 /home/abc/sd
    All good advice but rather than anywhere, I would put it where it is supposed to be:

    Code:
    sudo mkdir /media/name_of_your_sd_mountpoint_here
    Then type:

    Code:
    sudo mount -a
    I would definitely attempt to format the drive with Partition Editor (Gparted) first and see if that works.

  5. #5
    Join Date
    Feb 2007
    Beans
    193

    Re: formatting flash drive

    I can format it ext3 and it will mount but FAT it will not mount

  6. #6
    Join Date
    Feb 2007
    Beans
    193

    Re: formatting flash drive

    anyone?

  7. #7
    Join Date
    May 2008
    Location
    Baker, OR USA
    Beans
    887
    Distro
    Ubuntu Development Release

    Re: formatting flash drive

    What if you use ntfs? windows can read it and so can Linux.
    I don't want to Live in a Life without Walls-too many viruses get in...
    Ubuntu user 23101 Linux user 472132
    Two ways to live: the choice we all face

  8. #8
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: formatting flash drive

    If you have it formatted in FAT (not sure why you're keen on this as it is not the best), make sure it appears in:

    Code:
    sudo blkid
    If it is not there, skip to the end of this post. If it is, take note of its 'sd*' and UUID number. Then:

    Code:
    sudo mkdir /media/name_of_your_sd_mountpoint_here
    ... This can be any name. Open your fstab file:

    Code:
    sudo nano /etc/fstab
    You should have the correct UUID number for the device from the results of 'sudo blkid' so; add something like this line at the bottom with the correct details:

    Code:
    # /dev/sd** (this line only to identify drive, commented out with a # so not read by machine)
    UUID=4893-E3A6     /media/mount_point_you_just_made    vfat    defaults,umask=0002,gid=46 0 0
    In bold are the bits you need to change. Finally;

    Code:
    sudo mount -a
    If the device is showing up in 'sudo blkid', then it is mountable. As mentioned in a previous post, NTFS might be a better choice. If you go that way, ntfs-3g mounts and adds things to fstab very easily. System->Admin->Synaptic, search for and install 'ntfs-3g'. It will then be in your drop down menu. Run it and it will identify and present NTFS devices and ask what you want to do with them.

    Hope this is of some help.
    Last edited by Bucky Ball; August 22nd, 2009 at 03:21 AM.

Bookmarks

Posting Permissions

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