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

Referring to the connecting of storage to/from a Raspberry Pi.

1
vote
1answer
17 views

Getting Service status and automatic mounting of external drives

I have following bash script, I wanted to add few more things to it: (This script runs from root cronjob every 6 hours). Device is Raspberry Pi running raspberian. #!/bin/bash # Script: temp_email.sh ...
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 ...
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. ...
0
votes
1answer
25 views

Can't access mounted HDD if I have't logged into Raspbian/Pixel Desktop first

Well, I'm a bit confused, so please, bear with me: I have a Pi3 with Raspbian (huh, the latest one, can't remember the name) and an external HDD plugged to it. I've been doing tests and reading stuff,...
0
votes
0answers
15 views

Is there a way to change the pmount mount point?

Based on this answer for automounting USB... Running Stretch Lite on a Pi3, running Openbox window manager, no desktop or session manager. Is there a way to change the name of the mount point created ...
0
votes
0answers
9 views

I am having Problems with Pi3 and Suptronic X380, cannot mount HDD

My PI is raspberry Pi 3b+ running raspbian. I have purchased a Suptronics X830 HDD bord, and connected it to a new Seagate HDD 2TB. I can not get them to work together. I have tried a few different ...
0
votes
0answers
16 views

mounting pi images with chroot and qemu, cant unmount

I found a question on here that talked about updating software in raspberry pi images to save SD write cycles. This is something I have been able to do successfully following the answer posted here: ...
0
votes
0answers
25 views

Raspbian Auto Mount Drives

I've been trying to adjust a script I found to auto mount several connected drives to specific directories (/media/usb1.../media/usb8). I want the script to start mounting each drive to any of those "...
0
votes
1answer
39 views

raspbian: unable to mount root fs on uknown block

I downloaded "raspbian stretch with desktop" .img file from the official raspbery pi website (kernel version 4.14), changed it to a .bin file so the recovery utility would recognize it, and mounted it ...
1
vote
1answer
60 views

Cannot seem to write to usb drive using pi user

Really simple problem, I have run the following commands: sudo mkdir /media/usb sudo chown -R pi:pi /media/usb show chmod -R 775 /media/usb Checked everything and made sure that pi owned the ...
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
1answer
44 views

Remove automatic mount of external HDD

I have a external HDD that is mounting automatically on my rpi. Thing is I don't use it anymore, it makes noise, and if I disconnect it, rpi won't boot, until I connect it. I checked /etc/fstab, but ...
1
vote
0answers
94 views

USB mount not able to auto mount external drive due to MTP error

I'm trying to auto mount external hard drives to raspberry pi B+ (raspbian stretch lite image) using usbmount (link). But auto mount fails with the below error saying the device is not MTP. Unlike ...
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
1answer
389 views

Cannot automatically mount NFS share to Raspberry Pi

I am having a problem with mounting an NFS share from my Western Digital server to my Raspberry Pi. As a relatively inexperienced Raspberry user, I solicited help from several collaborators and ...
0
votes
1answer
76 views

how to get / mounted as external USB drive?

New Raspberry pi 3B, NOOBS, boots and runs fine out of the box. Now I want to mount an external drive and have everything happen there once boot is complete. I tried to follow https://learn.adafruit....
0
votes
2answers
470 views

How can I add shared drives to Raspberry PI 3?

So I have been given this LINK: \\HDD011\01_Presentaion\06_New_1 . I know this link is from a network shared drive here at my job. As a side project, I've been asked to make this link available to ...
4
votes
3answers
103 views

Python script run from crontab does not recognize USB drive mounted later

I am having a bit of a problem here, I really hope some of you can point me in the right direction: I made a python3 program running a loop and checking if the file /DATALOGGER/DATALOGUSB/SETUP.py ...
0
votes
1answer
693 views

Edit system files on windows or linux [duplicate]

i've messed up the /etc/profile file and now i can't login to the rpi. Is there a way to edit this file on windows or linux ?
0
votes
0answers
149 views

Raspberry boots in emergency mode, when usb 3G router is connected at boot

I have some problem, where I am currently totally stuck. I have a 3G wifi router, which is powered by usb. This one is connected to an active usb hub. Everything was running fine before. Now I have ...
0
votes
0answers
114 views

Mount any USB drive

I am facing some issues concerning the mounting process of usb drives. What i want to have in the end is, that i am connecting the usb drive to the pi and pressing a button to start a procedure to ...
1
vote
1answer
648 views

Connect external hdd ExFat

I'm trying to connect my external hdd which is in ExFat, but it won't mount it. I've got "fuse:device not found", but if i do fdisk -l, I can see it. Can someone know how to fit it ? Or if you have ...
2
votes
2answers
2k views

“mount error(112): Host is down” on stretch, but not jessie! Why?

First, some background: the CIFS drive I am trying to mount: PASSPORT2TB is connected via USB to a small wifi AP running OpenWRT, and it is shared via the Samba server on that (OpenWRT) host. I want ...
0
votes
0answers
143 views

Mounting 4TB WD Green via docking station to Raspberry Pi 3

