Flash [?] drive not appearing in /dev/disk/by-uuid

I'm not sure if "flash drive" is the correct term or not ... the filesystem I want to mount is on a Sansa c240 MP3 player (a refurbished unit I bought last week), which connects via USB. Now, I *can* mount the drive, and have been able to all along, but I would like to add a line in /etc/fstab, using the device name from /dev/disk/by-uuid, so I can mount the thing conveniently under my regular username. But the device is not listed in /dev/disk/by-uuid (I've checked many times over the last couple of days).
That's not how it started, though. When I first brought the thing home and plugged it in, it did appear in /dev/disk-by-uuid. But I ran into some difficulties, and in the course of trying to make the player play nice with Linux, I formatted the drive once or twice using the player's internal command--still no problem as long as I did that. But then, following somebody's recommendation, I ran mkfs.vfat on the partition under Linux ... and that seems to have coincided with the device's disappearing from /dev/disk/by-uuid.
Now, I gather that USB flash drives and such don't always have UUIDs, but this one apparently does:
# blkid /dev/sdc1
/dev/sdc1: LABEL="Sansa c240" UUID="CC07-5165" TYPE="vfat"
And, as you can see, the partition is definitely visible, and I can mount it as /dev/sd*1, and copy files to it. It also has an entry under /dev/disk/by-id, just not under /dev/disk/by-uuid. Any ideas why that might be, or what I can do about it?
TIA for any tips.

Sorry for the necrobumping..but I have the same problem on a headless server running the  2.6.31 kernel, and not just with  flashdrives  but any usb storage: I see the uuid with blkid, yet they don't show up in /dev/disk/by-uuid/ . I can mount them with /dev/sd[a-z][0-9] but I rather use uuids in my mount-scripts. Is there any solution other than making the symlinks in /dev/desk/by-uuid myself?
<edit>
solved it myself:
The cause was 'OPTIONS="last_rule"' that I added to some lines in a udev-rule file I made in /udev/rules.d/ for automounting usb drives based on the ones here: http://wiki.archlinux.org/index.php/Ude … SB_devices. After removing those parts both my udev rule gets executed and the links in /dev/disk/by-uuid are created when inserting a usb drive.
</edit?
Last edited by rwd (2010-01-20 21:37:23)

