Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
15 views

Mount network drive with fstab, permission denied

I am trying to mount a network drive with mount -a and have added the string below to /etc/fstab. When running the command mount -a it shows the error message below. //server/folder /mnt/folder cifs ...
1
vote
1answer
32 views

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, ...
0
votes
1answer
31 views

mount error(13): Permission denied

I am trying to share a folder from Windows 10, and mount on my Raspberry Pi 3. These are the steps I followed. Changed the permissions of a folder in windows, to give it full access to everyone. ...
2
votes
1answer
47 views

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 ...
1
vote
2answers
50 views

RPi SD 'sync' time [closed]

It seems that the RPi does not necessarily write data to the SD very promptly and data loss can occur if the power is pulled after a write operation; even after a few minutes or longer. this can be ...
0
votes
1answer
59 views

Pi will not boot after unplugging external USB drive

I successfully mounted an external USB HD by editing the /etc/fstab file as detailed here, and everything worked great, until I tried booting up my Pi without the drive attached. The Pi refused to ...
0
votes
1answer
36 views

root automatically set as mounted directory owner

I made an entry in fstab for my USB HDD PARTUUID=xxxyyyzzz-01 /mnt/usbstorage vfat defaults,nofail 0 0 I made the owner of the /mnt/usbstorage to be pi (so that when i run apps as pi, there ...
0
votes
0answers
14 views

Trouble autoconnecting to wireless network after automounting USB drive

I'm having issues SSHing into a headless Raspberry Pi over the wireless network. I set up the fresh install properly with /boot/ssh and wpa_supplicant.conf, and I even modified etc/network/interface ...
0
votes
0answers
294 views

Need help giving Plex media server permission to access external NTFS drive from raspberry pi 3

I am running the Plex media server on my raspberry pi 3 (Raspbian Jessie). My media is mounted on the RPI3 from an external NTFS drive. I'm accessing my Plex media server from my laptop remotely. ...
0
votes
1answer
306 views

Boot up hangs - fstab problem

My Raspberry PI works headless without monitor and keyboard as weather station server. I managed it with SSH and that works ok until today. I added a line into /etc/fstab where it should mount a ...
0
votes
0answers
134 views

Need help setting up udev rules to keep external hard drive from unmounting and remounting as read-only

I've been having trouble with my external hard drive unmounting from my pi 3 torrentbox and then mounting as read-only with a different /dev/sd[letter]. I saw this blog post about how a user set up ...
2
votes
1answer
70 views

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 ...
1
vote
4answers
393 views

How to boot without mounting a Drive present during booting

I have a USB drive mounted via /etc/fstab on boot. I was wondering if there is a way to boot up the RPi and skip the mount process if the USB stick is not found. Right now if I don't put the USB stick ...
1
vote
0answers
171 views

Failed to mount a NAS with fstab on Alpine

I installed Alpine linux on my Raspberry Pi and I have some troubles to mount a network disk. I have this line in my /etc/fstab file on my RPi and on another computer (running Archlinux) # /etc/...
2
votes
2answers
434 views

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,...
2
votes
1answer
1k views

Mount a remote Raspberry Pi filesystem over SSH

I want to mount pi share on another pi. I tried this: sudo nano /etc/fstab && sudo mount -a And in fstab I added: pi@files.home:/mnt/4TB/ /mnt/files fuse.sshfs defaults,allow_other,_netdev ...
0
votes
1answer
2k views

Raspbian Stretch read/only

My system is based upon Raspbian Stretch and has three partitions: boot (fat32) rootfs (ext4) home (ext4) I don't have a lot of background services, just samba, ssh, lighttpd. I'm looking for a ...
1
vote
0answers
460 views

Raspberry Pi 3 + External HDD (HFS+) + Automount at boot

I want to use the external hdd with syncthing to synchronize the files on my external hdd with my other computers. Therefore I try to get the pi to mount my external hdd (HFS+) at boot. blkid (after ...
3
votes
0answers
310 views

Trying to replace the boot SD card when mounting USB drive as root

I have configured a Pi 3 with a gungho pidrive USB-connected 128GB SSD. I started with a 16GB microSD card and used the latest Raspbian Jesse image. All works well once I followed the adafruit guide ...
0
votes
1answer
448 views

mount network drive as guest

I'm trying to mount the network drive, so far I've got: sudo mount -t cifs -o guest,uid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm //192.168.1.1 /media/plex but I get: mount error(22): ...
1
vote
0answers
78 views

Fstab failing but mount works

Currently trying to get my external USB drive to mount via fstab. However it causes the system to go into emergency mode on reboot. If I comment out the fstab line, it works fine. Then I mount the ...
0
votes
2answers
535 views

Mounting smb with CIFS ignores file_mode and dir_mode

I'm having trouble with permissions involving an SMB share hosted on another machine on my local network. It appears that no matter what options I provide in the /etc/fstab or in a mount command, ls -...
0
votes
0answers
324 views

Read-only FS how to resize with unionfs-fuse

I am running several raspberries as read-only system for about 2 years.. so save them from corrupt sdcards i run them read-only. So far this has proven working very well. This is how my df looks ...
3
votes
1answer
757 views

Pi won't boot without USB drive inserted

I want my Pi to mount my USB drive at boot if the drive is inserted, however, I also want the Pi to boot regardless of whether or not the drive is inserted at startup or not. I edited my fstab file ...
0
votes
1answer
2k views

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, ...
1
vote
0answers
878 views

Mount network drive permanently

it's probably a nooby question, but I got some problems with mounting my Samba Share to my Raspberry Pi with OSMC on it. My Samba Server got the IP: 192.168.178.41 Credentials for the Share: User: ...
0
votes
2answers
845 views

Cannot mount shared NAS directory with ownCloud

I managed to run ownCloud on my RaspberryPi 2 on Raspbian. Now I am trying to move the data directory to my NAS. I already shared a folder on my NAS with CIFS and mounted the folder. This allows me ...
0
votes
2answers
636 views

Fstab: Mount a shared drive using drive name (not ip address)

I have a cifs share working correctly in fstab using //192.168.x.x/directory/to/folder /media/my/directory cifs ... However since our company network dynamically allocates ip addresses, is there a ...
1
vote
1answer
531 views

Mounted folder changes name after reboot

I have Raspbian OS installed. My Raspberry Pi is used to save my ipcam snapshots. They are sent through ftp (proftpd) to a usb stick attached on my Rpi. Mount point = /dev/sda1 df -h Everything works ...
1
vote
2answers
681 views

How to automatically mount a drive?

I just successfully mounted my NAS drive to my raspberry pi 3. I then attempted to add it to the fstab to have it mount automatically when the device is rebooted. When I went to test it, as it was ...
2
votes
3answers
5k views

How do I mount my NAS?

I just got a Raspberry Pi 3 and I am currently trying to mount my WD MyCloud EX2 to it and I am not having any luck. I tried following this guide I found here But I got this error: unable to find ...
1
vote
0answers
70 views

After power outage, my NAS drive isn't automounting

I have a RPi 1 Model B, configured as a torrent box, running Wheezy with Webmin, deluge torrent and Sickrage. To store the medias, i put a 2tb external hard drive on my router Linksys EA6400 and i ...
1
vote
1answer
3k views

Changed the fstab file, now stuck in a reboot loop

I followed this tutorial http://geeks.noeit.com/mount-an-smb-network-drive-on-raspberry-pi/ to try and get a SMB share mounted on boot. Now my pi won't stop rebooting. Without doing a total system ...
4
votes
3answers
2k views

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 ...
2
votes
1answer
11k views

mounting a SMB share onto Raspbian

Been trying to mount a NTFS network hard drive on raspbian, I've added the following line within fstab: //192.168.1.X/usb1 /home/pi/Desktop/HDD cifs guest,uid=1000,gid=1000,iocharset=utf8 0 0 when I ...
3
votes
0answers
521 views

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 ...
1
vote
1answer
8k views

Adding hfsplus file system to fstab

I have a external drive that is formatted in HFSX. And I have installed the hfsplus etc using sudo apt-get install hfsplus hfsutils hfsprogs After this I have retrieved the UUID for the disk using ...
4
votes
3answers
14k views

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 ...
1
vote
1answer
598 views

How to replace a rootfs with another one?

I have 2 sd cards, one with raspbian and one with debian builds. I need to replace the rootfs in my raspbian sd card with the one in my debian sd card. How can I do this? And, what are the changes (...
1
vote
0answers
96 views

Problem with network when external HDD to be mounted at boot is absent

I have a Raspberry PI (RPI), running Arch Linux, and I have an NTFS external HDD (with its own power source), which is mounted at boot via fstab: /dev/xxxx /boot /dev/sda1 /mnt/usbhdd/ ntfs-3g ...etc....
0
votes
1answer
782 views

Automount NTFS HDDs in specific locations and share them in LAN

O.S: Raspbmc I need to share 4 HDDs over my LAN, but the fstab I wrote does't work as I aspect. Edit1~ Here's the part of fstab made for those HDDs: #External HHDs LABEL=Incompleted\040Seasons ...
2
votes
1answer
876 views

Boots only when USB key connected (fstab related)

I have the following problem on ArchLinux system. My raspberry Pi won't boot unless I have my USB stick connected. I've been doing some tests and I discovered it is fstab related. When I comment the ...
2
votes
1answer
3k views

Why does Raspbian disable fsck in fstab by default?

Default Raspbian has the following details in /etc/fstab proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 0 /dev/...
0
votes
2answers
220 views

Only write to directory when USB is mounted

After following this answer a while back I have now run into some problems. My situation: I have a USB-HDD set up to get mounted to a directory on my SD card using fstab. Using the Raspebrry Pi ...
7
votes
3answers
3k views

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 ...
5
votes
1answer
4k views

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 ...
3
votes
0answers
730 views

Hardrives not automounting using fstab when using “reboot command” [closed]

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 ...
4
votes
1answer
3k views

fstab not mounting partitions automatically [closed]

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 ...