I always get this error message: Error mounting /dev/sda2 at /media/pi/PIHDD: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda2" "/media/pi/PIHDD"' ...
1
vote
0answers
742 views

Mount SMB share (usb in router) on Raspberry error 56

I'm having trouble mounting my USB in router on my Raspberry. Hope someone can help. Status so far: I can access the drive on both my windows machine and mac machine. I can access the drive on my ...
1
vote
1answer
614 views

Mounting network HD on startup

First up I should note that I have no coding experience and am following guides. I'm currently setting up a RaspPi with Raspbian as a Plex server. Plex setup worked fine and I was able to mount the ...
0
votes
0answers
102 views

Pi Zero copy files from pc to mounted usb drive

I am new to pi programming and my searches for this have been fruitless. I am looking to connect a usb drive to my pi zero to use as permanent external storage. When I plug my pi into my pc via otg ...
1
vote
2answers
233 views

How to disable requiring a password for mount USB - Flash drive

I cant find the answer, How can I disable requiring password to mount Flash drive, Just plug USB and open folder without password.
1
vote
2answers
81 views

Cron and atd jobs cant see manually mounted file systems (mounted while on ssh) [closed]

I recently upgraded to debian [/raspbian] buster. Ever since then, cron jobs creating directories using mkdir -p <directory name> will create the directory on the root file system / device ...
0
votes
1answer
478 views

cannot mount the 2nd partition of a raspbian image in ubuntu 17.10.1

I'm trying to shrink a raspbian image following this procedure: The procedure works fine and I am able to get the shrunken image to boot correctly in a raspberry pi. However, there is a step in the ...
0
votes
1answer
20 views

Autostart, detect directory and open in standard GUI

I want to detect the existence of a (directory on a) USB drive (/media/pi/Music), wait for it to appear, then open it in the GUI. Using xdg-open /media/pi/Music in ~/.config/lxsession/LXDE-pi/...
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 ...
1
vote
0answers
393 views

My Hard Drive won't mount to Raspberry Pi 3 suddenly

I built a torrentbox (HD -> Powered USB Hub [has own outlet] -> Raspberry Pi 3 Model B) and got it working but it keeps remounting after a few minutes so after checking online, I changed /dev/sda to ...
0
votes
0answers
78 views

Mounting a USB to the media folder crashes the RPi_Cam_Web_Interface camera

I am attempting to create a camera using the RPi_Cam_Web_Interface (http://elinux.org/RPi-Cam-Web-Interface) on my Raspberry Pi Zero W. On a different thread I posed the question of how to mount a USB ...
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
1answer
779 views

How to automount a USB drive

Here is how automatically mount a USB drive on boot. This way only works for one USB unless others are specified.
1
vote
2answers
656 views

Raspberry Pi is always Read-Only after installing

Model: Raspberry Pi 3 B SD: 8GB MicroSDHC For the past couple of weeks I've been stuck with my Pi not working. I've followed numerous guides. I've downloaded Raspbian Stretch With Desktop OS from ...
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 ...
0
votes
0answers
100 views

Raspberry pi creating swap before HDD is mounted

I'm currently running Plex on a Raspberry pi 3 (Jessie, debian 8.0 32bit / Linux 4.9.35-v7+). Lately I've noticed that Plex seems to be causing a great deal of Swap usage (possibly during ...
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/...
1
vote
1answer
2k views

end kernel panic error during booting

I'm using raspberry pi model B.i have write the raspberry-stretch 2017 image to sd card. but when i put it on my pi, pi show the following error end Kernel panic-not syncing: VFS: unable to mount ...
1
vote
2answers
1k views

How to detect when USB drive is mounted?

What is the best way of detecting and responding to filesystem mount events, say on /dev/sdb2? I'd like to be able to copy some of the contents of an SD card when it is inserted. I've tried using ...
1
vote
0answers
100 views

Mounted HDD formatted NTFS to Pi 3b, having some quirks

I am running a RetroPie image that downloads ROM sets directly to my Pi. As you can guess I ran out of space on my SD card. I decided to purchase a desktop hdd, seagate 3 TB with external power ...
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,...
0
votes
0answers
58 views

Multiple mount of USB Device for multiple service

I have a fat32 usb key to store all data. I want save to this pen drive data of several service: /media/pi/PENDRIVE/mycloud /media/pi/PENDRIVE/mymusic I need to access to this directory with ...
4
votes
2answers
2k views

Raspberry Pi 3 Mounting on Wood

I'm working to make a MagicMirror for my girlfriend as a Christmas gift. I've got all the programming complete, however I'm still looking at what kinda of wood I'd need for it I've got a couple ...
1
vote
1answer
106 views

Partition's size in df -h is totally different than the size in /proc/partitions

I'm using buildroot to build a custom linux system for my raspi A+. Using genimage, I've created two partitions on a 1 GB sdcard. The first partion is the boot partition. It's vfat and it is 32 MB. ...
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
0answers
98 views

How to get read and write permissions in mounted NAS [duplicate]

I mounted a time capsule share in the below manner via terminal from the Raspbian desktop. After mounting I was able to make a directory in the share using sudo in terminal. So I assume that I had ...
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 ...