mount command, allows mounting of a file system at a specified point in the file hierarchy.

learn more… | top users | synonyms

2
votes
1answer
861 views

Debian USB automount

Got my USB flash automount broken after reboot. Using Debian 6, GNOME 2 My NTFS hard disk is still mounting correctly. When i connect my Android smartphone (with SD and local drive) my messages log ...
1
vote
1answer
515 views

Correct owner, group and permissions when mounting an image file

Suppose I have an image home.img of a home partition of another linux machine (B). On that machine there is a users userB and there is a special group, groupB. Consider for example a file fileB in the ...
7
votes
3answers
10k views

How to umount a USB drive?

I want to know how to umount my USB drive via command line. I am using Ubuntu 12.04 LTS 32-bit.
2
votes
1answer
280 views

Can Safecopy Help Me Recover Data from a Drive that I can not Mount?

I have an old hard drive that I put data on, but it died when I tried to retrieve it, and it tells me I have to format it under Windows. Running on Linux now, can Safecopy help me even though I can ...
1
vote
1answer
293 views

mount failed to process probably corrupted CD

I wanted to check a CD from my drawer. I inserted it into my drive and issued mount. I got mount: block device /dev/sr0 is write-protected, mounting read-only mount command did not exit. I checked ...
2
votes
2answers
2k views

How to mount ext3,ext4 sitting on VDI VirtualBox HDD?

How to mount ext3, ext4 partition sitting on "Fixed-Size VDI" VirtualBox HardDisk ? To be more specific, I ma interested in case when VM is not running.
1
vote
0answers
577 views

Finding/Mounting USB Device in Mac OS X 10.8

I've looked all over and found similar questions and answers and none seem to work for me or match what I see. I should add I'm new to UNIX and the OS X command line but have got a basic overview to ...
3
votes
2answers
238 views

Why is a drive mounted already at /mnt ? Is this ok?

One of my drives is mounted directly as /mnt $ df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.9G 6.9G 597M 93% / udev 829M 4.0K 829M 1% ...
2
votes
1answer
733 views

Mounting a Windows partition without giving execute permission

How can I mount a Windows partition so that the files within it don't have execution permission? I mount a Windows partition using: sudo mount /dev/sda3 win win is a folder in my home dir. This of ...
3
votes
2answers
3k views

Mount a folder on a drive in fstab. Move?

I'd like to make a temporary change to my fstab file so that my /home is on another drive. However, I don't want the whole partition to be mounted, but just a folder ("home") on that partition. I'm OK ...
1
vote
1answer
151 views

Interrupt process in samba share mounted folder breaks mount

I can successfully mount a Samba share on a local folder in Opensuse 12.1: sudo mount -t cifs -o username=<username>,password=<password> //<win-box>/<share> <mountpoint> ...
2
votes
1answer
1k views

single bind mounted file gets out of sync in linux

I am bind mounting a single file on top of another one and after making changes with an editor, I don't see the modifications in both files. However, if I make the changes with the shell using ...
2
votes
1answer
374 views

What happens to files in mountpoint after running fs-cifs to mount NAS?

I'm running QNX Neutrino. I've got some files in /mountpoint: # ls /mountpoint /mountpoint/a /mountpoint/b And after mounting my NAS using fs-cifs like so, # fs-cifs ...
4
votes
3answers
3k views

Is it safe to resize partition on /?

I currently have a 600gb disk, with Ubuntu installed, 600gb of which is given to the Ubuntu OS: Filesystem Size Used Avail Use% Mounted on /dev/sda1 592G 16G 547G 3% / udev ...
3
votes
2answers
6k views

How to fix boot failure due to incorrect fstab?

It seems that I have added incorrect record to /etc/fstab: //servername/share /mnt/share cifs defaults,username=myuser 0 0 When I did mount -a, it asked user password to mount network ...
1
vote
1answer
611 views

How should I check to see if the remote smb serv is mounted?

I'm pretty new to mount. Basically, I have a remote SMB serv on the local network that I want copy images from a directory on, then repeat every 5 min. I think what I need to do is make a script that ...
5
votes
1answer
998 views

Umount all attached usb disks with a single command

Is there a (safe) way to umount all partitions on all attached usb devices (usb-hdds, usb-sticks) with a single commandline command, including several encrypted luks partitions? Only the partitions ...
4
votes
1answer
2k views

