Fedora Linux Support Community & Resources Center
  #1  
Old 10th May 2012, 02:46 PM
Neruson's Avatar
Neruson Online
Registered User
 
Join Date: Apr 2011
Location: Colorado
Age: 32
Posts: 23
linuxfirefox
[solved] USB Flashdrive will not mount, not displayed in gparted

So, I've been playing around with openSUSE 12.2 gnome in virtualbox on my windows HD because it's the only major linux distro I've never used. I decided to install it on my laptop after a few weeks using SUSE's imagewriter app. It installed fine but it doesn't like my hardware on my laptop (and it's generally been a pain in the ass to use) so I used the gparted live cd and wiped it off of my laptop HD. I tried installing the fedora 16 gnome live iso onto this flashdrive (after wiping it using the gparted app) and now it won't mount, isn't visible in gparted or anything. I'm assuming it doesn't have a partition table... I need to reformat it and try to get fstab to recognize it again.

I ran "sudo mount -a /dev/sdc" and got this:

Code:
sudo mount -a /dev/sdc
[sudo] password for neruson: 
mount: can't find /dev/sdc in /etc/fstab or /etc/mtab
I then ran "cat /proc/bus/usb/devices" and got this:

Code:
[neruson@megatron ~]$ cat /proc/bus/usb/devices
cat: /proc/bus/usb/devices: No such file or directory
contents of /etc/fstab:

Code:
#
# /etc/fstab
# Created by anaconda on Sat Apr 14 16:02:28 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=4b0d258f-3a31-4496-998b-ab123e323d76 /                       ext4    defau$
UUID=2311a36e-a587-4766-ac8f-6bce651d89c7 /home                   ext4    defau$
UUID=19537b68-19d3-4a4b-bd4c-ba9e8dd957ac swap                    swap    defau$
contents of /etc/mtab

Code:
configfs /sys/kernel/config configfs rw,relatime 0 0
securityfs /sys/kernel/security securityfs rw,relatime 0 0
mqueue /dev/mqueue mqueue rw,seclabel,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,seclabel,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
tmpfs /media tmpfs rw,rootcontext=system_u:object_r:mnt_t:s0,seclabel,nosuid,no$
/dev/sda3 /home ext4 rw,seclabel,relatime,user_xattr,acl,barrier=1,data=ordered$
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
gvfs-fuse-daemon /home/neruson/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,rela$
and here's what I get when I run "sudo fdisk -l"

Code:
[neruson@megatron ~]$ sudo fdisk -l
[sudo] password for neruson: 

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f1725

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    20482047    10240000   83  Linux
/dev/sda2        20482048    28674047     4096000   82  Linux swap / Solaris
/dev/sda3        28674048  2930276351  1450801152   83  Linux

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005d3c3

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048   976773119   488385536    7  HPFS/NTFS/exFAT
It's an 8GiB sandisk mini cruiser and it used to be listed under /dev/sdc... I hope that's enough information. I've never had this type of problem reformatting a flashdrive after installing a bootable image to it before. I have no idea how to fix it, so any help on how to get this working again would be greatly appreciated. I want Fedora back on my laptop and I don't want to buy any CD-R's. Plus I'd like to be able to use my flashdrive again

---------- Post added at 07:46 AM ---------- Previous post was at 07:06 AM ----------

Nevermind. I figured out what the problems were. Apparently BOTH of my front usb ports have gone bad in my desktop. I plugged it into one of the four on the back of my desktop and it read it fine. Reformatted it with gparted and ran liveusb-creator which told me that the mbr was screwed up and to run "liveusb-creator --reset-mbr" I did that and it's working fine now
__________________
Desktop: Fedora 18 Gnome / Windows 7 Professional
Main Laptop: Fedora 18 Xfce
Old Laptop: Arch Linux Openbox

Last edited by Neruson; 10th May 2012 at 02:17 PM.
Reply With Quote
  #2  
Old 10th May 2012, 04:03 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: [solved] USB Flashdrive will not mount, not displayed in gparted

Please check your cables ;-)
Reply With Quote
  #3  
Old 10th May 2012, 04:45 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302
linuxfirefox
Re: [solved] USB Flashdrive will not mount, not displayed in gparted

Suse questions don't belong under Fedora Support.

Your original command "mount -a /dev/sdc" is silly. "-a" says mount EVERYTHING listed in fstab, maybe qualified by a type, /dev/sdc says to mount a specific block device.

Quote:
-a, --all
Mount all filesystems (of the given types) mentioned in fstab.
Even "mount /dev/sdc" is nonsense since there is no mount-point specified.

When you plug in a USB drive it MAY show up as /dev/sdc or something else - don't guess - use "dmesg | tail" after you hotplug or else look in /proc/partitions (that's what fdisk does for example).


=======

In your case the drive didn't appear. If you lookde through dmesg you might see the details why.

I suggest yo utry a different USB port - something is wrong at a low level.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #4  
Old 10th May 2012, 05:19 PM
Neruson's Avatar
Neruson Online
Registered User
 
Join Date: Apr 2011
Location: Colorado
Age: 32
Posts: 23
linuxfirefox
Re: [solved] USB Flashdrive will not mount, not displayed in gparted

Quote:
Originally Posted by stevea View Post
Suse questions don't belong under Fedora Support.

Your original command "mount -a /dev/sdc" is silly. "-a" says mount EVERYTHING listed in fstab, maybe qualified by a type, /dev/sdc says to mount a specific block device.



Even "mount /dev/sdc" is nonsense since there is no mount-point specified.

When you plug in a USB drive it MAY show up as /dev/sdc or something else - don't guess - use "dmesg | tail" after you hotplug or else look in /proc/partitions (that's what fdisk does for example).


=======

In your case the drive didn't appear. If you lookde through dmesg you might see the details why.

I suggest yo utry a different USB port - something is wrong at a low level.
Technically I was using my Fedora machine to fix it. That's the only reason I posted this here, but if that's still against the rules I'll keep that in mind in case something similar ever happens again, and like I said I've never really had an issue like this happen before so I'm not very knowledgable about mount commands. I've just never had to use them. Usually everything in that area just works. I guess I should learn though

I opened up my PC and checked my cables. They're not the problem. The ones in the back work fine and I use those more anyway, so I'll deal with that problem later.
__________________
Desktop: Fedora 18 Gnome / Windows 7 Professional
Main Laptop: Fedora 18 Xfce
Old Laptop: Arch Linux Openbox

Last edited by Neruson; 10th May 2012 at 05:34 PM.
Reply With Quote
Reply

Tags
displayed, flashdrive, gparted, mount, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to re-read sda when gparted i start gparted penduleum Using Fedora 8 10th February 2010 04:33 PM
Partition auto mount after using gparted tsangcn Using Fedora 0 8th June 2008 01:56 AM
USB Flashdrive Permissions [FC9] namelessjon Using Fedora 2 15th May 2008 10:27 AM
Mounting USB flashdrive in FC6 chanls Hardware & Laptops 1 3rd November 2006 01:03 AM
USB Flashdrive not detected Pipette Monkey Hardware & Laptops 7 6th April 2005 01:29 AM


Current GMT-time: 11:15 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat