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

learn more… | top users | synonyms

1
vote
0answers
331 views

Howto configure autofs to work with usbsticks formatted with differend filesystems

I have some USB-sticks using fat32 as filesystem and others using ext4. Now I want to configure autofs to mount the sticks automatically. To make sure that the user can write to fat32 sticks I use ...
0
votes
1answer
2k views

Not able to execute system files

I was trying to install ruby with : sudo apt-get install ruby1.8 output: W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt/ E: The package lists ...
4
votes
1answer
2k views

Umount device after bind mounting directories: is it safe?

I have a home partition which is shared by mulitple distros on the same box. I'm using bind mounts from fstab. Each Linux install has something like this: UUID=[...] /mnt/data ext4 ...
5
votes
1answer
10k views

Not able to lock /var/lib/dpkg/lock (read only)

I was trying to install ruby on my remote server(this is a vm machine(debian) in a esxi server . ) I got this error: The Command: sudo apt-get install ruby1.8 Error : W: Not using locking for read ...
6
votes
3answers
2k views

Mounting and modifying a loopback file without sudo/root, is it possible?

I'm trying to adapt a tutorial into an easy to use script http://qt-project.org/wiki/RaspberryPi_Beginners_guide. I'm trying to reduce the need for sudo/root as much as possible (preferably, only ...
2
votes
0answers
1k views

Can not mount samba share from DD-WRT

I'm trying to mount a samba share on dd-wrt. I keep getting this in the dmesg and the mount command hangs. CIFS VFS: Error connecting to IPv4 socket. Aborting operation CIFS VFS: cifs_mount failed ...
4
votes
2answers
2k views

What is /dev/xvde1?

I'm having to do with an OpenShift RHEL Linux installation running on Amazon EC2. In the filesystem, there is a device file named /dev/xvde1 mounted to / ... and a device file named /dev/xvde2 mounted ...
2
votes
1answer
998 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
718 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 ...
9
votes
3answers
16k 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
307 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
318 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
633 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
249 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
843 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 ...
4
votes
2answers
4k 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
170 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
2k 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
453 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
4k 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 ...
5
votes
2answers
9k 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
701 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
1k 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 ...
5
votes
1answer
3k 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
189 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
2k 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 ...
6
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
591 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
546 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 ...
5
votes
4answers
10k 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 ...
5
votes
3answers
10k 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
5answers
3k 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
1k 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
1answer
4k 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
564 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 ...
4
votes
5answers
13k 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
5k 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
691 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
6k 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
918 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: ...
3
votes
2answers
11k 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
873 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
177 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 ...
2
votes
2answers
3k 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
2k 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 ...
35
votes
9answers
35k 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
5k 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 ...