Questions tagged [mount]

Questions about mounting filesystems, such as those on internal drives or on CDs, DVDs, external hard drives or USB flash drives, or about using the mount command.

At boot time the root filesystem (/) is mounted, meaning the storage device that contains it is connected to the operating system so that it can be used. Other filesystems may then be attached to this root filesystem at mount points, locations on the root filesystem tree. A mount point is always a directory, so it has the usual Linux permission attributes, which can be used to control how the attached filesystem can be used.

In Ubuntu, filesystems to be mounted at boot time are specified in the /etc/fstab file with appropriate mount points and settings. When external storage devices (such as CDs or flash drives) are connected, they are usually automatically mounted. Mount points for removable media and non-Ubuntu partitions should be in /media

To mount, remount (with specific options) or unmount a filesystem, and to view information about currently mounted filesystems, the mount command is used. This command and its opposite umount require root privilege to mount or unmount filesystems. An alternative that does not require elevated permissions is provided by the udisks utility udisksctl

7470 questions
456
votes
3 answers

Mount error: "unknown filesystem type 'exfat'"

When trying to mount an exfat filesystem, I get the following error: Error mounting /dev/sda6 at /media/gkp/Backup: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda6" "/media/gkp/Backup"' exited with non-zero exit status…
Ganesh
  • 4,569
387
votes
23 answers

Unable to mount Windows (NTFS) filesystem due to hibernation

Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount. When I try to enter my Windows partition through Nautilus I get a message saying that this partition is…
yotamoo
  • 4,259
334
votes
7 answers

How to access a usb flash drive from the terminal?

I only have access to the command line. I need to backup my data (on the user folder) to a pen (USB DOK). How can I mount a flash drive manually? What should be the copy command?
MEM
  • 11,255
280
votes
7 answers

Why do I get "wrong fs type, bad option, bad superblock" error?

When mounting an NFS directory by doing: sudo mount 192.168.1.5:/home/shared /mnt/common I get the following error: mount: wrong fs type, bad option, bad superblock on 192.168.1.5:/home/shared, missing codepage or helper program, or other error…
245
votes
6 answers

How do I remount a filesystem as read/write?

I'm trying to mount an hfsplus filesystem in a Xubuntu 12.04 VM (kernel version 3.2.0-23-generic) but when I type mount -o remount,rw /dev/sdb3 in command line it returns not mounted or bad option. Any help would be appreciated.
Alkthree
  • 2,777
231
votes
6 answers

Detect and mount devices

I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I wouldn't mind, except the same problem goes with…
Calixte
  • 3,503
220
votes
5 answers

How to read and write HFS+ journaled external HDD in Ubuntu without access to OS X?

I have a HFS+ journaled external hard-drive and need to be able to write to it on Ubuntu. I don't have access to my Mac, it's thousands of miles away and I won't have access to it for three months. Can anything be done without losing the data on the…
oppochips
  • 2,201
  • 3
  • 14
  • 4
216
votes
15 answers

How to mount an ISO file?

I'm running into trouble trying to mount a large iso: dev@dev-OptiPlex-745:~$ sudo mount -o loop /home/dev/Hämtningar/matlab2011a_64.iso /cdrom mount: warning: /cdrom seems to be mounted read-only. dev@dev-OptiPlex-745:~$ Can you tell me how I…
197
votes
5 answers

Disable auto-opening nautilus window after auto-mount

Every time I plug a USB stick in, nautilus opens a new window with the contents of the drive. I would like to disable this auto-opening of the nautilus window, but I would like the actual auto-mount to keep working. Is this possible?
Anton Cherkashyn
  • 4,064
  • 3
  • 21
  • 18
183
votes
10 answers

Mount single partition from image of entire disk (device)

I made an image of my entire disk with dd if=/dev/sda of=/media/external_media/sda.img Now the problem is I'd like to mount an ext4 filesystem that was on that disk but mount -t ext4 -o loop /media/external_media/sda.img /media/sda_image obviously…
168
votes
14 answers

Mount encrypted volumes from command line?

If I have an encrypted external disk (or an internal disk that is not in fstab), I see an entry for it in Nautilus -- with an entry like "X GB Encrypted Volume". I can click on this volume, and am prompted for a password to decrypt and mount the…
cha
  • 2,183
168
votes
20 answers

USB devices showing as read only

I am using Ubuntu 14.04. I have an 8gb FAT32 USB stick and a 500gb FAT32 HDD; both of these have suddenly become read only devices. I've tried deleting the directory inside /media and then creating it again, renaming it, then giving that directory…
oodles2do
  • 1,843
163
votes
5 answers

Why have both /mnt and /media?

It seems to me that having both /mnt and /media is a little redundant. Is there any tangible difference between the two that I'm not aware of? Is there a standard that most people follow for where to mount things, e.g. use one for certain types of…
goric
  • 3,916
152
votes
7 answers

How to make read-only file system writable?

At some point, the filesystem on my digital audio player has become read-only. I cannot copy files into it or remove files on it. Are there some possible reasons for the player's file system to change permissions in this way? I tried using chmod: $…
Tim
  • 26,107
147
votes
6 answers

Can't Mount NTFS drive "The disk contains an unclean file system"

I am getting an error when I try to access my NTFS drive from ubuntu. Unable to access “My Drive” Error mounting /dev/sda6 at /media/ubuntu/Media Center: Command-line `mount -t "ntfs" -o…
rolindroy
  • 1,581
  • 2
  • 10
  • 6
1
2 3
99 100