Tagged Questions

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

learn more… | top users | synonyms

1
vote
2answers
824 views

Stop USB mobile broadband automatically mounting as drive

UPDATE 3: This is what I get from lsusb: oshirowanen@laptop:~$ sudo lsusb [sudo] password for oshirowanen: Bus 001 Device 003: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636 As I have tried the ...
22
votes
2answers
6k views

What mount points exist on a typical Linux system?

I have 2 questions. During Linux installation we specify memory space for 2 mount points - root and swap. Are there any other mount points created without the users notice? Is this statement ...
1
vote
1answer
1k views

Flash drive won't boot or mount after trying to create installation medium

I have a 1GB USB flash drive which I wanted to use as an installation medium for Linux distros. My first experiment was to be installing Arch on an old laptop (old enough that if I really messed it ...
8
votes
3answers
299 views

Automatizing the sequence of mounting commands

When I connect a device (tablet, camera, flash drive, external harddrive) to my laptop with Linux I often type the following sequence of commands. $ ls /dev/sd* Let's say that my device is /dev/sdc ...
18
votes
6answers
4k views

What's the most “correct” mount point for a permanent NTFS partition?

I have an NTFS partition (containing a Windows installation from which I dual boot) that I would like to permanently mount from my Linux installation. Problem is, I can't figure out what the ...
6
votes
3answers
6k views

Automount USB drives with no GUI requirement (halevt replacement)

For minimal installations of Debian, I have been using halevt to enable automounting of USB drives. Halevt is reliable and requires no configuration aside from installing the package. Now, halevt has ...
6
votes
2answers
6k views

Make all files under a directory read-only without changing permissions?

First, some background: /dev/md1 is a RAID-0 array serving as primary file store. It is mounted to /var/smb. /dev/md2 is another RAID-0 array storing backup snapshots taken from /dev/md1. It is ...
5
votes
3answers
2k views

Detecting that a device is mounted to a particular folder?

As part of revamping my backup scheme, I'm now adding rotating external hard drives, keeping one safely off-site at all times while the other is receiving backup data. Naturally, to ensure that my ...
3
votes
3answers
1k views

Really strange FAT32 file listing problem

I'm mounting a FAT32 drive on my NAS (which has a USB port), and hitting a strange issue when I use the ls command on the drive root: ls: cannot access ???²é?u.g: Input/output error ls: cannot ...
5
votes
6answers
9k views

How does a kernel mount the root partition?

My question is with regards to booting a Linux system from a separate /boot partition. If most configuration files are located on a separate / partition, how does the kernel correctly mount it at boot ...
2
votes
3answers
14k views

How to change mount points

I'm not very deep into this mounting/unmouting think on Linux, so here goes my question: With df -h I get the following overview: Filesystem Size Used Avail Use% Mounted on /dev/sda1 ...
3
votes
1answer
79 views

Need help with re-partitioning

First of all: I'm just a beginning Linux-User ;-) I've set up a server with OpenVZ support. I wrote a backup script that's dumping the vz containers from time to time. But some containers are not ...
3
votes
1answer
3k views

How to add an iso file as APT source

Say I have this line in "/etc/fstab": /iso/apt.iso /mnt/apt iso9660 loop 0 0 And I run these commands as root: mount --all apt-cdrom add --no-mount --cdrom /mnt/apt I expected the disk to be ...
2
votes
1answer
569 views

How to make system automatically mount encrypted device in Linux

When I plug my external storage in , I need to automatically mount it as an encrypted device. How do I make this happen ?
1
vote
1answer
1k views

Why is my fstab entry for an external USB drive not working?

I have an external USB drive which my system recognizes as /dev/sdb1. I want to have it automounted with 755 permissions on boot and shared over the network with samba. I created the mount point ...
2
votes
4answers
3k views

NIS: How to allow access to both local and remote users' home directories?

We have a NIS server with shared users' home directories in '/home'. We're used to mounting the server's '/home' using '/home' as the mount point on each NIS client. However, if we do this with a ...
9
votes
2answers
7k views

How to re-mount a USB stick after unmounting from Nautilus without disconnecting it?

I find that in order to re-mount a USB stick, I have to physically disconnect it, and then re-connect it. How can I do this without such tiring physical action?
1
vote
1answer
4k views

Where are the mount points defined in CentOS?

There is a mount point at /mnt/mountname and it goes to a large SAN with lots of storage but it's mounted as a read-only filesystem. I want to add a mount point with a different name that's ...
38
votes
6answers
16k views

Different linux distros sharing the same /home folder?

What is the best way to share the same /home directories between different linux distribution? I mean, I want to have both, say, Fedora and Arch, and I want to find my files at home no matter which ...
1
vote
1answer
511 views

mount root fs to /target

I am installing crunchbang linux (#!) to my eeePC and it is unable to start the disk partitioner. I traced the problem to partman and partman-lvm that states No volume groups found. So I have ...
4
votes
5answers
5k views

What sudoer spec allows users to mount cifs shares?

I'm trying create a line in /etc/sudoers that allows members of group "users" to mount cifs shares anywhere inside their own home directory. In my first attempt I tried: %users ALL=/bin/mount -t cifs ...
1
vote
2answers
251 views

How to get the maximum info for a USB drive by looking at the debugfs output?

I inserted an usb into my Fedora 11 PC. Gave a mount command and the output was as shown below: /dev/sdc1 on /media/8d079aad-038c-4667-9186-e21bed0928d5 type ext2 (rw,nosuid,nodev,uhelper=devkit) ...
3
votes
1answer
462 views

Permissions issues with mounting remote server into a specific folder

I'm doing the following to mount a remote server to a specific path on my server: sshfs user@remoteserver.com:/backup/folder/ /home/myuser/server-backups/ However when I mount the server the folder ...
3
votes
1answer
6k views

Mount samba filesystem into RHEL 5.5

I have a trial RHEL version for a proof of concept where I was asked to mount a windows filesystem into linux. I tried mount -t smbfs -o username=samba,password=samba //Desktop/Public /mnt/public ...
6
votes
2answers
4k views

How do I add an entry in /etc/fstab for a windows share?

I want to be able to mount our file server's file share (on a Mac OS X server, shared via AFP and Windows File Sharing) on my Ubuntu 10.10 linux laptop. I want to be able to mount it as my normal ...
17
votes
2answers
2k views

What is a “loop device” when mounting?

I am doing a mounting of an iso file and looking at this tutorial. They use the command: $ mount -o loop disk1.iso /mnt/disk I'm trying to understand the use of -o loop. So I have two questions: ...
6
votes
3answers
482 views

Access to original contents of mount point

On my headless NAS I have sdf1 (a flash-card) mounted as / while /home is mounted from lv00 (an LVM volume backed by a software RAID). To be able to access the machine when the RAID fails, I have a ...
1
vote
1answer
457 views

How to mount external hard disk every time the server is restarted?

I have a server which the date will be backup to a external windows server hard disk which is mounted. But problem is every time the server is restarted I will need to mount the disk manually. How do ...
3
votes
1answer
614 views

How to have correct permissions of files from usb disks?

Does anyone have the following problem? I have an Ubuntu box at work and also one at home. I always copy folders/files to/from an usb disk to/from my boxes. I have to change permissions of ...
5
votes
3answers
4k views

Mount USB (FAT) in Gentoo

Can somebody show me how to make Gentoo mount my USB? This is what I got when trying mount /dev/sdb1 /mnt: mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage ...
3
votes
1answer
752 views

Encrypted SD card corrupted

I can't mount a encrypted SD card with Truecrypt anymore. mount: wrong fs type, bad option, bad superblock on /dev/mapper/truecrypt1, missing codepage or helper program, or other error ...
1
vote
1answer
751 views

How to mount a disk on key on Red-Hat 6 (Beta) after ejecting it

I have a Cruzer disk on key which was recognized automatically by my RedHat6-beta OS. I removed it always using the GUI option "Safely remove", but one time by mistake I selected "Eject" and from ...
4
votes
2answers
777 views

Mount windows Users directory as /home in linux virtual machine

I'm setting up a laptop for a friend and I'm going to put linux on it in a virtual machine and I want to make it as seamless as possible. I've mounted the \Users\Username directory in a VM before and ...
9
votes
1answer
2k views

Hard disk labels

How do I add a label to a partition on a disk, and how do I then mount it by label (manually and via fstab)? note: this is an external hard drive
20
votes
2answers
3k views

Mount an iso without root access?

Is it possible for a user without root access to mount an arbitrary iso? If so how?
17
votes
2answers
2k views

understanding “mount” as a concept in the OS

I want to understand what mounting is. It is used in different contexts and situations and I can't find resources which: Describe the mount concept Explain the actions taken by the ...
12
votes
1answer
6k views

What is meant by mounting a device in Linux?

I've heard the term "mounting" when referring to devices in Linux. What is its actual meaning? How it handling now unlike older versions? I haven't done that manually via the command-line. Can you ...
4
votes
3answers
19k views

How do I mount a WD MyBook World network drive in linux?

I have a WD MyBook World NAS on my home network. I currently use this for Time Machine backups for my Mac but I'd also like to use it as a backup location for my linux box which is running Ubuntu ...
3
votes
2answers
3k views

Finding the offset for ext4 partition

I've created an image of my hd with dd, but grub was installed on it, and I'm trying to figure out how to mount the image file, but mount doesn't recognise it as an ext4 partition because of the grub ...
9
votes
4answers
3k views

Serve files over USB

I would like to be able to serve a section of my box's file system over USB to another computer. For example, if the files are on box A and I am reading from box B, then B would mount A, see those ...
10
votes
1answer
14k views

How do I mount an `img` created with /bin/dd of a hard drive?

I used dd to backup a 80GB drive dd if=/dev/sdb of=~/sdb.img Now I need to access some files on that drive, but I don't want to copy the ".img" back over the drive. mount ~/sdb.img /mnt/sdb ...
4
votes
2answers
968 views

Auto-mounting to a directory other than /media in Fedora 13

I am using Fedora 13. I need to be able to configure how media are mounted automatically. For an example, I want to change the parent of all mounted media to be a directory other than /media. All the ...
13
votes
9answers
1k views

Favorite partitioning and mounting tricks

We all know that mounting a new partition as /home and maybe /boot is extremely useful. Or mounting a remote directory as /opt can be great for sharing system tools. Are there any other, maybe more ...
8
votes
5answers
487 views

Mounting a partition into a 'sandbox'

I'm wondering if this is possible. I want to set up a linux system that mounts / remote linux machine to / on the local machine. However, I want all changes on the local machine to be saved to ram so ...
3
votes
3answers
411 views

File sharing with Windows

I have a small home network consisting of two computers. One is running Windows 7 and the other Ubuntu 10.04. Neither computer is permanently on. I am trying to set up file sharing between the two. ...
8
votes
2answers
486 views

Prevent disk renumbering on reboot in OSX

I have 3 physical drives in my Mac Pro with OSX 10.6.4. Occasionally after rebooting the machine, the disk numbering changes such that the /dev/disk# does not reference the same drive as it did before ...
3
votes
5answers
800 views

Using a differencing, aka overlay, aka union, file-system with commit capability

I work in two PCs and I sync all my files from my primary PC to a USB flash memory. In my second PC, I mount the USB flash memory to the same path to work on my files as I were on my primary PC. Now ...
7
votes
1answer
4k views

What is the loopback interface

What is the loopback interface and how does it differ from the eth0 interface? And why do I need to use it when mounting an ISO or running a service on localhost?
2
votes
3answers
927 views

Is there a linux vfs tool that allows bind a directory in different location (like mount --bind) in user space?

For a user process, I want to mount a directory in other location but in user space without root privilieges. Something like mount --bind /origin /dest, but with a vfs wrapper. Like a usermode ...