Ubuntu :: Unable To Unmount Usb Drives When Not Root
May 2, 2010
After upgrading from 9.10 to 10.04 I am unable to unmount usb drives when I'm not root. Every time I have to type "sudo umount /media/... " and give my password. When I right click the drive and click unmount, I get the following message:
Unable to unmount disk1 unmount: /media/disk1 not is not in the fstab (and you are not root)
How do you unmount for safe removal external drives (such as USB sticks) in Lubuntu? In Nautilus (Ubuntu) under the File menu there are options Eject and Safely Remove Drive; but in Lubuntu I can't find anything like that.
there are some drives in my system that appear to be always mounted (were at some point) that I cannot get rid of - i checked fstab, and do not appear there - 2 are related with the use of truecrypt, and 1 is from an exernal HD
i use Ntfs 3g for auto mounting my windows partition. but for some reason i want to get it unmounted on boot.but when i get into the NTFS config tool i cant figure that out.
I have 3 u3 type flash drives, 1 Memorex and 2 Sandisk Cruzers, and one non-U3 (JDSecure).The purpose is file storage.All four work perfectly on Ubuntu 10.04 and XP.I have continual problems with the U3 devices on 11.04. Problems vary from not being able to open the flash drives causing screen to freeze until I remove the device from the hub, or I am unable to unmount the device causing the desktop to freeze until devices are removed.Sometimes I am able to access files in the flash, before the freeze.The non-U3 device works perfectly on 11.04, 10.04, and XP.Sounds like a system problem to me. I have google searched this to death, but can't find a solution.
I have Seagate Freeagent Go 500GB external hard drive that I use for backup. I wanted to resize the partition so I used GParted to shrink the 500GB NTFS partition to 400GB. The other 100 I wanted to encrypt and use for some other more important files. For some reason, the shrink failed and I disconnected the hard drive and reconnected it. I didn't see the icon appear on the desktop. I went into the Disk Utility to discover that GParted's shrink error deleted all of the partitions on my hard drive. So I created a new 400GB NTFS partition and put back all of my files. The other 100 is unallocated currently.
It will normally mount automatically and show up on the desktop but the hard drive won't mount without me going into the Disk Utility and mounting it through there. I can't even mount it from the Terminal with root privileges. It gives me this:
Quote:
sudo mount /media/My Data mount: can't find /media/My Data in /etc/fstab or /etc/mtab
Now, I can unmount with root privileges and I can unmount it from the Disk Utility. I can browse and edit the files within. But I can't unmount it from within Nautilus or on the desktop (the Safely Remove Drive option is not there).
The new 400GB partition also isn't detected by GParted. It just shows the whole drive as unallocated.
Having problems with external hard drives. I may be wrong, but I suspect they originated with an upgrade to 10.04 last Christmas. Around that time I also started using Amazon's S3 storage system, and, as a consequence, I stopped using my WD 80G external drive, previously used to backup my important files.
A week or so ago I decided to start using the WD drive again. I can't remember exactly what I did, but it wasn't happy - never caused any problems before. When I plug it in, the on-off light as the front keeps flashing on and off, and when I try to remove the drive I get the message: Error unmounting volumne An error occured while performing an operation on "My Book" (Partition 1 of WD 800BB External): The device is busy
Details: Cannot unmount because file system on device is busy Assuming the device had died - it's about 5 years old - I bought a 160G Samsung S-Series drive - my but they do look neat! Unfortunately, this doesn't seem to have solved my problem. I plugged the new drive in, and it happily appeared on my desktop. It seemed a good idea at the time, but I then started to format the drive - using the default option of FAT. All went well at first, but then the format process stopped.
My new Samsung drive now seems to be operating pretty much as the WD device, I can't copy to the drive, and attempts to unmount it generate a response similar to what's happening with the WD drive. Currently, although plugged in, I can't see the drive on my desktop, although it appears under Places. However, when I try to mount the drive, I get the message: Unable to mount SAMSUNG A job is pending on /dev/sdb1
I am unable to mount partition in ubuntu 10.04. Icons for different partitions are not coming within "Places". Every time I have to manually mount the partition or CD or DVD and manually unmount it. Seldom it shows the partition icons within Places>Computer. Then the partitions are getting mounted upon double clicking its partition-icon. But I fail to unmount the partition as it throws the error "media/partition_name is not in the fstab (and you are not root)."
I have just bought a WD USB disk and (of course) it is formatted in NTFS and I want to reformat it to ext3. But Gparted can't unmount it, I get the info:
Unable to find mount point Unable to read the contents of this file system!
Because of this some operations may be unavailable. The following list of software packages is required for ntfs file system support:
ntfsprogrs. But ntfsprogrs is already installed on my Ubuntu (Natty) system! How can I reformat that disk?
I have a Centos 5.5 system with 2* 250 gig sata physical drives, sda and sdb. Each drive has a linux raid boot partition and a Linux raid LVM partition. Both pairs of partitions are set up with raid 1 mirroring. I want to add more data capacity - and I propose to add a second pair of physical drives - this time 1.5 terabyte drives presumably sdc and sdd. I assume I can just plug in the new hardware - reboot the system and set up the new partitions, raid arrays and LVMs on the live system. My first question:
1) Is there any danger - that adding these drives to arbitrary sata ports on the motherboard will cause the re-enumeration of the "sdx" series in such a way that the system will get confused about where to find the existing raid components and/or the boot or root file-systems? If anyone can point me to a tutorial on how the enumeration of the "sdx" sequence works and how the system finds the raid arrays and root file-system at boot time
2) I intend to use the majority of the new raid array as an LVM "Data Volume" to isolate "data" from "system" files for backup and maintenance purposes. Is there any merit in creating "alternate" boot partitions and "alternate" root file-systems on the new drives so that the system can be backed up there periodically? The intent here is to boot from the newer partition in the event of a corruption or other failure of the current boot or root file-system. If this is a good idea - how would the system know where to find the root file-system if the original one gets corrupted. i.e. At boot time - how does the system know what root file-system to use and where to find it?
3) If I create new LVM /raid partitions on the new drives - should the new LVM be part of the same "volgroup" - or would it be better to make it a separate "volgroup"? What are the issues to consider in making that decision?
OS views all USB drives as owned by 'root'. My internal 40 Gig drive files appear properly owned by 'glene77is'.My primary backup is a 320 Gig with all files now owned by 'root'.Using the filemanager "Nautilus", all USB external devices must be accessed as 'usb0', 'usb1','usb2', etc.The device names such as 'Alpha', 'Beta','Cappa' are not usably recognized in the menu options.Nautilus shows their names and the usb# as menu options for browing a device directory. Nautilus will open only the usb# menu option. Then sees all files as owned by 'root'.
Can't start Ubuntu, stops after first password. I can access files on my encrypted partitions with LiveCD but I wonder if I can install Ubuntu and still have access to the encrypted drives as I can with LiveCD?
One day recently, when I plug in a flash drive, Xubuntu won't let me write to it unless I open my file manager as root (gksudo thunar). This happened a few weeks ago, back under 10.10; I didn't say anything because I thought the upgrade to 11.04 might fix it. But the behavior continues.If I stick a zip disk in the drive, I can write to it as normal...but a flash drive gives me read-only permission unless I open Thunar as root. I don't recall doing anything special with my system, except maybe installing MountManager (I've since removed it, but I'm still getting read-only access).
I edited the passwd file to modify the default shell for root from bash to tcshnow when I try to login to root it gives me the following error:"su: /bin/tcsh : No such file or directory"
When my husband and I installed Open SuSE 11.2, we made the mistake of telling it to have my other 2 hard drives owned by root. So now, whenever I want to open my other 2 hard drives, I have to type in the root password. How can I change this?
mounting any usb thumb drives. The result is the same whether it is automounted or mounted via the CLI. The drives all have root:root file permissions and cannot be changed to my normal user "ramack". There doesn't appear to be any errors and it is limited to only this Acer Aspireone Netbook running i386 Testing. I don't have anything in my fstab in regards to mounting usb drives.
How to disable the NTFS drives root password authentication?When I try to access the NTFS drives for the first time after logging in, the system is asking for root password authentication.How can I disable this?
Environment: A 32-bit kernel RHEL5.3 system running on a virtual machine. The root(/) filesystem is on an LV.
Issue: Unable to resize the FS after extending the root LV since it is mounted. After extending the LV, online resizing of the FS was not supported and the root filesystem could not be unmounted while it was in use. On rebooting, I got a kernel panic error. In runlevel 1, I couldn't run chroot, couldn't find the /etc/fstab, root FS could not be mounted, fsck did not run (tried block 31 for second copy of superblock using dd count=1 bs=4k skip=31 seek=1 if=/dev/sda2 of=/dev/sda2), couldn't find any rpm on installation media to install unix-utils rpm. On running commands in runlevel 1,
Can't mount external usb drives. There are no errors, they just don't show up anywhere.
Also Trash icon has disappeared from bottom panel, is inaccessible from Nautilus - "Sorry, could not display all the contents of "trash": Operation not supported" - and Desktop icons default to 'Keep Aligned' every time I restart.
etc/fstab with a flash drive and an external HDD plugged in code...
I am running 10.04 Lucid Lynx 64 bit. Whenever I insert a CD or USB flash drive, I get the error "Unable to mount - Not Authorized". I can, however, mount these things by using the mount command from the console as root. I suspect that either the component of Lucid which is responsible for automounting has a bug, or there is some kind of permissions bug with the way Ubuntu sets up the primary user. Does anyone else have this problem? Is there a workaround? Should I file a bug report?
I have some USB drives that for some reason I cannot create folders or documents on. This pertains to all of my external USB drives. Works fine when I am in the Mac partition but not in Ubuntu. Another thing is that when I plug in an external drive, a nautilus window with the contents of the drive opens. Happens to all of my USB drives.
I have Ubuntu 10.04 set up on my acer revo, this is connected to a wireless router via ethernet. Next door, is a pc that is running windows XP, and an original XBOX running XBMC. Those are connected via a crossover cable. The XP machine connects to the web wirelessly using my router, and the connections are bridged for XBMC's TV show scrappers. The idea is we use the revo for downloading as it consumes a relatively small amount of electricity. I have two external 1tb drives connected to the revo with Tv shows and movies, I would set up a network share so the XP machine could see them, and the xbox would be able to share the videos present.
I have installed samba, right clicked the drives in question and clicked the sharing options. I have ticked to allow guest access, and write access. This worked! I the shared the /home directory on the revos harddrive using exactly the same method. This worked. However I was no longer able to access the External drives. The UID has remained the same. I then tried unsharing /home, still no joy. Tried resharing /home Home now works, but still the externals don't.
I have a windows XP Pro machine and also a Server running ubuntu, the server was built for me and the builder is no longer available for consultation. The server drives which were on my desktop beside my C drive were working flawlessly allowing me access until windows started running quite badly which meant I had to reinstall it. After the reinstall I could not see the drives displayed and I am unable to access them from windows. And also not able to mount them. The server has not been switched off at any time and does not even have a monitor or keyboard or mouse. I have not done anything to change any settings to it. I have zero knowledge of the system. My windows administrator password is exactly the same I have looked on the server and my files are intact I just cant access them from windows which I need to do.
I got the following details off the server: KERNAL LINUX 2.6.27.5 - 117. fc10.i686 GNOME 2.24.1 MEMORY 881.4 MiB Processor AMD LE 1620 Samba Server Version 3.2.4-0 fc10
I was told the drives should appear on their own but that's not happening I am not able to sight them at all file sharing and printer sharing is enabled.