Similar Messages

  • Flash Drive not appearing on desktop

    I plugged in my flash drive and it was working and showed up on my desktop like normal, but I ejected it improperly and now it's not showing up on the desktop and when I plug it in it gives me this message: The disk you inserted was not readable by this computer. The optionsit gives me are Eject, Ignore, or Initialize. Please help.

    Sounds like when you ejected it improperly, the flash drive was corrupted. Try to reformat it in Disk Utility.
    This will of course erase everything that was on the flash drive.

  • Flash drive not visible except in disk utility

    I have a new MacBook Pro running Mavericks 10.9.2.  The invisible flash drive is my main drive, not a USB drive.  Not in list of Devices in Finder, no icon on desktop, no way to see it except by using Disk Utility.  I see that many people are having problems with invisible flash drives but they all seem to be USB drives.  Does anyone know if this is a Mavericks problem, or is it a MacBook Pro system problem?  If Mavericks, maybe it will get fixed with next version. 

    I'm not certain what you mean by "invisible flash drive"?
    If you want your drives to show up on yoru Desktop, set the Finder Preferences to do so:
    Clinton

  • USB flash drive not being recognized as a startup disk?

    Hi everyone, I've been searching for similar questions but haven't found one that exactly matches my experience.  So, I'm going to try and explain my issue in hopes that others may be able to help.
    I'm trying to create a bootable flash drive from which I can install lion, and eventually Mountain Lion when it is released onto my main hard drive.  My main reason for doing this is  to have a way that I can perform a clean install of the operating system.  Yes, I know I am old fashioned, but sometimes I prefer clean operating system installs rather than upgrading.  In any case, I have downloaded the lion setup file from the Mac app store (Install Mac OS X Lion.app) and am following the directions given on this page to do this procedure.  These directions are consistent with directions found on various other sources online.  Having this file saved to my hard drive, I was able to find and extract the disk image file from the package InstallESD.dmg to another folder.  Once extracted, I plugged in my flash drive and attempted to use disk utility to restore the disk image to my flash drive.  I selected the dmg file as my source and the flash drive as the destination.  I then clicked restore and was warned that all data on the flash drive would be erased while the disk image was restored to my flash drive.  I was prepared for this, so I allowed the process to continue, and it appeared to proceed with no problem.  When disk utility was finished, I did a quick look at my flash drive using finder and confirmed that it did in fact appear to contain a disk image of the .dmg file.  Here's where things get interesting however.
    When I go to system preferences and choose startup disk, my flash drive is not listed as an optional disk from which to boot, only my hard drive ("macintosh HD").  When I restart and hold down the option key, my flash drive is not listed as a startup disk either.  I know that the non-intel based macs are not capable of booting from USB, but this is certainly not my issue as I have an intel macbook pro, mid 2009 model.  My flash drive is about 4 or 5 years old; it is a PNY Technologies Attaché 16 gb flash drive.  I have no trouble viewing and transferring files to and from the flash drive, the only issue is that my computer seems to refuse to recognize it as a startup disk.  Are there certain flash drives which do not support booting?  This would normally seem more like a computer issue rather than a flash drive issue, but most people seem to have no problem doing what I'm trying to do.  Unfortunately I do not have another flash drive with which to test this, and I didn't really feel like buying another flash drive just to test this out if in fact this is not a flash drive issue.  I am planning to upgrade to the macbook pro retina soon which of course does not have an optical drive, which is one of the reasons I would like to get this working.  Can anyone think of something else I can try?  Is it more likely an issue with the macbook pro or the flash drive?
    Thanks in advance for any thoughts.

    The format says Mac OS Extended.  All of the settings were set during the disk image restore process.  Even if I format the flash drive as extended journaled or some other format, all of these settings are reverted when I do the restore from the disk image.  I will just copy all of the information that disk utility has so that you can see it.
    Mount Point :     /Volumes/Mac OS X Install ESD     Capacity :     16.11 GB (16,106,110,976 Bytes)       Format :     Mac OS Extended     Available :     12.3 GB (12,303,499,264 Bytes)       Owners Enabled :     Yes     Used :     3.8 GB (3,802,611,712 Bytes)       Number of Folders :     128     Number of Files :     876

  • TS1369 iPhone does not appear in iTunes and also does not appear as a disk drive in My Computer (Windows XP)

    iPod does not appear in iTunes and also does not appear as a disk drive in My Computer (Windows XP)

    iPod or iPhone?
    iPhone and iPod Touch will never show as a disk drive.
    If it's an iPhone, this might help:  iOS device not detected in Windows

  • Flash Drive not supported

    Hello everyone,
    I purchased a SanDisk Cruzer Micro 1.0 GB flash drive not too long ago and it was working fine. Removed some software that was on it because I couldn't use it.
    Used my flash drive today and I receive this error, but still kinda works...
    "The disc could not be used because the disc drive is not supported. (Error code 0x80020025)"
    The flash drive also does not eject the flash drive correctly. The little light that is on the flash drive does not turn off when I press the eject button in the OS hard drive icon.
    I've tried reformating the flash drive and tried downloading the driver on the sandisk website, but it is for the Windows 98SE Operating System and does nothing for my iBook G4.
    Any suggestion would be much appreciated.
    Thanks,
    Stephanie
    iBook G4   Mac OS X (10.3.4)  

    Someone on another forum had a similar issue. Basically, you need to connect it to a Windows machine and uninstall the U3 software from it.
    The error message you get indicates that the computer is trying to access the flash drive as if it was a CD writer.
    (13744)

  • Cannot upgrade adobe flash player (failed to initialize), shockwave flash does not appear as a plug in

    various web sites stated that I needed to update adobe flash player. I clicked on link and followed instructions, then received the message "installation encountered errors - failed to initialize". So far, I have uninstalled previous versions of flash player and checked my plug ins. Noticed that Shockwave flash does not appear in my plug in list and adobe states that this needs to be active for their flash player.
    I am on Windows XP and Firefox version 8.
    Thanks.
    Cameron Cassidy

    Your above posted list of installed plugins doesn't show the Flash plugin for Firefox.
    See:
    * https://support.mozilla.com/kb/Managing+the+Flash+plugin
    * https://support.mozilla.com/kb/Installing+the+Flash+plugin
    You can get the Adobe Flash Player here:
    * http://www.adobe.com/downloads/
    * http://www.adobe.com/go/getflashplayer
    Or download the Flash Player via this page: Troubleshoot Flash Player installation for Windows
    *http://kb2.adobe.com/cps/191/tn_19166.html#main_Download_and_install_the_latest_Flash_Player_version
    # Download and save the Flash installer for the Firefox browser to your desktop.
    # Exit Firefox (File > Exit), you may need to verify that in the Task Manager (XP: Ctrl+Alt+Del, Vista: Shift+Ctrl+ESC, Processes tab)
    # Start the Flash installer with a double-click on the desktop icon of the Flash installer.
    * You may have to run the Flash installer as Administrator (right-click: Run as ...) to get access rights for installing the files and modifying the registry.

  • [SOLVED] ERROR: Can't find root device /dev/disk/by-uuid/...

    Yesterday I upgraded my Lenovo X100e
    # pacman -Syu
    and rebooted.  Upon reboot, I received the error
    ERROR: Cannot find root device '/dev/disk/by-uuid/[...]'
    just after kernel decompression. I got dropped into the recovery shell
    and could not boot.
    The problem persisted despite using different root device names (e.g. /dev/sda3, the actual root device).  After reading the instructions at https://wiki.archlinux.org/index.php/Chroot I used a core installation image (on a usb stick) to boot the machine, then chrooted into my installation.  I ran mkinitcpio and found that the udev hook was missing, i.e. not in /lib/initcpio/hooks.  Nor was there a file called 'udev' in /lib/initcpio/install.
    I copied these files from a friend's installation and then re-ran mkinitcpio:
    # mkinitcpio -p linux
    I was able to reboot successfully after that.
    The weird thing: I don't know how the udev hook script was deleted from /lib/initcpio/hooks.
    If someone else runs into this problem: try to run mkinitcpio (e.g. by using the chroot), and check for this problem.  I think the problem was that the root device could not be found because the udev hook had not run, and therefore /dev was unpopulated.

    Betwen udev-181-2 and udev-181-5, the hooks have moved from /lib/initcpio to /usr/lib/initcpio. But mkinitcpio -L should still list them.
    I have a similar problem since the last update. The kernel doesn't seem to load my raid driver anymore. Upon boot it throws some cryptic udev messages at me and then crashes. Haven't found out what that is about yet.

  • [solved] cryptkey /dev/disk/by-uuid doesn't work - udev does?!

    Hello,
    I have a cryptkey="/dev/disk/by-uuid/...:start:offset" option in my grub.cfg
    This one doesnt work (no keyfile found).
    But when I create a udev-rule which makes the device appear as /dev/foo (and add it to mkinitcpio.conf), the following works:
    cryptkey="/dev/foo:start:offset"
    on the other side, cryptdevice="/dev/disk/by-uuid/..." works fine.
    So why can't I use the first option but have to setup this rule instead?
    Or did I forget something?
    Last edited by weltio (2013-05-30 19:29:07)

    Oh - no iam just retarded. The device /dev/sdb doenst have a uuid... of course not. So i guess the udev solution is the only possible one.

  • [SEMI-SOLVED; STILL CURIOUS] no more /dev/disk/by-uuid

    I installed another Arch in a spare partition, reformatting  sda2 and sda5 (swap). Since I use UUIDs in fstab, when I rebooted the previous installation in sda1 it failed to activate swap, since the UUID of that partition changed. Not a big deal: just update fstab and activate swap manually.
    While doing this anyway I noticed that there was no more /dev/disk/by-uuid directory.
    Is this normal or should I be concerned? Also, can someone explain how this directory is populated at boot time?
    Thanks in advance for your help.
    SOLUTION: a broken installation of util-linux-ng: for unknown (at least to me) reasons, blkid was missing. I reinstalled the package and restarted udev: it worked.
    I'm still curious to know how come that i did boot my system without a /dev/disk/by-uuid directory, given the fact that both fstab and menu.lst use UUIDs.
    Last edited by daneel971 (2009-09-02 17:16:22)

    Hello Daneel971!
    What's the output of 'blkid' command ?

  • Iomega external hard drive not appearing in Disk Utility

    I have a MacBook Pro (from 2011) and I'm running OS X 10.9.5. I have an old Iomega external hard drive. I'm not certain but this thing might be about 3-4 years old? When I connect the drive to my MBP, it shows up in Finder under Devices. But what appears is the Windows disk utility that is pre-loaded on the drive. The actual drive does not appear and I can't move files onto it in Finder.
    When I go into Disk Utility and try to format the drive for Mac use, it doesn't appear.
    Is there anything I can do or am I stuck with this old drive that doesn't work with Macs?

    Try following tips.
    USB and FireWire Quick Assist - Apple Support

  • USB flash drive not recognized on desktop or disk utility

    I see a number of similar threads to this but nothing solves this problem.  Any help will be greatly appreciated as I am about to go crazy!
    I have 3 USB thumb drives that all worked 2 days ago - now only one does.  I have tried all drives in multiple ports and the same result.  I have restarted the iMac (2009 Yosemite) a number of times and the same result.
    This came about attempting to create bootable USBs with each of these.  I was struggling with the process on my mac so took 2 (brand new 16GB PNYs) to a PC created the live boot USBs and they booted fine on the PC (knowing this wouldn't boot my mac).  I did however plug them into my mac and they were recognized.  I finally found success creating a Ubuntu live boot with my old USB.  With that success I wanted to try with one of the new USBs on the mac.
    Here is what I did:
    1. Using Disk Utility - Reformatted the drive 1 partition MS Dos FAT 32
    2. In Terminal unmounted the drive and ran a dd command to copy the linux .img file successfully
    3. Box came up saying drive not recognized and selected to ignore (this happened on my old one that still works also)
    4. Ejected drive from terminal
    5  Restarted mac and attempted to boot from USB without success.
    After this the 2 new USBs were no longer recognized in any usb port while the other still is.  They do not show on the desktop nor in Disk Utility.  I checked them on the PC and they are still both recognized and showing the FAT 32 format.
    Help please!

    Thank you for the reply.  I found some time to go through this process a number of times without success
    Any other suggestions?

  • [SOLVED] Flash drive not showing up in /dev

    When I plug in a flash drive to the USB 2.0/3.0 ports on my computer, nothing changes in /dev. I don't see any /dev/sdb either.
    lsusb shows the flash drives, and /dev/bus/usb/ contains the correct files. fdisk and lsblk don't show the flash drives.
    Here's the dmesg output for plugging a flash drive into the USB 2.0 port:
    [13146.969084] usb 4-1.1: new high-speed USB device number 5 using ehci-pci
    I'm trying to mount the flash drives manually, but I can't if I can't find the device. What's going on?
    Last edited by gsingh93 (2013-08-19 14:55:22)

    The version number were different, and rebooting fixed the problem. I see the flash drive in /dev and in /run/media. Thanks guys.
    One more question. What program is automounting my flash drive in /run/media?
    EDIT: I'll mark this question as solved and make a new question.
    Last edited by gsingh93 (2013-08-19 14:55:07)

  • Flash drive not on desktop

    Hi, I have a MacBook Air with Lion and when I put in my USB flash drive, it won't show up on the desktop as it should.
    I have switched on the finde options that all should be shown on desktop, but this doesn't.
    Any idea what to do?
    Best,
    Anton

    If it is not mounting, try "mounting" the drive in Disk Utility.
    See if it then appears on the desktop. What is the file system on the drive? (FAT32)?
    You mentioned that Show "External Disks" is check-marked, right?

  • USB Flash Drive not readable using 10.4.6 but is with 10.3.9

    I noticed that a 32MB USB Flash Drive that used to work on my Powerbook when it was running 10.3.9 became unreadable when I upgraded to 10.4.6. This flash drive still works on my Dell WinXP system and I just tried booting the powerbook off a clone of my 10.3.9 setup (on an external firewire drive) and my flash drive works on that. So it appears to me that 10.4 has introduced a software bug that has disabled support for some flash drives. I will note that I also use a USB compact flash reader for transfering digital pictures and that does work under 10.4.6 so the problem does not affect all USB flash devices.
    Is Apple aware of this? Are they working on it?
    PB 1.5 GHz G4 15   Mac OS X (10.4.5)  

    Have you tried to open it in disk utility? Probably won't, but worth a shot. If not and you don't know who made it, then I'd say your out of luck. Probably time for a new Flash drive.
    A 32meg Flash Drive today is very cheap if you can find one. You can get a 250 meg Flash drive for $20-$30. That's 8 times the storage you have now.

Maybe you are looking for

  • Runtime error while using SAP Enterprise Connector in a J2EE Web Servlet

    Hello, I'm facing problems while trying to do a RFC call out of a Servlet. I'm using Development Components (DCs) and my project setup is as follows: Firstly I've created a DC of type J2EE/Web Module. This DC implements an absolutly simple servlet wh

  • Ipod 5th gen wont connect Please help!!

    My ipod is not recognized by my computer or itunes, it charges when in my main plug but not connecting when i use usb with laptop what can i do??? ipod nano 5th gen.

  • Sales Report - The report to display the Sale Dist accor to the Ship to.

    Hi Gurus, We have a report where Sales District is placed under the rows with Variable as Authorization processing type. The current report is displaying the Sales District with      Sold-to of the sale. But now the requirement is for the report to d

  • Obsolete Entries in SM04 After System Copy

    In my QAS system when performing  SM04  --> GoTo --> Terminals, I see many entries from my production servers.  I can tell from the Logon Date that it stems from when I did my system copy to QAS.  I am assuming there is some table that needs to be cl

  • Administration header could not be found error in Mobile Apps

    Hi All, Our company is using Sybase as the mobile application. Now we have a requirement to stop an opportunity from being saved upon certain condition. What I did: ~ I implemented ORDER_SAVE, method CHECK_BEFORE_SAVE ~ Inside the method, for some co