Questions tagged [unmount]

Unmount refers to making the storage device like, external HDD, USB storage inaccessible to the OS. This tag can be used for questions related to mounting or unmounting of a device.

Filter by
Sorted by
Tagged with
1 vote
1 answer
203 views

Disks are mounted by themselves on Ubuntu Server 16.04

I have a luks encrypted disk that I want to unmount and sleep while it's not used. For that I use umount /mnt/4T, cryptdisks_stop 4t_crypt and finally hdparm -y /dev/disk/by-uuid/dfafea2b-7678-445e-...
Tudor's user avatar
  • 111
3 votes
2 answers
2k views

How to automatically power off usb devices after unmounting

How to create a setup such that if I unmount an USB disk then it automatically powers off too?
Allen's user avatar
  • 311
1 vote
1 answer
371 views

Problems booting ubuntu after unmounting or formating HDD (data disk)?

After I deleted the partition on my internal HDD (only datadisk) and therefore unmounted the HDD I could not access Ubuntu 16.04 (Kernel 4.11) anymore with an error showing up Failed to start LSB: ...
Li12's user avatar
  • 113
6 votes
1 answer
7k views

How do I properly run this systemd service on shutdown?

I am mounting my Google Drive on login using google-drive-ocamlfuse. The problem is that shutting down or rebooting now seems to have an added 2 minute pause. Now if when I unmount the Google Drive ...
Redsandro's user avatar
  • 3,694
1 vote
0 answers
274 views

Auto unmount USB drive on logout, scary?

My machine has 2 users. Whichever user logs on first "owns" the backup drive attached by USB more or less permanently. This means that if user logs out/switch user, the second user cannot ...
Edmund Winks's user avatar
1 vote
1 answer
3k views

How do I mount an SD card as read/write?

I'm trying to create an installer SD card but I can't write the image to the file system because: dd: failed to open '/dev/mmcblk0p1': Read-only file system The command I'm running is: sudo dd if=...
Amolith's user avatar
  • 1,072
1 vote
0 answers
1k views

external hard drive constant unmount/remount

