295
votes
USB devices showing as read only
See this bug.
Run this command to kill Nautilus (Files):
killall nautilus
- 3,861
164
votes
Error mounting /dev/sdb1 at /media/ on Ubuntu 14.04 LTS
open terminal with Ctrl+Alt+T and run
sudo ntfsfix /dev/sdb1
- 1,741
111
votes
Accepted
Why do Windows and Linux see different files on a DVD ROM?
I'm not sure this is the correct answer, but maybe it'll provide you with details that will help you.
It could be because MS-Windows and Unix use different file systems on DVD - even on the same DVD. ...
- 3,355
85
votes
Unable to mount NTFS external hard drive
This was good enough for me:
sudo ntfsfix /dev/sdb1
On Ubuntu 14.04 this comes with:
sudo apt-get install ntfs-3g
Older versions of Ubuntu (e.g. 12.04) would require:
sudo apt-get install ...
- 1,524
83
votes
Why does my NTFS partition mount as read only?
Performing a full shutdown of Windows will allow the drives to be fully mounted by Ubuntu. This can be accomplished by holding the SHIFT key as you press the "Shut down" button on the "...
- 947
82
votes
Disable Docker autostart at boot?
On the systems since Ubuntu 16.04+ (where OS uses systemd), according to the doc, autostart on boot can be turned off by:
$ sudo systemctl disable docker.service
$ sudo systemctl disable docker.socket
...
- 1,063
81
votes
Accepted
How do I check where devices are mounted?
There are at least three programs I know of that list device mount points:
mount - mount a filesystem (used for general mount info too):
$ mount
/dev/sda3 on / type ext4 (rw,errors=remount-ro)
...
- 190k
80
votes
Why does my NTFS partition mount as read only?
Happened to me, all I did was
sudo ntfsfix /dev/sdxX # where x is HDD and X is drive number, in my case it was /dev/sda1
it will remove any logfile created by windows.
worked for me.
- 809
75
votes
Accepted
Ubuntu 20.04 - "Unhandled error message: The name 1.1001 was not provided by any .service file" when trying to mount Xiaomi Redmi Note 9 Pro via USB
Similar issue I have managed to solve with 'nautilus -q' typed in terminal. Worth a try. Don't need to restart the computer.
- 1,936
73
votes
Accepted
How to mount smb share on ubuntu 18.04
I opened the server i shared and typed ifconfig to get the ip adress. Then I typed this command to list of shares
smbclient -L //myServerIpAdress
Then to mount it I typed these 2 commands: first to ...
- 2,157
71
votes
Accepted
How to List Unmounted partition of a harddisk and Mount them?
Listing Unmounted Partitions
To address the listing of the unmounted partitions part, there are several ways - lsblk, fdisk, parted, blkid.
$ lsblk
NAME MAJ:MIN RM SIZE ...
- 102k
71
votes
Unable to mount my external exfat disk
You get this error because the exfat filesystem is not installed in Ubuntu by default. exFAT is a proprietary and patented by Microsoft.
Since Ubuntu 13.10, this package is in the main repository. ...
- 813
66
votes
What do I do when my root filesystem is full?
Just to share a magic command to know where all your disk space goes:
sudo du -hsx /* | sort -rh | head -n 40
You end up with a pretty neat report like this:
16G /home
5.3G /var
2.6G /usr
...
- 669
65
votes
Enabling shared folders with open-vm-tools
My way of solving this issue is to resort to vmhgfs-fuse installed with open-vm-tools.
Either mount locally using vmhgfs-fuse .host:/$(vmware-hgfsclient) ~/some_mountpoint or globally using sudo ...
- 791
65
votes
Accepted
mount -t cifs results in 'cannot mount readonly' error
Solved. I just had to install cifs-utils package.
- 1,446
64
votes
Accepted
Understanding Why I have lost so much space mounting a new HDD
Disc manufacturers list the size in decimal values, so your 4TB HD is actually 4,000,000,000,000 Bytes. But df -h lists in binary base numbers (i.e. 4KB is 4096 Bytes, 4MB is 4,194,304 Bytes, 4GB is 4,...
- 776
59
votes
mount unknown filesystem type 'lvm2_member'
Not to detract from the accepted answer, but wanted to offer a more complete solution that hasn't failed me yet.
udisksctl unlock -b /dev/sdb5
sudo mkdir /mnt/data
sudo mount /dev/dm-1 /mnt/data
run ...
- 690
58
votes
Can't Mount NTFS drive "The disk contains an unclean file system"
I solved the problem with shutdown
Windows by cmd
shutdown /s
This is because Windows 8 and 10 offer a "Fast Startup" option that depends on a "non-complete" shutdown
You can disable fast startup ...
- 597
57
votes
Accepted
Mount can't find device in /etc/fstab
Why this error?
You probably forgot to tell mount where to mount your drive.
Linux uses device files (/dev/sda, /dev/sdb1, etc.). And unlike Windows drives (C:, D:, etc.), you cannot access them ...
- 841
54
votes
Accepted
UUID=xxx does not exist. Dropping to a shell
When I tried to use a pendrive Ubuntu to figure out this problem, I finally found out that the hard drive wasn't recognized when Legacy Boot was disabled. This explained why manually choosing UEFI did ...
- 1,146
53
votes
Accepted
How do I hide the icon for a mounted volume from the dock on Ubuntu 19.10 and later?
Open Terminal and run the following command:
gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false
- 66.1k
53
votes
Update/Upgrade not working (because of phased updates)
All four of the kept-back packages (base-files, python3-distupgrade, ubuntu-release-upgrader-core, ubuntu-release-upgrader-gtk) were in Phased Updates at the time you asked the question.
Phased ...
- 53.7k
52
votes
How do I remount a filesystem as read/write?
for busybox/android users:
Oddly, I needed to add a space (in contrast to normal usage) between 'remount' and 'rw':
mount -o remount, rw /
otherwise it wouldn't work.
UPDATE: it seems that this is ...
- 637
51
votes
Accepted
How to manually mount a partition?
The first step is to list all your partitions to find the one you want to mount:
$ lsblk -o NAME,FSTYPE,LABEL,SIZE,MOUNTPOINT
NAME FSTYPE LABEL SIZE MOUNTPOINT
sdb ...
- 97.9k
49
votes
How to run a script when a specific flash-drive is mounted?
There's much nicer solution with systemd now. You create a service which depends and is wanted by you media e.g.: /etc/systemd/system/your.service
[Unit]
Description=My flashdrive script trigger
...
- 601
49
votes
Can't acces NAS anymore after upgrading to 20.04
Same issue here.
Since version 4, both Samba Server & Samba Clients do not allow an older level of protocols negotiation.
You have to enable them in smb.conf file
Edit /etc/samba/smb.conf file (...
47
votes
Accepted
Filesystem shows /dev/nvme0n1p1 instead of /dev/sda
This is normal if you have your disk connected through an NVM Express port instead of e.g. a traditional SATA port.
So just imagine in your case /dev/nvme0n1 being equivalent to /dev/sda and e.g. /...
- 104k
45
votes
Accepted
17.10: How to auto mount drives on startup?
Use the "Disks" app.
Load the Disks app (In System) and select the disk with the filesystem you want to mount on startup.
Then select the filesystem on that disk and click on the gears (for ...
- 1,180
44
votes
Accepted
What is the difference between /etc/fstab and /etc/mtab?
/etc/fstab is a list of filesystems to be mounted at boot time. If you want your Windows or file-storage partitions mounted once your computer boots, you'll need to put appropriate entries into /etc/...
- 102k
44
votes
Accepted
The disk image is 497GB smaller than the target device
An ISO file is basically a disk image of an optical disk. Disk images are usually meant to be restored/extracted to a disk or partition, replacing its previous contents.
DON’T PROCEED WITH RESTORING, ...
- 10.9k
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mount × 7023partitioning × 1447
hard-drive × 1039
fstab × 842
boot × 765
permissions × 711
usb × 618
samba × 486
dual-boot × 428
ntfs × 406
filesystem × 314
cifs × 281
server × 276
automount × 272
networking × 250
14.04 × 236
nfs × 234
encryption × 215
16.04 × 207
external-hdd × 198
nautilus × 184
grub2 × 174
raid × 170
usb-drive × 167
18.04 × 158