The file fstab contains descriptive information about the various file systems.

learn more… | top users | synonyms

55
votes
5answers
64k views

How do I avoid the “S to Skip” message on boot?

After upgrading my laptop from karmic to lucid, my fat32 partition won't mount automatically. I get the message: The disk drive for /osshare is not ready yet or not present Continue to wait; or Press ...
21
votes
1answer
28k views

Adding a new swap file. How to edit fstab to enable swap after reboot?

I've deleted my existing swap partition due to some partitioning problem. I don't have a swap space now so I've created a swap file with: dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 Here's ...
11
votes
0answers
5k views

How to mount NTFS drive at startup [duplicate]

Possible Duplicate: How to automount NTFS partitions? I'm not even sure if this is the right question, but basically I have a partition with Windows 7 on it (named Acer in my Ubuntu places ...
31
votes
8answers
234k views

How to mount a new drive on startup

I have recently installed a new hard drive to my Ubuntu 10.0.4 box. I used System -> Administration -> Disk Utils to format the disk (ext4 file type) - but did not create a partition (is this ...
33
votes
2answers
126k views

Proper fstab entry to mount a samba share on boot?

I am a little confused on the proper fstab entry for a samba share in Ubuntu 12.04 I can get the drive to mount manually by using: sudo mount -t cifs //192.168.2.2/raid_drive /mnt/homeserver -o ...
30
votes
5answers
111k views

How to make partitions mount at startup in ubuntu 12.04

How do you make HDDs and partitions mount at startup with the ubuntu system? I always keep my media and data files on separate partitions - one 2tb HDD and a 400 odd gig partition. I have been ...
2
votes
2answers
20k views

Cannot mount NTFS partition in Ubuntu 13.04 [duplicate]

After I installed Ubuntu 13.04, I can't mount my NTFS partition. Error mounting /dev/sda5 at /media/mrxfly/xFLyDiskData: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=...
18
votes
1answer
53k views

Correct way of mounting a Windows share

I mounted a Windows share to my Ubuntu 11.10 system via adding the following line to the /etc/fstab: //serveraddr/sharedfolder /mnt/foldername/ smbfs credentials=/home/myname/.smbpasswd 0 0 using ...
9
votes
1answer
4k views

How to get permissions to execute programs from NTFS hard drive?

I have this problem: I'm used to compile and run .c files with CodeBlocks. If I do that from my Desktop (ext4 partition) it works without problems, but doing this from my secondary hard drive (NTFS ...
30
votes
6answers
182k views

How do I correctly mount a NTFS partition in /etc/fstab?

After a nasty episode (my second, you'd think I'd learn) caused by unsupervised automated podcast downloads filling my entire partition, I've finally moved just ~/Music to its own partition. The ...
15
votes
4answers
39k views

Mount NTFS partition at startup, with non-root user as owner

I'm currently mounting an NTFS partition at startup using the following line in /etc/fstab: /dev/sda3 /media/data ntfs nls=iso8859-1,umask=000 To my Ubuntu 11.10 installation, ...
7
votes
1answer
8k views

How do I give multiple users access to a Windows NTFS partition?

I have USB hard-drive connected to my Ubuntu (11.04) machine. Every time I reboot the computer and login it mounts the hard-drive. Since the disk has NTFS on it, Linux assigns some user to be the ...
15
votes
3answers
32k views

How to move boot and root partitions to another drive

I have two drives on my computer that have the following configuration: Drive 1: 160GB, /home Drive 2: 40GB, /boot and / Unfortunately, drive 2 seems to be dying, because trying to write to it is ...
13
votes
1answer
43k views

How do I create and tune an ext4 partition from the command-line?

PARTITIONING (e.g. fdisk) What are some useful commands used for partitioning an additional hard drive from the command-line? Since most published guides steer towards GParted and other graphical ...
12
votes
3answers
19k views

Why does Ubuntu refuse to execute files from an NTFS partition?

I mount an NTFS partition (where I've got some Linux binaries and scripts alongside with Win32 and data files) with the following fstab line: /dev/sda5 /mnt/dat ntfs-3g rw,dev,exec,auto,async,users,...
1
vote
2answers
27k views

Adding an entry to fstab

I 've unmounted a disk /dev/vdc1 on my machine, after I format it into xfs file system, I didn't mount it again, either didn't add the adequate line to fstab file. Now when i want to mount this ...
13
votes
3answers
25k views

Mounting filesystem with special user id set

I want to mount the device /dev/sda3 to the directory /foo/bar/baz. After mounting the directory should have the uid of user johndoe. So I did: sudo -u johndoe mkdir /foo/bar/baz stat -c %U /foo/bar/...
6
votes
1answer
38k views

Changing permissions in fstab in order to allow writing in Windows NTFS partition

I have in my /etc/fstab file this line in order to mount my Windows ntfs partition: /dev/sdb1 /media/sdb1 ntfs rw,noauto,users,permissions 0 2 I've changed the owner using chown and set the ...
5
votes
1answer
3k views

How to install applications to a separate hdd?

I was so good with windows, now I’m feeling like a complete idiot. I have an SSD for ubuntu and want to install the majority of my programs to a separate HDD but I have no clue how. All searches I ...
48
votes
1answer
78k views

How can I use RAM storage for the /tmp directory and how to set a maximum amount of RAM usage for it?

After seeing the comment by Anonymous on the question How is the /tmp directory cleaned up?, I found that it would be a great idea to implement on my system, since I have 16GB of RAM and I never used ...
32
votes
7answers
31k views

Virtualbox shared folder mount from fstab fails; works once bootup is complete

I've got Ubuntu 13.10 installed in Virtualbox 4.3. The host machine is Windows. I have a couple of Virtualbox shared folders being mounted by /etc/fstab. Until recently this setup worked just fine, ...
15
votes
3answers
25k views

Where can I find the mount point for SMB shares in 13.04?

In older Ubuntu releases, you were able to access the SMB shares mounted with Nautilus by going into the ~/.gvfs/ directory. I found it very convenient, since I like to use Nautilus to mount the ...
22
votes
2answers
147k views

How to mount a hard disk as read-only from the terminal

I have searched google, I've searched this website, I've searched using various terms, phrases, using quotes and without quotes and I cannot find the answer to this seemingly easy thing to do. How do ...
6
votes
3answers
57k views

Mount USB drive with write permissions for everyone or specific user

I know there are similar questions but I get some specific problem I can't overcome. I have: HDD split into two partitions. /dev/sdb1 and /dev/sdb2. sdb1 is NTFS and I don't need it. I need sdb2 ...
3
votes
2answers
11k views

Repairing the FSTAB

I recently changed my /home to another partition and after it caused problems (I had it formatted as NTFS) I wish to change it back to it's original location. I changed the FSTAB listing for /home to ...
3
votes
1answer
1k views

unable to mount samba share on boot (ubuntu 15.10)

I am following MountWindowsSharesPermanently to mount a samba share on boot As said in wiki, I added these lines to /etc/fstab: # auto-mounting the samba share 'Seagates' on raspberry pi //192.168.2....
3
votes
3answers
5k views

fstab folder bind on partition mounted with defaults parameter

I want bind some folders in my Home directory with some folders in a NTFS partition. Will mounting the NTFS partition with only the defaults parameter affect my read/write access?
2
votes
1answer
6k views

How to add UTF-8 support to my hard disk in fstab?

I use Ubuntu (Spanish language). Sometimes I get this error when I use special characters (codification error) so I read that if I edit a file of my hard disk by using gedit /etc/fstab and adding utf8 ...
22
votes
4answers
95k views

What's the easiest way to mount Windows share as a local folder in home directory?

Via Gnome Nautilus I can easily mount Samba shares from my Ubuntu Server. However, these "mounts" are kinda of fake. Many applications I run do not recognize that Gnome has mounted these server ...
24
votes
6answers
31k views

Mount an external drive at boot time only if it is plugged in

I've got an entry for an external harddrive in my fstab: UUID="680C0FE30C0FAAE0" /jgdata ntfs noatime,rw But sometimes this drive isn't plugged in at boot time. This leaves me half way ...
15
votes
2answers
10k views

How to create RAM drive?

How do i create RAM drive under ubuntu. And would he automounted at startup?
15
votes
4answers
20k views

Mount LUKS encrypted hard drive at boot

I have Xubuntu 14.04 on a SSD device (the HOME was encrypted correctly during intallation), additionally I have a HDD with a encrypted partition with extra data which I would like to mount in /mnt/hdd....
10
votes
3answers
39k views

How could I mount an ext4 partition and have write permission?

I've set the /etc/fstab file so that I can mount an ext4 partition on startup and I did it with the following options : rw, auto, nouser, exec, sync. The problem is that I can't create or delete any ...
13
votes
1answer
16k views

Permission denied on SSHFS automount

I am trying to set up an SSHFS connection between two Ubuntu machines, using /etc/fstab so that they automount from the beginning. I have created an .ssh directory in my home dir on both machines, I ...
10
votes
4answers
9k views

How can I specify the order in which filesystems are automatically mounted?

I need a particular row in /etc/fstab to be mounted always after two other rows: # Always mount these first UUID=fdf38dd4-9e9d-479d-b830-2a6989958503 / ext4 noatime,discard,errors=remount-ro 0 1 UUID=...
3
votes
3answers
2k views

btrfs with multi devices fails automount in fstab

I'm trying to automount btrfs on 12.04-desktop-amd64. During bootsplash, fstab failed to mount btrfs and asked skip or manually prepare. On the rootshell, btrfs device scan and mount -a could ...
3
votes
2answers
19k views

CIFS mount through fstab not mounting at boot

I have a CIFS share on my NAS that I want to have mounted at boot - it's used by my MythTV server as the main media store. I added an entry into fstab to have it mount but it doesn't. It appears that,...
1
vote
2answers
1k views

Transferring from USB to NTFS hard drive is really slow

I have a second hard drive that I've installed on my system, and copying files from the USB to the hard drive is extremely slow (about 70kB/sec). Here is my /etc/fstab entry: /dev/sdb1 /media/...
1
vote
2answers
2k views

Ubuntu took away permissions from my Data partition

The pangolin has struck again. The bug of the day for today is Ubuntu taking away my permissions on my Data partition (NTFS). One moment everything worked fine, the next moment I couldn't chmod ...
0
votes
1answer
997 views

How can I mount an NFS drive via fstab

I am trying to auto-mount my NFS drives, but it doesn't work too well sadly. What does work is mounting from CLI: me@client:/$ sudo mount 192.168.178.4:/mountdir /mnt/mountdir me@client:/$ mount -t ...
3
votes
3answers
3k views

What file resets fstab on persistent live environments?

I'm trying to add lines to my /etc/fstab file. but the lines I add get cleared on reboot because I am using a persistent live USB stick. I don't want a lecture. I just want to know which file writes ...
3
votes
2answers
6k views

Mount NTFS partition with write access for everyone

How can I mount a NTFS partition so that all user accounts on my machine have write access? My mount options are nosuid,nodev,nofail,x-gvfs-show,nobootwait,uid=1000,gid=1002,fmask=113,dmask=002 ...
2
votes
3answers
221 views

Trouble automounting an SD card on Trusty

I need an SD card to be mounted unattended, as soon as it is inserted in its slot. Usual enough, but the prbm is it does not get mounted and I am missing why. In /etc/fstab: #Entry for /dev/...
2
votes
2answers
1k views

Lost Swap Partition

I set up a new Ubuntu Partition a few days ago. Yesterday I installed the Kubuntu-Desktop to replace the Unity thing. Since I installed the new desktop the Linux-Swap partition won't work anymore and ...
1
vote
1answer
3k views

Best way to mount /tmp in fstab?

What is the best way (options, those numbers on the end) to mount a /tmp partition in /etc/fstab in terms of security and speed on a desktop (laptop) computer (read: not server)? I've heard about ...
0
votes
1answer
297 views

Quota error (device dm-4): find_block_dqentry: Quota for id 107 referenced but not present

I have problem with my server. For server configuration I followed http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3-p5 My screen is flashing every 20 seconds ...
0
votes
1answer
3k views

Ubuntu 13.10 Press S To Skip Mount Or M For Manual Recovery corrupted fstab can't modify

I recently made changes to my fstab file and, upon reboot, noticed I had an error in it. I get the typical mount error on boot. I went to try and modify it by entering the read-only mode but then, ...
22
votes
2answers
16k views

Why can't mount read files in “/etc/fstab.d/”?

I'm trying to setup an automatically mounted volume, and noticed that there is now an /etc/fstab.d/ on my server. I created a new file in the directory with the following contents: # backupstore: ...
13
votes
2answers
63k views

Automount ext4 partition with user permission/ownership (fstab?) [duplicate]

I just installed Lubuntu 12.10 "Quantal Quetzal" on my Acer Aspire One D257, creating the partitions: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 15G 2.1G 12G 15% / ....
33
votes
2answers
53k views

What does the last two fields in fstab mean?

The last two fields on each line in fstab (dump, pass) is some numbers, usually 0. What does these numbers mean? # <file system> <mount point> <type> <options> <...