Ubuntu :: Can't Unmount External Hard Drive Without Root Not Being Detected By GParted
May 26, 2011
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:
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.
I have an external hard drive which connects to a usb port. until recently i could unmount it by right clicking on the desktop icon and selecting unmount. now when i try that it tells me that i can't because the device is not in fstab and i am not the root. i checked mtab and it had this line '/dev/sdb1 /media/usb0 msdos rw,noexec,nodev,nosuid 0 0' i changed that to '/dev/sdb1 /media/usb0 msdos user,rw,noexec,nodev,nosuid 0 0' thinking that would fix it, but it didn't. i unmounted using 'sudo umount /media/usb0' and restarted my computer and now the line in mtab reads '/dev/sdb1 /media/usb0 vfat rw,noexec,nodev,sync,noatime,nodiratime 0 0' and i still can't unmount without using the sudo umount command. i also tried adding '/dev/sdb1 /media/usb0 msdos user,rw,noexec,nodev,nosuid 0 0' to fstab and that didn't help
I've been running Linux for a year on our family computers (one desktop, one laptop and two netbooks). I've run into a problem with the encrypted ext4 partition (270GB) on a LaCie external hard drive which also has a NTFS partition (50GB) which is not encrypted . First two times I tried using the encrypted ext4 partition (from two different computers) it worked fine but now I can't access it at all. I can still access the NTFS partition.Encrypted external hard drive partition will unlock but won't mount (or unmount). The computer says "Opening 320GB Hard Disk" but after a minute says, "Unable to mount location. DBus error org.freedesktop.DBus.Error.NoReply"Disk utility (GUI for gparted I believe) states that the encrypted partition (/dev/sdb1) is unlocked and the underlying partition (/dev/dm-0) is not mounted but it has a "busy circle sign" on it that will not turn off. The NTFS partition on the same drive mounts and accesses normally.
But if I try to unmount the NTFS partition, it says: "Unable to stop drive. One or more partitions are busy on /dev/sdb"If I try to shut down the computer, it is unable to shut down because (I assume) it can't shut down that drive either. So I have to just turn off the computer.fdisk states that /dev/dm-0 doesn't have a valid partition table [full output attached]fsck suggests: "Filesystem mounted or opened exclusively by another program?"ps axuf shows some processes running on /dev/dm-0 but killinghem doesn't release the drive either. [full output attached]I checked /etc/blkid.tab (suggested in one vaguely related thread) and there's no actual file only a broken link pointing to /dev/.blkid.tab (which doesn't exist). I tried deleting this link and rebooting but that didn't change anything.when I finally gave up my data as lost, I tried to format the partition (using Disk Utility) and it refused saying, "One or more block devices are holding /dev/sdb"
I am trying to mount an external USB hard drive. I'm using Debian Lenny 5. I tried to right-click on the hard drive and then select the mount command inside the gnome desktop environment but it gives me an error. Is there an easy way to mount and unmount this hard drive? The hard drive itself is formatted from the factory in NTFS. I'm going to leave it in this file format is a need to use it with Windows machines as well.
My Toshiba 500Gb USB hard drive is not being detected anymore when i insert it in 9.10. It only started doing this from last week, it was fine before (and it works fine in Windows XP). The connections are fine and all, because when i type "lsusb", i see it as follows:
Bus 001 Device 003: ID 19d2:0063 ONDA Communication S.p.A. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 004: ID 0930:0b09 Toshiba Corp.
I have 1tb Seagate Freeagent NTFS External HD. I have Windows Vista Ultimate SP1 with dual boot as Ubuntu. I'm primarily a windows user, since i'm not that well acquainted with linux. External Hard Drive does not detect- when i connect it..it just gives a whirring sound and the "My Computer" window hangs. Figured out the cause- and temporary solution- The drive should do principle mount automatically. It won't if the file system is not "clean". That is possible if the drive was connected while you hibernated Windows, or if you did not properly disconnect the drive.
I booted with ubuntu and did the following- sudo fdisk -l and got the following: Disk /dev/sdb: 1000.2 GB, 1000204884992 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x396e2b4d
Device Boot Start End Blocks Id System /dev/sdb1 1 121601 976760001 7 HPFS/NTFS
Then I typed: sudo mkdir /media/FreeAgent sudo chmod 777 /media/FreeAgent And wrapped it up with editing fstab with the following code: #FreeAgent USB Drive /dev/sdf1 /media/FreeAgent ntfs defaults 0 0
Now the browser window for the freeagent hard drive pops up and I can access everything. I try to shutdown the computer but it won't as long as the hard disk is connected. So I have to pull the usb out. And the problem remains the same. I want the hard disk to be detected normally on my windows/linux (like normal usbs work-plug it in and it works). Also have no clue how to work a temporary solution like this with windows yet. I have boot with ubuntu everytime and repeat these steps when I want to access it.
I have a problem with my external hard drive. I've always used to connect it to my Ubuntu Server with the following command: sudo mount -t ntfs-3g /dev/sdc1 ..and it's worked fine, but after a reboot I did a couple of times ago, the hard drive no longer appears.sudo fdisk -l doesn't show the hard drive anymore. Connecting it to a Windows computer works, I even tried the "safely remove harddrive" function, but to no avail.
I had this corrupted external hdd and so I formatted the main partition on it on windows but messed up in the formatting and ended up having to format the entire thing. I got some weird message about it not being initialized (no not mounted) so I was in compmgmt.msc in windows and right clicked it in device manager and it asked for master boot or GUID I selected the latter and formatted. Worked fine and all for a bit but now it doesn't show up as a drive. I noticed when using compmgmt.msc it showed up that it had installed driver software and was being recognized but in the partition editing area there was nothing on this drive, reinstalling driver software doesn't seem to help. Also GParted wont load up when I have it plugged in and Disk Utility doesn't show it. I am requesting help to fix this problem within Ubuntu 10.10 somehow so I can use it properly.
I just had a fresh install of Fedora 13 x86_64 on my notebook after using fedora 13 x32 for a while.I am using KDE Desktop.Everything seemed to be working fine out of the box except for minor problems with sound and plugins.The biggest issue is that Fedora does not recognize when I plug an external USB HDD (WD 320 GB for this matter).The USB light on the HDD does not go on, and nothing is auto mounted.It seems that USB does not work at all - I have tried to plug another USB device and it didn't seem to have power.
I am trying to use my external hard drive to store webpages and on the webpages it is uploaded to the folder. When i navigate to the address it says it is forbidden. I also noticed that it would not let me upload files to the folder it says i do not have permission. Can someone help me get passed the barriers. The hard drive is ntfs.
I am having this problem. I use an external usb hard drive with my pc running on ubuntu 11.04, If I keep the hard drive idle for a few minutes, ubuntu unmounts it. I suspect there are some options for this, so I looked into the Power Management section, but found nothing that can solve the problem.
I have external USB hard drive of 320GB(seagate sata).It works fine but, it unmount automatically after some time.In windows it works fine without any problem. also I unplug USB cable & plug it again to mount it is there any other way of mounting it after it gets unmounted.
I am using a live-cd version of linux and want to install it to my hard-drive but when i try to unmount it and go into qtparted, it says it is still busy so i cant perform changes. This is my result when i type "mount"
aufs on / type aufs (rw) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) /proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...
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 have a laptop with only 30GB storage and I want to install Lubuntu in virtual box but Lubuntu needs 5GB of storage space which i dont have. Could i use an external 160GB hard drive to act as the hard drive for the virtual machine without affecting the files that are already on the external hard drive
I decided I'm going to go back to a dual boot to see if I can get some of the slackware issues resolved on my laptop; its ubuntu only at the moment due to wireless problems. I've only got one hard drive so I can't simply unmount and repartition from gparted, I've lost all of my random linux live cds, and can't find a spare blank optical disc. Is there a way to boot from directly from the iso or from a flash drive or something?
I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.
Code: sundar@sundar-sundar:~$ fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes
Hardware: Toshiba Satellite L755Software: openSuse 11.4 with kernel 3.1.0-rc1-98-g72fa599-1-vanillaPeripherals: Logilink USB 3.0 to SATA HDD Adapter with Western Digital WD2500JSI installed the Vanilla kernel in the hope that USB 3.0 will work. But though some things really have been fixed (for instance, the notebook can resume from sleep mode), USB 3.0 still doesn't work.
Code: lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I wonder if anyone can help me. A little background, I wanted to move my xp install to a bigger hard drive. I used Saikee's method and worked fine (as usual). My machine was a dual boot system, the xp partition was with little space so I get rid of my vista install, deleted its partition. That went fine also. Rebooted directly to XP.The problem is as follows:
a) In order to increase the size of my xp partition (old machine, athlon64 1gb of RAM) I moved my data partition to the left in order to have unallocated space near the xp partition. That was successful, I rebooted and everything was fine.
b) I run again Gparted and increased the size of the partition. Gparted told me the process was successfully applied. I rebooted.
c) after post I get the following error "error reading disk, press ctr-alt-del". I did it like five times and I get the same message.
d) With my xp install disk I tried fixboot and fixmbr and nothing changed
Since I have the original hd, I did it again, and the same thing happened after resizing xp partition, before the resizing process I was able to boot normally. I used Gparted live cd v 0.6.2 and as far as I recall I left "adjust to mib" option
Been using Ubuntu to extend the life of my hard drive. I'm not very familiar with the inner workings of Linux, but I know computers well.
My System: - Ubuntu 10.04, gnome environment. Dual boot XP.
Problem: - my external drive, WD essentials 2.2 TB, stopped working recently, about 6 months after installation of dual boot.
Facts: - still detected, though SMART does not detect it. - XP still detects it - cant access files though. * - Ubuntu now detects a floppy drive, which I do not have. - power still working. - have tried a few different USB cables. - happened around the time of several software updates. Maybe paranoia. - had trouble with music playback.
Hypothesis: - Drive is dying, cuz XP wont allow me in. * - Something happened and it rolled back the drivers on the External HD. - Somehow losing Voltage, though I dont know how. **
Have attempted: - Disabling Floppy from bios. - In Windows: disabling XP service pack 3, disabling Firewire 1394. - Different USB cables. ** - Disconnecting all USB devices, except External HD. **
I would like to install Linux Ubuntu 11.04 on an external hard drive - its partitioned and ready for Linux.I've downloaded and burnt the .iso file to a DVD so its all good so far...First of all... is this possible without messing up my macbook? I don't particularly want to break into my macbook to disconnect the hard drive (I read on a tutorial for a previous version of Ubuntu that I'd have to do that... - does it still apply to 11.04?) - as it voids the warranty (I checked ).The reason I ask this is because I had a friend who partitioned their internal hard drive and installed Ubuntu on it. But after installation was complete they couldn't boot up Windows 7 or Ubuntu... and it resulted in them having to clean install Windows 7... - I don't want to end up in that situation
Second... If it is possible to install it without messing up my macbook... - Do I just follow the install instructions but just make sure that where possible I make sure that everything is installed on my external hard drive?...I really need someone to put my mind at rest that everything will run smoothly and that I'll be able to run Mac OS X as usual but also that I'll be able to boot from my external hard drive to run Ubuntu.
I am trying to mount a 2nd NTFS storage disk in my new installation on Ubuntu 10.10, I can see it in the disk manager, but cannot access the files, I tried following the steps on this on another thread and i got the following error:
I have 350GB external Western Digital USB hard Drive.When I try to remove it from the system by executing Safely Remove Drive menu the fedora 15 system gets stuck.The processor starts giving a hum sound and it goes on even if it is left for half an hour in the stuck state.The Mouse is not working and everything is halted.
i have installed fedora 14 with so many libraries ,development tools installed on my pc but i usually have to present some projects which can run on my system .........and can't be executed or compiled due to absence of libraries and tools there so, i there some way to so that i can use this current installation on my hard drive of my pc to some external media like external hard disk and plug and use that installation anywhere on any system..
I installed Ubuntu 10.10 onto my laptop and got a new plug and play device that wasnt being read so I went to go and install windows onto my laptop and when I get to the screen to select my partition it says its unreadable or its not detected but when I restart it it works fine in loading ubuntu.