Questions tagged [fstab]

fstab is a file on in Unix / POSIX systems that stores settings about where devices system startup are mounted.

Filter by
Sorted by
Tagged with
2 votes
1 answer
7k views

Cygwin fstab - what am I doing wrong?

I'm trying to automount my Windows home directory over my Cygwin home directory. If I run the mount command manually it works fine, but putting the mountpoint into /etc/fstab doesn't seem to work: $ ...
slim's user avatar
  • 123
6 votes
2 answers
6k views

fstab on boot: mount when device is plugged in

I have an external USB drive which I want to be mounted automatically on boot when it is plugged in. With the current settings in fstab, mount will try to mount it even when it is not available, which ...
evnu's user avatar
  • 475
0 votes
1 answer
3k views

debootstrap creates blank fstab ("UNCONFIGURED FSTAB FOR BASE SYSTEM") - how do i configure fstab for the first time?

I've been following this tutorial to create a custom amazon ec2 image. It looks like debootstrap doesn't set up the fstab anymore. When I get to the mount /proc step, it complains: warning: can't ...
user avatar
3 votes
2 answers
662 views

Removable vs fixed mount points in Linux

What makes a mount point removable in Linux? I am using Gentoo Linux with Gnome 3.2, and I find it annoying that some of my drives (ex: /dev/sdb) appear as removable but not the others (ex: /dev/sdc, /...
Dave's user avatar
  • 31
4 votes
2 answers
916 views

Linux - Advanced automounting via /etc/fstab file

I have a simple server with 6 hard disk drives (all SATA) inside of it. They are in a simple JBOD (just a bunch of disks) mode, so Linux just shows the following devices (assume each one has a single ...
Cloud's user avatar
  • 551
5 votes
2 answers
7k views

Ubuntu 11.04 "The destination is read-only" - thumbdrive - GNOME error?

I have Ubuntu 12.04. My problem is, I can't get write access to any USB device, like thumbdrive, SD card or digital camera using GNOME 3.4.1. Both FAT32 and NTFS filesystems won't work. From ...
marc's user avatar
  • 51
4 votes
3 answers
7k views

Why is my USB drive not mounted during startup

I have Arch Linux running on my Raspberry Pi. I added the following line to my fstab file: /dev/sda1 /mnt/MyBook ntfs defaults 0 0 for a while this worked fine, the device was ...
DaveJohnston's user avatar
1 vote
1 answer
2k views

How to mount filesystem at boot when filesystem exist

I have Linux mint 13 maya installed on USB Pendrive (my portable linux). I run it on different computers. Is there a way to set the fstab to auto mount the hard drive from X computer at boot? So far ...
chepe263's user avatar
  • 441
2 votes
1 answer
18k views

How do I configure fstab so that a partition can be used by different users simultaneously?

My intent is to set up a drive that any user can read to, write from, and execute on. Moreover, the users must be able to use the drive at the same time. I have my fstab entry set up like this: /...
user137146's user avatar
0 votes
1 answer
3k views

Mount -a on reboot after modifying /etc/fstab

I added the third line to /etc/fstab. proc /proc proc defaults 0 0 none /dev/pts devpts rw 0 0 tmpfs /dev/shm tmpfs defaults,...
Alexis K's user avatar
  • 367
6 votes
2 answers
9k views

How do I load Ubuntu into RAM and boot from it?

The Problem I have a USB flash drive which, among Windows PE and other things, has an Ubuntu 11.04 system on a virtual (file-based) partition: <drive>/ubuntu/disks/boot.disk mount point /...
user541686's user avatar
  • 23.9k
1 vote
1 answer
256 views

How to make mount points inaccesible for any user or process in Ubuntu, when no filesystem is using it?

I have noticed that my mountpoints in /media often acquire underscores, double or triple at time, when I use Vuze which is configured to save the files on a mountpoint directory in /media. This is ...
george's user avatar
  • 11
1 vote
1 answer
2k views

mount Command Works, but fstab Version Fails - Samba Issue

I can mount a share with this command: sudo mount -o username=user,password=pass //192.168.5.227/share /mnt/share And in my fstab I have this line: //192.168.5.227/share /mnt/share cifs credentials=...
nicorellius's user avatar
  • 6,715
1 vote
1 answer
4k views

what to do when fstab breaks?

Which is the best way to fix broken fstab? I think that i could do that with some live linux distro. First serch for partitions and mount them to temporary created /temproot. Manually mount partitions ...
mdakic's user avatar
  • 13
2 votes
2 answers
2k views

Automounting with fstab not working on Ubuntu guest VM on OSX host

I've been setting up a new development environment using VirtualBox so I can sandbox my services and such in their own VM. It's an Ubuntu-based VM, which loads as a headless instance that I SSH into ...
Wilhelm Murdoch's user avatar
5 votes
2 answers
9k views

Cant open file for writing with cifs mount

Hi I have mounted my QNAP on to a drive on my ubuntu machine using the following fstab entry //<ip-address>/Documents/Aly /home/aly/Documents cifs credentials=/root/.credentials,uid=1000,gid=...
Aly's user avatar
  • 185
28 votes
4 answers
53k views

Is there any GUI tool to configure /etc/fstab?

I have little experiences in configuring the 'fstab'. I'm looking for any GUI tool that helps me with this. If possible based on gtk and should be available in Debian.
kravemir's user avatar
  • 2,674
4 votes
2 answers
27k views

Configure CIFS mount point permissions

On my Ubuntu machine I am mounting a CIFS share by having the following in my /etc/fstab //netgear0/photos /media/netgear0-photos cifs credentials=/home/bob/passwd/netgear0-smb-cred,iocharset=utf8,...
Fae Hutter's user avatar
46 votes
3 answers
93k views

Mac Lion: fstab is deprecated. so what replaces it to prevent a partition from mounting?

If fstab is deprecated in Lion (and before, I think?) how does one, properly, prevent a partition from mounting on system boot? This is loosely related to this question which as of this post has no ...
Meltemi's user avatar
  • 6,967
0 votes
2 answers
580 views

Moving Ubuntu to a new hard drive, partitions reorganization

I'm using Ubuntu on my laptop on a 250GB hard drive. I'm going to install a new 500GB hard drive and will create new partitions on it for different purposes. Can I simply copy the partition where ...
NeDark's user avatar
  • 263
1 vote
0 answers
1k views

Space in credentials file, smbfs & fstab

I'm trying to mount a Windows share on an Ubuntu Server box. It works with smbmount, and with an entry in /etc/fstab. //Kubrick/Projects /mnt/projects smbfs user=Eric\040Fritz%{pass},rw ...
efritz's user avatar
  • 111
2 votes
1 answer
3k views

What are the default fstab mount parameters in Debian?

I've accidentaly corrupted my fstab and cut the ends of lines. There are now disk uid, mount point, filesystem for root and swap, but the mount parameters are missing. The system boots as readonly. ...
kravemir's user avatar
  • 2,674
2 votes
1 answer
717 views

Proper fstab options for the disk

I have the following line in /etc/fstab /dev/sdb3 /media/mybook xfs rw,auto,users 0 0 The device is properly mounted and seen by root, but not by the normal user: ...
Guard's user avatar
  • 145
0 votes
1 answer
2k views

Permission problems at mounting ext4 filesystem on fstab

I have installed 2 linux distributions, Fedora 15 and Ubuntu 11.04. I have a partition formated in ext4 filesystem and i mounted using the /etc/fstab file on /mnt/files/ mountpoint. It mounts ...
Marco Antonio's user avatar
1 vote
1 answer
3k views

How to write as a normal user to a mounted dm-crypt/LUKS partition?

I managed to setup an encrypted partition that's mounted on boot using dm-crypt/LUKS. The relevant entry from my /etc/fstab: /dev/mapper/st_crypt /media/st ext4 defaults 0 2 The ...
Bill's user avatar
  • 13
1 vote
2 answers
22k views

Why bind-mount /var/tmp to /tmp?

I've read in several places that it is recommended to bind-mount /var/tmp to /tmp. This can be done by adding the following line to /etc/fstab: /tmp /var/tmp none rw,noexec,nosuid,nodev,bind 0 0 How ...
lisa17's user avatar
  • 1,239
1 vote
1 answer
4k views

Allowing users to mount /dev/loop0

I have a following problem. I need to let normal users mount device /dev/loop0 to a predefined directory /mnt/data. The filesystem of the device is unknown and is to be defined when mount command is ...
azerIO's user avatar
  • 385
0 votes
1 answer
3k views

Problem mounting XP share using CIFS

I've seen other similar questions but don't believe any of them solves my problem. I've got a VMWare virtual Ubuntu box. hosted by an XP machine. The XP machine is sharing a folder VMWebRoot I want ...
Basic's user avatar
  • 1,095
3 votes
1 answer
7k views

Is there a difference between using pmount and mount?

Is there any difference between using pmount to mount a device (e.g., USB drive) and using mount with user in the 4th column of /etc/fstab? Essentially, is the only purpose of pmount to allow the ...
DQdlM's user avatar
  • 2,729
19 votes
3 answers
29k views

Set proper rights for sshfs mountpoint so it can be shared with samba

I have a domain hoster that provides access via SSH. My platforms are: Gentoo 2.6.36-r5 Windows (XP/Vista/7) I work on my Windows, I use Gentoo to do all the magic Windows can't do. Therefore I ...
CS01's user avatar
  • 395
0 votes
1 answer
147 views

Mounting network storage over wireless

I have a laptop that is connected to my home network over wireless connection. The laptop runs a bit torrent client which downloads to a mounted NAS filesystem . I would like the laptop the run the ...
smichak's user avatar
  • 133
3 votes
2 answers
7k views

EC2 volume not mounting via fstab; manual mount successful

I have a Micro instance running Ubuntu 10.04 x86 (AMI ami-3e02f257). It has the OS volume attached at /dev/sda1 and a second volume attached at /dev/sdf (reported as /dev/sda1=vol-eaa0e982:attached:...
Travis P's user avatar
  • 152
27 votes
1 answer
32k views

fstab: When do you use the "dump" and "fsck" options?

I found a great tutorial on how to use fstab: http://www.tuxfiles.org/linuxhelp/fstab.html Using this tutorial, I was able to successfully get my SIMPLE mounting needs working. But during the ...
Trevor Boyd Smith's user avatar
0 votes
2 answers
1k views

how do i make sure i have read and write access to the folder when i'm mounting it in Linux (Ubuntu) using the fstab file

follow up to How do i set up shared folders in virtual box (windows 7 host, Ubuntu guest)? i can get the folder to mount on start up, but it keeps coming up with a padlock symbol on the icon and i ...
Kirt's user avatar
  • 7,271
1 vote
1 answer
1k views

Filesystem handling for embedded Linux device

I am developing a device that will run Linux as its operating system. The device is a small form factor X86 device with a flash drive exposed as a SATA-device. So it is not very dissimilar from any ...
Hannes Ovrén's user avatar
1 vote
2 answers
31k views

fstab line for auto mount drive that all users can read/write

I have installed a cable that connects from the CPU's SATA motherboard connection to a removable drives' ESATA connection. I would like to be able to swap drives on the ESATA connection and have all ...
evilblender's user avatar
5 votes
2 answers
6k views

How to Set "<options>" in fstab - Manual Mounting is Successfull

I am not real familiar with fstab yet, so I have a couple questions. When I use this command to mount devices: sudo mount -t cifs -o username=admin //192.168.1.134/share_name /mnt/share_name With ...
nicorellius's user avatar
  • 6,715
0 votes
1 answer
282 views

Unable to move file in a folder with the correct permissions

I've got a problem with a sata hdd, it is mounted in fstab like this: UUID="089DD5F442991363" /home/lex/media/archive1 ntfs rw,users,suid,uid=1000,gid=1000,umask=000,exec,utf8 0 0 UUID=...
Lex's user avatar
  • 175
2 votes
1 answer
1k views

Ubuntu network share fails to mount, can't get to command prompt on boot?

One of my network shares is down, which isn't a big deal, but now my Ubuntu instance fails to boot properly. On boot it will display the screen giving me the option to skip the mount, or do a manual ...
chum of chance's user avatar
2 votes
1 answer
2k views

Mounting a partition as your Music folder in Ubuntu 10.4

I have installed a new hard drive and partitioned some space that I am wanting to use for keeping my Music files on. I have entered a line into the /etc/fstab file that I believe mounts the partition ...
thecoshman's user avatar
83 votes
8 answers
419k views

Modify fstab entry so all users can Read and Write to an EXT4 Volume

I have an Ubuntu 10.04 box with an EXT4 partition. This partition is set to automatically mount in /etc/fstab. For the purposes of this post, we'll call it: /media/foo. Unfortunately, only root ...
Phanto's user avatar
  • 1,434
2 votes
3 answers
12k views

Mounting a VirtualBox shared folder on boot with fstab in OpenSuse 11.3

I have followed the steps found here, however, the share is not mounted on boot. The share will mount if i run 'mount -a' after booting. Why would the share not mount on boot? 1 - Set up a ...
ccook's user avatar
  • 245
0 votes
1 answer
2k views

Debian: Unable to mount a second drive as a subdirectory inside of another partition

I have the following /etc/fstab: # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <...
jkndrkn's user avatar
  • 103
15 votes
4 answers
21k views

My virtualbox fstab will not auto-mount on reboot?

I am able to mount my drive manually like this (ubuntu): sudo mount -t vboxsf C_DRIVE /mnt/saga_c But when I try and add it to my fstab it does not mount when I restart the machine. Is there ...
stephenmm's user avatar
  • 1,297
17 votes
3 answers
28k views

UNIX - mount: only root can do that

I need to allow a non-root user to mount/unmount a device. I am a total noob when it comes to UNIX, so please dumb it down for me. I've been looking all over teh interwebz to find an answer and it ...
Travesty3's user avatar
  • 553
2 votes
2 answers
1k views

cannot mount remote partition using fstab/fuse

Using a combination of http://ubuntu-tutorials.com/2007/01/02/mount-remote-directories-securely-with-ssh-ubuntu-6061-610/ and http://www.tuxfiles.org/linuxhelp/fstab.html I figured I could mount the ...
HorusKol's user avatar
  • 278
1 vote
3 answers
5k views

Automatically mounting windows share in Fedora 12

I'm trying to automatically mount a windows share in a Fedora 12 instance (FC12). When I manually mount things work: mount -t cifs //nas01/servers -o username=guest,password=myPassword /mnt/nas01/...
Martin Giffy D'Souza's user avatar
1 vote
1 answer
450 views

How do I use the Advanced NTFS-FS package to automount a NTFS filesystem in Linux?

I want to enable Advanced NTFS-3G support (permissions and users) automatically from the fstab entry.
palbakulich's user avatar
1 vote
2 answers
4k views

mounted shares are not writable

I have several shares that are on my windows 7 system. The system I am accessing them from is an kubuntu 9.10 running gnome. These are the lines I have in my /etc/fstab file //192.168.1.136/...
Alex's user avatar
  • 517
1 vote
1 answer
2k views

linux: automount internal hard drive during boot?

i try to create my own NAS and i need to automount the internal sata disks during boot i know i could do using fstab but im searching for a more easy/generalized way so its easier to scale with less ...
John Doe's user avatar
  • 279