Why rootfs is mounted multiple times?

Here you can see two devices are mounted as root: $ df Filesystem 1K-blocks Used Available Use% Mounted on rootfs ...
1
vote
1answer
162 views

How to prevent fs unmounting?

(Apologies in advance for giving so few details below, but trust me that the set-up and the problem I'm dealing with are truly baroque, and even a superficial description would result in a far ...
2
votes
3answers
2k views

Can't mount EXT4 hard drive after mounting it in windows

I have a 2TB Western external HDD. Its original filesystem was NTFS but I formatted it to EXT4. I had no problem in Linux; But today after I mounted it using ext2fsd in a windows box, I cant mount it ...
8
votes
4answers
1k views

Preferred mount points for internal HDDs

I am relatively new to Linux and I apologise if this is a silly question. I read the Linux FS Hierarchy document but it didn't answer my question. I would like to know if there is a typical drive ...
5
votes
2answers
1k views

Where should I mount my external harddrive?

I've got an external harddrive that I'd like to auto-mount. It will be present most times when my laptop boots. Where is the "correct" place to mount it? /media/my-hd: Will litter /media with an ...
1
vote
0answers
472 views

How can I determine how directories/filesystems have been mounted?

I have access to a VM which on a different network at work using NIS. (Debian by the way) This VM has about 10 extra /directories in / when I log in. They do not exist on that VM alone, they are ...
1
vote
1answer
523 views

usb thumbdrive not mountable

I am new at linux and currently I have a problem with my USB thumbdrive (can't access it either in windows - no volumes are shown). cat /proc/scsi/scsi shows the following: Host: scsi8 Channel: 00 ...
4
votes
3answers
7k views

How to properly export and import NFS shares that have subdirectories as mount points also?

Server A exports directory /srv via NFS with option nohide. A subdirectory within /srv, /srv/foo, is a mount point for another location on the NFS server using --bind option, like server# mount ...
3
votes
3answers
8k views

“mount: / is busy” when trying to mount as read-only so that I can run zerofree

I am trying to run zerofree on Ubuntu 11.04 so that I can compact the VirtualBox vdi image using: VBoxManage modifyhd Ubuntu.vdi --compact In order to run zerofree the disk image has be mounted as ...
5
votes
4answers
2k views

How can I mount partitons in a full disk image (i.e. image with partition table) with fuse?

It's a bit indirect, but it's possible mount a partition with a disk image using mount or losetup's "offset" parameter. I'm looking to be able to use fuse to do the same thing in user space Use ...
4
votes
2answers
876 views

Network file sharing between Linux and OS X

I want to share a drive/folder over the internet from my Debian machine back home, such that I can mount it on my Macbook when I am on the move. Basically I want to store my music at home and just ...
20
votes
2answers
2k views

Where do the files go if you mount a drive to a folder that already contains files?

I just accidentally mounted a new drive to a folder that already contained files. I don't care about them and have them somewhere else, but that folder appears empty now. I'm curious what happened ...
3
votes
0answers
3k views

Mounting a multi-partition (GPT/HFS+) USB 2.0 harddrive on Debian

I have a 3TB USB 2.0 hard-drive which has two HFS+ (Mac) partitions using GUID partition table for the partition records. It was partitioned with Mac OS Disk Utility. How can I mount these partitions ...
2
votes
1answer
502 views

How to mount FreeBSD 9.0 iso file writable mode?

I want to edit bsdinstall script of freebsd 9.0 iso file. I tried to extract files,edit and recreate iso but I couldn't boot it.I realized that some of files missed while extracting. I also use ...
2
votes
4answers
10k views

Device is Mounting as Read Only (Can Copy Files as Root)

I am attempting to mount my Amazon Kindle, 3rd Edition. It automounts correctly and when I run mount -l, I get the following output: /dev/sdg1 on /media/usb0 type vfat ...
2
votes
2answers
4k views

Fedora 17: plugged in iphone, but nothing happens

The title says it all but to expand a bit; I upgraded to fedora 17 from a fresh install. On f16, I had an issue mounting when they had the issue with the lockdown, but I was able to resolve that. ...
2
votes
1answer
571 views

Error mounting dir from ext4 file system

I am trying to mount a directory on a ext4 type file system onto another linux box. Both boxes are on the same network [root@localhost]# mount -o rw x.y.z.w:/home/lab /devbox mount: wrong fs type, ...
3
votes
3answers
5k views

Mount NTFS image file created using partimage

From an old disk which I don't have at hand, I have created a file named winxp.img using partimage. As the filename suggests, the partition contained Windows XP and was formatted with NTFS. (The ...
5
votes
1answer
827 views

Partition not mounting from fstab

I have mounted a partition and add it to fstab file and then rebooted but I see that the partition is not mounted although it was added to fstab. What is wrong, and how can I solve it? fstab line: ...
2
votes
2answers
7k views

How to check if a filesystem is mounted with a script

I am new at scripting ... I can do very basic stuff, but now I need a hand. I have a local filesystem that only will be mounted when I need to do a backup. I'm starting with this. #!/bin/bash ...
1
vote
1answer
754 views

Partition mounted noexec even though not specified in /etc/fstab

I'm using Linux Mint 12. There I have several partitions which I auto-mount on startup. pysdm says that /dev/sda6 should permit execution of binaries. Also the /etc/fstab says it should. /dev/sda7 ...
1
vote
1answer
174 views

How to get a list all the “aliases” of a file (including of type directory) efficiently?

How can one get the list of all the aliases of a file (including of type directory) efficiently, given that a file: may have multiple hard links, multipe soft links, multi-level soft links may be ...
1
vote
2answers
2k views

mounting to non-empty directory, then later deleting original files

I have some unused space on my disk, and decided to use a little of it to create a separate /var partition. There might be an easier way to do this, but my idea is to copy the existing /var ...
2
votes
5answers
1k views

sda and sdb block specials point to same device and get mixed up (hardware RAID doesn't work after new installation of 12.04)

I just installed the latest Ubuntu 12.04 and obviously it screws something up. I'm not sure if this has anything to do with the fact that I have a Raid 1 but at the moment, I have sda and sdb which ...
29
votes
9answers
31k views

Mount Google Drive in Linux?

Now that Google Drive is available, how do we mount it to a Linux filesystem? Similar solutions exist for Amazon S3 and Rackspace Cloud Files.
1
vote
2answers
4k views

Linux, fat32 and etc/fstab

I mounted a FAT32 drive onto my Linux computer using the following terminal command: > sudo mount /dev/sdb1 /media/exampleFolderName -o dmask=000, fmask=111 I did this so I could share / edit ...
1
vote
4answers
2k views

When to mount /tmp (and other temporary directories)

When is the right time to mount /tmp (on Debian)? For /home I would not feel bad just to echo "/dev/foo /home type defaults 0 0" >>/etc/fstab - but can I be sure that /tmp is not used by any ...
1
vote
1answer
373 views

Qmake not working in a mounted smb dir

I'm trying to use qmake in a samba mounted directory. Here is what I get jj@deb32-6:~/smbShare$ qmake . QFSFileEngine::currentPath: stat(".") failed QFSFileEngine::currentPath: stat(".") failed ...
1
vote
2answers
2k views

Can I mount NTFS flash drive on linux

Hi I'm using RHEL 6 an WIN 7. I have a flash drive of 16GB. To copy the files which are above 4GB size I changed it to NTFS(FAT32 is allowing only file size below 4GB). But now I am not able to use in ...
3
votes
2answers
273 views

filesystem image mounted with lofiadm looks smaller than expected

I have a .gz file and I'd like to see the content of it. I used lofiadm to mount it. lofiadm /backup/file.gz ->> returned /dev/lofi/1 mount -F ufs /dev/lofi/1 /mnt Then I checked the content ...
4
votes
1answer
3k views

What is the difference between a symlink and binding with fstab?

In Eric Hammond's article Running MySQL on Amazon EC2 with EBS he shows how to add a second drive (/vol/) and then progresses to move mysql's config and data there. /sdh gets mounted as /vol by ...
2
votes
2answers
576 views

Partitioning Ubuntu and Windows 7 once and for all

I am dual-booting Windows 7 and Ubuntu (installed with wubi). So far there have been no problems, but now it says the disk is out of space all the time (I think that is because /dev/loop0 is used 100% ...
1
vote
1answer
7k views

How to restore a Fat32 filesystem under Linux

Here is what happened: I used the Laptop and accessed some data on my usb stick. Then I closed the Laptop putting the system into sleep mode. The USB-Stick was still plugged in. After the laptop was ...