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

learn more… | top users | synonyms

0
votes
1answer
4k views

How to change the Name of Logical volume in Volume group

I created an LVM and inside that i created Volume Group and within it created Logical Volume and given the mount point /u001/app/pracle I named it wrong instead of ORACLE i it should have been typed ...
3
votes
4answers
3k views

Live USB: how to access USB drive that linux booted from

Can't find it in /media or /mnt. What I want: live distro so I have guarantee it won't break and will boot/work every single time have access to directory on that USB drive for storage purposes, ...
3
votes
4answers
5k views

Auto mount USB devices on debian?

This isn't a big deal i was just curious so if anyone happens to know why then great. I'm not sure if usbmount is the tool as which usbmount doesn't show anything but on my debian system (no ...
3
votes
1answer
59 views

How to make sure a loopfile is only mounted once?

When mounting a filesystem image via mount -o loop, is there any mechanism to prevent the same file to be mounted a second time?
0
votes
2answers
302 views

Any temporary fix for / being remounted as read-only?

My disk has a few bad sectors and has already failed the SMART tests. It obviously is going down. It gets remounted to read only and I have to fsck and reboot all over again. Is it safe for me to ...
5
votes
1answer
3k views

Do not halt the boot if an fstab mounting fails

I have this line in my fstab: sshfs#ecarroll@o99:/opt/dealermade/ftp/inc /opt/dealermade/ftp/inc fuse defaults,idmap=user,users 0 0 For whatever reason it didn't work -- that's fine. How do I make ...
1
vote
1answer
152 views

Right way to start VirtualBox with shared folders mounted

Need of commandline to start VM with access to shared folder. Now if I run /usr/lib/virtualbox/VirtualBox --comment "win" --startvm "c252555c-bla-bla" I get VM running but shared folders not ...
2
votes
1answer
313 views

How to move the /var/www directory to a USB HDD?

I have a default OpenBSD 5.1 install. How Can I enabled httpd, OK. QUESTION: How can I use the /dev/sd0a on /mnt/usbhdd type ffs (local, nodev) instead of the default "/var/www" directory? What ...
1
vote
0answers
277 views

Unable to access Linux share from a Windows machine with NT_STATUS_BAD_NETWORK_NAME error

On the Linux machine I changed the smb.conf like this: [john] path = /root/john/downloads available = yes valid users = john read only = no browsable = yes public = yes writable = yes The path ...
1
vote
1answer
412 views

Fedora 17 : Nautilus, after mount manually, device will not see again in Device section

In Nautilus, I see left pane is useful. It contains shortcut to another place. Such as : At device : I can see Windows Partition (although I does not mount yet) or at my computer, some shortcut to ...
2
votes
1answer
230 views

Order of mounting USB devices in Linux

I'm running a Ubuntu system where USB drives are mounted automatically. I'm curious to what happens when a USB device plugs in a port. Which part of the linux senses that a new device has been plugged ...
8
votes
2answers
4k views

How to mount a cryptsetup container just with `mount`?

I created an encrypted container via #!/bin/bash dd if=/dev/zero of=$1 bs=1 count=0 seek=$2 MAPPER=$(mktemp -up /dev/mapper) LOOPDEV=$(losetup --find --show $1) cryptsetup luksFormat $LOOPDEV ...
2
votes
1answer
590 views

Problem with permissions when sharing a mounted filesystem

I am setting up a linux to act as a fileserver, using CentOS 6.3. Since I want to have disk quotas and can't install LVM (it is a 32 bit machine), I am using an LVM volume with ext4 mounted as ...
3
votes
2answers
434 views

Mounting USB camera on Ubuntu

I am quite new at Linux and I have to install this SwissRanger camera on Ubuntu. I am trying to follow their USB mounting instructions and I got stuck. From the instructions: Modify the usbdevfs ...
2
votes
1answer
2k views

Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7

I've reinstall windows 7 on it's asignated partition and, as usually, it override the MBR with it's own stuff and, thus, it was not possible to boot to my ubuntu 12.04 partition. I followed the step ...
4
votes
2answers
704 views

Help with unzipping a .dd.gz, possibly corrupted

