fstab (File Systems Table) is a configuration file found in most Linux distributions. It controls how disks and other memory stores integrate with the system.
Questions tagged [fstab]
76 questions
7
votes
3 answers
Auto-start X application from read-only file system
In order to protect the SD card in an application which may suffer a sudden loss of power I am attempting to mount the root in read-only mode.
In the working (read-write) system our full-screen application gets launched by the automatic X log-in…
doynax
- 303
- 3
- 7
7
votes
1 answer
How is root directory mounted on Arch?
I installed Arch Linux ARM for Raspberry Pi and it doesn't have an entry for the root directory in /etc/fstab but it's still mounted on boot somehow. How is it mounted and how can mount options be modified for it?
ivvi
- 227
- 4
- 9
6
votes
4 answers
RPi won't boot after editing fstab
My Pi was working until I followed this tutorial on how to auto-mount a specific drive on RPi boot. I added the following to the fstab file:
UUID="123091823" /media/pi/"Orange Passport" auto defaults,user,nofail 0 2
I believe I messed up…
BruceWayne
- 197
- 1
- 1
- 10
5
votes
1 answer
fstab not mounting partitions automatically
When I create new partitions on the flash drive I'm finding that they are not being mounted at boot. Here is my fstab:
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs …
Jivings
- 22,656
- 11
- 94
- 140
4
votes
3 answers
Mount exteral drive on startup RPi 2
So, I'm trying to mount an external USB drive to /home on a Raspberry Pi 2. I thought mounting an external drive upon startup would be easy. I added a line to /etc/fstab for the new device and rebooted but I immediately got a failure message. it…
colton7909
- 161
- 1
- 4
4
votes
0 answers
SD read only - how to make USB automount read write
I followed this tutorial to make the SD card of my pi read only.
However when I plug in a USB drive stick, which is then auto mounted by the usbmount package as /media/usbX , the usb stick is also read only.
How do I get it to automount as read and…
Sebastian
- 191
- 5
4
votes
5 answers
Automatic mounting of NAS drive fails
I have set-up my RPi to automatically mount a NAS drive. My /etc/fstab file looks like:
proc /proc proc defaults 0 0
/dev/mmcblk0p5 /boot vfat defaults 0 2
/dev/mmcblk0p6 / …
crazjo
- 391
- 2
- 9
- 18
3
votes
3 answers
Why can't I write to a mounted USB hard disk drive?
I am trying to mount a USB HDD. A create a folder here:
/media/pi/HDD
My HDD is formated to ext2
After that, I modified my /etc/fstab and add this line:
/dev/sda1 /media/pi/HDD ext2 rw,defaults,user 0 0
Then reboot, and I can…
solarenqu
- 131
- 1
- 2
3
votes
2 answers
Pi not auto mounting exfat drive on boot, despite fstab entry
I'm trying to get my usb drive to auto mount and Ive been following countless guides and threads on it but I still can't get it to work, using fstab.
I wasn't even able to boot until I added nofail, which lets me boot but doesn't mount the drive.
My…
BitFlow
- 235
- 1
- 3
- 7
3
votes
0 answers
Hardrives not automounting using fstab when using "reboot command"
Hey I've been trying to auto mount 2 of external hard drives at startup.
But only one of the hardrives partition mounts fine on start up but the other one does not. They mount successfully when I use the
sudo mount -a
command.
Here is my…
Ethereal
- 31
- 1
3
votes
2 answers
What is the difference between adding 'ro' to /boot/cmdline.txt vs /etc/fstab?
I'm setting up a read-only filesystem and some of the guides I have read say to add fastboot noswap ro to /boot/cmdline.txt, others don't. All of them mention adding ro to /etc/fstab though. Is there a difference? I haven't been able to find any…
Pathead
- 293
- 1
- 11
3
votes
2 answers
Auto mount with fstab not auto mounting
I'm new to Linux and the Raspberry pi. I'm having trouble mounting my USB 1TB HDD automatically using fstab. It mounts no problem when using something like this in the terminal:
sudo mount /dev/sda1 /mnt/1TB-PiDrive
I've copied the UUID number of…
Cameron Ward
- 103
- 1
- 2
- 7
2
votes
2 answers
How to reboot my Raspberry Pi after wrong edition of my fstab?
I edited my fstab file (/etc/fstab) to mount a new /media local network drive.
After this wrong edition, my Raspberry eventually can't boot anymore. I get the error:
Cannot open access to console, the root account is locked.
See sulogin(8) man page…
JMax
- 191
- 1
- 1
- 7
2
votes
1 answer
Raspian not booting after editing fstab and reverting changes
I have a RaspberryPi3 with a headless stretch installation. It ran a VPN server and a DNS server. Today I wanted to mount a HDD to use as a place to drop files in the LAN following this guide. After editing the fstab the system wouldn't boot. I then…
jaaq
- 173
- 1
- 7
2
votes
1 answer
Bas rights on a folder when I automount an hard drive
I want to automount an hard drive when my raspberry pi zero starts. The commands works but I can't write in the folder because I don't have permission even if I use sudo. I can only read. I already tried to change folder's permission with chmod but…
Anonymous
- 121
- 4