i have a similar problem to one described in this question, though i don't feel it was fully answered, and I'd like to give a bit more detail specific to my case. I had a western digital NAS ("my ...
Rich's user avatar
  • 111
0 votes
0 answers
796 views

Ubuntu 14.04 keeps unmounting my harddrive

I am using transmission to download a file and about 5 minutes into the download transmission will say Error: Unable to save resume file: Read-only file system then if I click on any buttons in Ubuntu ...
MrArgon's user avatar
  • 11
2 votes
0 answers
348 views

Unmounting encfs volumes from the nautilus side tab does not work

It is only an annoyance, but I would like to get rid of it: I can easily mount gvfs- end encfs-volumes from the nautilus side tab. I can unmount at least the gvfs-volumes easily by clicking the "eject"...
stedis's user avatar
  • 21
0 votes
2 answers
6k views

What is mounting in Linux? [duplicate]

What does mounting really mean in Linux? And where/when can I use the mount command? I'm new to Linux so I would appreciate a detailed answer.
NSD's user avatar
  • 23
0 votes
0 answers
29 views

i mounted my hardisk partision while instalation

while installing Ubuntu 16 i chained the partition settings in that i mounted an hard disk partition with password i want to unmount it please help me to solve this problem this blocked partition is ...
Arun karthick's user avatar
0 votes
1 answer
727 views

How to give Ubuntu 16 more space [duplicate]

I know this question was answered a thousand times but I can't find a solution. So here's what I have: 128Gb SSD with Windows 10 installed 1Tb HDD with a partition of about 80Gb that I used to ...
BourbonCreams's user avatar
5 votes
4 answers
11k views

How to unmount MTP USB device from command line

I have both the Bus and Device numbers for a USB device I want to unmount. I tried resetting the USB device like so How do you reset a USB device from the command line? but it doesn't unmount it ...
Bachalo's user avatar
  • 753
9 votes
3 answers
10k views

How can I mount an ejected USB drive without unplugging it?

I am on an Ubuntu 16.04.1 LTS system. I use udisksctl command to mount and unmount my USB flash drive, but I sometimes eject it in nautilus. I can see the device in Disks utility even after ejecting. ...
Nuwan Thisara's user avatar
0 votes
1 answer
109 views

Unmount hard disk to prevent any chance of partition issue [duplicate]

I'd like to full install ubuntu to a 128gb usb3 thumb drive. I'd like to prevent any chance of me jacking up the main hard drive in the latop during installation. Is there something I can do, like ...
Spyoptix's user avatar
3 votes
3 answers
2k views

Can not safely remove external hard drive?

Notice I could not find the solution but after installing Ubuntu 16.04.2 LTS the problem no longer exists! The Problem I have a 1TB Transcend external hdd (inner chip is WDC_WD10JPVX-22JC3T0_WD-...
Masked Man's user avatar
14 votes
4 answers
45k views

Unable to mount Windows 10 partition; it "is in an unsafe state" [duplicate]

I have both Ubuntu 16.04 LTS and Windows 10 Pro installed and I use them both very often. Sometimes, when using Ubuntu, I can see and use Windows partitions also. But sometimes, I cannot. I dont know ...
Salman Arjumand's user avatar
0 votes
1 answer
707 views

Unable to access "USBname"

I have a USB flash drive which used to contain Kali Linux and I tried to re-format it in Ubuntu, to use it for other purposes. Suddenly, an error screen popped up Unable to access “Kali Live”. I don'...
Binder Uuganbayar's user avatar
5 votes
1 answer
21k views

Unable to mount usb error

I am trying to mount usb on 14.04 LTS(Usually wors fine),getting error Error mounting /dev/sdb1 at /media/username/383255103254D48A: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=...
ubm's user avatar
  • 153
4 votes
1 answer
12k views

unable to eject external USB drives 16.04

I can't safely eject my MP3 player. I am getting the error as follows. Error ejecting /dev/sdb: Command-line `eject "/dev/sdb"' exited with non-zero exit status 1: eject: unable to eject, last error: ...
Silvija Milovac's user avatar
1 vote
1 answer
4k views

Problem with USB: "Read-only file system"

I am running Linux Ubuntu 16.04 LTS (kernel: 4.4.0-38 generic), and I am unable to modify any content on my USB stick. What happens is that I receive an error message, telling me it's a "Read-only ...
Jayaguru-Shishya's user avatar
0 votes
1 answer
96 views

How can I prevent my external hard drive from automatically poweríng on right after I unmounted it? [duplicate]

I've got a USB3 external hard drive connected to my laptop running 14.04. Every time I want to disconnect it, using "safely remove", the hard drive turns off, but then immediately turns on again. I ...
Sirnak101's user avatar
1 vote
0 answers
95 views

External hdd reconnects after safe removal

I have transcend 1Tb external hdd and im running ubuntu 16.04 LTE. My external hdd reconnects after I click safely remove. It does power off but comes back up immediately. How do i get it fixed?
buntul664's user avatar
  • 105
0 votes
1 answer
154 views

How can I permanently disable the mounting of USB storage devices?

I want to permanently disable the option to use USB storage devices. How can I achieve that?
Areeb Durani's user avatar
0 votes
1 answer
10k views

Can't unmount USB drive

If i try unmount usb drive i see this error. Error unmounting /dev/sdb1: Command-line `umount "/media/michal/MUZA"' exited with non-zero exit status 32 umount: /media/michal/MUZA: not mounted
Swis's user avatar
  • 27
11 votes
1 answer
1k views

Accidentally mounted a partition on /usr

I mounted a partition on /usr accidentally. Hence, I have lost access to sudo command and can't unmount the partion. I am using AWS EC2 instance and don't have password for root user set. What are ...
Rumit Parakhiya's user avatar
1 vote
2 answers
2k views

Safely unmounting a Netgear Wireless USB adapter

I have a NetGear WNA3100M(v1) Wireless-N 300 adapter, and it sort of works. That is, the speed annoyingly often drops down to just a few Mbit/s. I find if I disconnect from my connection, unplug the ...
theodorn's user avatar
  • 784
1 vote
1 answer
1k views

how to partition the mounted drives in ubuntu 14.04

i've installed ubuntu 14.04 in single boot. My hard disk have 1tb capacity. While i'm trying to install windows in place of the ubuntu it shows no drivers are found error. So i'm decided to partotion ...
Hari Krishna Nalla's user avatar
1 vote
0 answers
874 views

Issue dismounting LVM on LUKS system when initial live-USB isn't present

I am having a rather peculiar problem with the Ubuntu half of my system. The TL;DR is that I have Ubuntu 14.04 using an LVM on LUKS setup. /boot lives on an unencrypted partition (/sda3) while swap ...
abartolo's user avatar
1 vote
2 answers
445 views

I can't unmount a "ghost" pendrive

The other day I put a Kingston flash drive from a friend that I could not format. unfortunately for me the flash drive in the system remained as a ghost and i get this message every time I want to ...
Mitchell's user avatar
2 votes
0 answers
507 views

Ubuntu 15.10 cannot unmount file system on shutdown

My Asus Ux303 laptop cannot shutdown, because it hangs at unmounting the filesystem. It hangs at Unmounting local filesystem... Any ideas what could cause this or how to diagnose it?
Máté Magyar's user avatar
2 votes
0 answers
1k views

Exfat-fuse error while copying files

Installed exfat-fuse and exfat-utils from Ubuntu repositories. First, everything was ok, USB HDD 1 TB worked perfectly, automounted and write and read was ok. But then I tried to move my Movies folder ...
Claud6's user avatar
  • 21
9 votes
2 answers
51k views

Is it unmount /dev/sdb or /dev/sdb1

Do these have the same effect when the drive has only one big partition? udisks --unmount /dev/sdb udisks --unmount /dev/sdb1
H2ONaCl's user avatar
  • 9,693
1 vote
1 answer
77 views

Is it possible to write on whole device before mount? [closed]

When a USB storage (such as an SD card) is connected to my Ubuntu desktop, it is mounted automatically as /dev/sdc1. If it is ejected or safely removed, /dev/sdc1 goes out from /dev/ folder and /dev/...
PHP Learner's user avatar
  • 2,788
1 vote
1 answer
2k views

How to remove all block device files that no longer have corresponding physical devices attached?

I have a /dev/dm-# block device file and a link to it from /dev/mapper/somename even after detaching the physical device. Is it safe to just use rm on both? Is there a way to rescan physical devices ...
int_ua's user avatar
  • 8,584
1 vote
0 answers
168 views

Cannot unmount USB o write on USB as normal user

I have the following file of rules in /etc/udev/rules.d/ KERNEL!="sd[a-z]*", GOTO="media_by_label_auto_mount_end" # Import FS infos IMPORT{program}="/sbin/blkid -o udev -p %N" # Get a label if ...
Amrida D's user avatar
  • 171
2 votes
1 answer
894 views

Can't unmount ext 4 in gparted

I wanted to add extra swap to my pc I followed lots of tutorials but i needed to make a unallocated partition and for that I needed to unmount ext4 I'm totally new in Ubuntu or linux Anybody a ...
TeaDrinkingProgrammer's user avatar
13 votes
2 answers
2k views

Alert the user when they unsafely unplug an USB thumb drive

Users repeatedly complain about lost data on USB thumb drives after they unplugged them without unmounting. We run Ubuntu 14.04 LTS on our machines. Auto-mounting is enabled. As I am tired of ...
RenWal's user avatar
  • 158
0 votes
1 answer
6k views

Cant mount my hard drive in rescue mode

When I try to mount one of my hard drives, it can't locate the folder with the hard drive. This is the output for the command df: Filesystem 1K-blocks Used Available Use% ...
Casper Rasmussen's user avatar
2 votes
1 answer
1k views

Automatically eject HDD on suspend and re-mount on resume? (14.04)

I have an external Seagate HDD (/dev/sdb) with 2 partitions connected to my media center (Acer 3820TG laptop running 14.04) and it keeps the computer from suspending. Since I want my media center to ...
gablee's user avatar
  • 21
1 vote
0 answers
1k views

Cannot mount partition

I am unable to mount my two of the partitions (NTFS) currently. When I double click on it from the file manager, a pop up window says unable to access {disk lable}. Not authorized to perform ...
Justin's user avatar
  • 11
0 votes
1 answer
1k views

Cannot remove safely usb external hard drive, it mounts again

I have an external usb hard drive, however when I try to safely remove it, the device turns off and then the device mounts itself again. I've tried to do sudo udisks --detach /dev/sdb However, the ...
CerealKiller's user avatar
2 votes
1 answer
1k views

Why do we have to unmount a USB and format it to FAT or NTFS partition before making a liveUSB?

I am not able to figure out why do we have to unmount a USB and format it to FAT or NTFS partition before we can make a liveUSB. I have seen that when I use a dd command to make a liveUSB with a ...
Rushabh RajeshKumar Padalia's user avatar
1 vote
0 answers
83 views

Installer mounted as /cdrom

I realize that this has been asked before but none of the solutions have worked for me. I have an external hard drive that I am using to install Ubuntu alongside windows. When it gets to a certain ...
AeglosGreenleaf's user avatar
2 votes
1 answer
956 views

USB 3.0 hard drives don't spin down when "safely removed" from Nautilus

I have a few external drives, some using external power, other being USB powered. I plug my USB 3.0 drive in a USB 3.0 port. When I "eject" the drive (from Nautilus) it keeps on spinning. When I "...
Polypheme's user avatar
  • 131
0 votes
4 answers
6k views

dd: Operation not supported (on unmounted, but not ejected drive)

I have looked through the other questions here on AU, and none of them seem to help me deal with this particular problem, so I am starting a new question. For some context, all I am trying to do is ...
radiovisual's user avatar
5 votes
2 answers
3k views

Can automatically mounted camera be automatically unmounted by script in 14.04

The version of Ubuntu I have (14.04.1) automatically mounts my digital camera and generates a box inviting me to say what to do with it. Since I was dissatisfied with all the options presented, I ...
Starrygordon's user avatar
0 votes
1 answer
237 views

Unmounting dev/sda1 and downloading Ubuntu.iso problem

I am installing windows7 over ubuntu and i created bootable Windows USB, when i click install windows it says: "Windows Setup Cannot find a location to store temporary installation files. To ...
rhein's user avatar
  • 15
4 votes
1 answer
4k views

External HD keeps disconnecting, And wont auto mount

So i've read through other questions but cant find a solution.. I have an externel drive in /dev/sdg and it continually disconnects.. I edited /etc/fstab so that it would auto mount but every time ...
Banned_User's user avatar
  • 1,633
2 votes
2 answers
8k views

Stop init process using /var partition so I can umount it?

I need to reduce the /var partition of a remote Ubuntu server so I can't use a live cd or anything similar. I tried unmounting it but this happened umount /var/ umount: /var: device is busy. (...
Atirag's user avatar
  • 145