I recieved this file that I was told was a copy of a hard drive (or disk). The file is "sheeva-mem.dd.gz". I tried to unzip the file in a linux Fedora machine. This yielded "unexpected end of file". ...
2
votes
2answers
673 views

Filesystem type on Solaris 5.10

How can I get the file system type for each device on Solaris 5.10? I tried mount with no args but that only listed each mount point, similar to df. Also, how can I find where a specific directory ...
3
votes
2answers
467 views

Can I make a symlink point to different locations on different machines?

Before you say "no", a workaround would also be fine. Here is the situation: I have two machines local and compile, both including the same ~ over nfs from a third machine files. I would like to have ...
1
vote
0answers
180 views

Multi-Distro boot DVD with SystemRescueCD 2.8.0 fails to boot the SRCD portion

I'm trying to create a multi-distro mutli-boot dvd image containing (amongst others) the SystemRescueCD iso. I'm using GRUB as the boot loader and I've managed to get most of the other ISOs booting ...
12
votes
3answers
11k views

Are there any drawbacks from using mount --bind as a substitute for symbolic links?

Symlinks have limitations in how functions like ls, mv, and cp can operate on them because unlike shell initiated commands like cd, these functions do not have information about how the user accessed ...
6
votes
1answer
763 views

accessing files hidden by mounted drive [duplicate]

Possible Duplicate: Access to original contents of mount point I have a directory d containing some file f and I mount a drive on directory d. Is there a way of accessing file f without ...
4
votes
2answers
97 views

Quicker Way to Reference a Directory?

This one is probably easy for all of you, but I have never had to deal with such a nested local set of directories. If I have a path like: /mnt/media2/Archived\ Files/_Transfer/ is there a way to ...
6
votes
1answer
532 views

HDD allocation fstab

In my PC running Ubuntu 12.04 LTS I have installed three SATA hard drives. Two of them are installed near a cooler. I want to physically switch two drives (one that is not near the fan should be moved ...
5
votes
3answers
5k views

Creating mounting point

I am mounting an image, and just realized that I have to create the directory for mounting point first. The command mount won't mount to a non-existing directory. But I seem to remember in some ...
1
vote
2answers
1k views

Using a symlink for a mountpoint

Is it possible to set a symlink on a mountpoint? I have a mountpoint /vz. When I'm ln -s /var/lib/vz /vz the result is, that I have a directory vz in my mountpoint /vz, thus I have /vz/vz. Is there ...
4
votes
2answers
10k views

Mount USB drive (FAT32) so all users can write to it

I have a USB FAT32 drive that is on /dev/sda2. I've mounted it as /media/bigdrive however, I get permission denied whenever I try to touch a file there as a non root user. When I run mount I can see ...
6
votes
1answer
730 views

Run shell script when new volume mounted

I'm interested in running an rsync script whenever any new volume is mounted on my Debian box. What are some potential triggers / strategies for listening for a new volume mount?
6
votes
1answer
1k views

How to mount a Truecrypt container with a timeout from the command line?

I'm mounting a truecrypt container via the command line (i.e. truecrypt file dir). Is there any way to have truecrypt automatically unmount the container after a given amount of inactivity in dir?
3
votes
3answers
737 views

pwd: show mountpoint

I have mounted a directory to another directory using mount --bind so that an sftp user of my server can access this directory. mount --bind /path/share /path/home/user/stuff I have put this in ...
2
votes
4answers
4k views

Mounting ISO in Linux/KDE

Is there a graphical, preferably integrated with Dolphin, utility for mounting ISO images?
3
votes
1answer
2k views

Can I automate mounting a cifs share without storing my password in plaintext?

I currently use a script which contains commands along the lines of sudo /sbin/mount.cifs $SERVER_SHARE $MOUNT -o username=$DOMAIN_$USER,uid=$USER,gid=$USER,file_mode=0664,dir_mode=0775 to mount my ...
1
vote
0answers
334 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
1k 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
757 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
18k 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
314 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
324 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
656 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
255 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
857 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 ...
8
votes
3answers
12k views

How to mount removable media in /media/<LABEL> automatically when inserted, without any desktop environment?

I have a Debian sid system (Wheezy) (and same for arch), without any desktop environment (and no Xorg at all). I can mount my SD-cards, USB sticks, external HDD by label into a specified directory in ...
1
vote
1answer
178 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> ...