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
36 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
25 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
34 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
38 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
29 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
177 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
56 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
140 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
91 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
380 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
129 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
87 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
0answers
481 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
1k 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
116 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
604 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
465 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
93 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
194 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
80 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
319 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
19 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
108 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
359 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
74 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
65 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 ...
0
votes
1answer
611 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
534 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
319 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
93 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
154 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
1k 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
837 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
82 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 ...
0
votes
0answers
95 views

Problems mounting a Time Capsule

I followed the instructions on how to mount Time Capsule from Raspberry Pi (How to mount Time Capsule from Raspberry Pi) and I keep getting the message "Permission Denied". I have double checked the ...
1
vote
2answers
369 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
52 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
98 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
913 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
62 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
422 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 ...
1
vote
0answers
375 views

Having issues trying to connect to Windows 10 Share folders with Pi 2

First off, I'd like to state that I'm not a complete noob when it comes to Linux, in general. I just haven't worked with it as my primary OS and my interaction with it has been on and off so I'm a ...
0
votes
1answer
337 views

how can I repair unrecognizable sd card

This SD card has Kali loaded for Raspberry pi 3. Some how I corrupted sd card by editing config.txt file in windows 10 machine, after then sd card was unrecognizable by neither machines windows or ...
0
votes
3answers
173 views

What is the SETTINGS directory in /media and how can I get rid of it?

I have a Raspberry Pi 3 running Raspbian. It's my first one, so please forgive a lot of ignorance. I used NOOBS to install the system, which seems to have left its micro SD card littered with various ...
0
votes
1answer
383 views

“Transport endpoint is not connected” after a few seconds?

I set up a RPi as a SMB server with the official Raspbian jessie image (not lite). I installed samba and ntfs-3g for this purpose. The problem is whenever I start or reboot the RPi, after a few ...
1
vote
0answers
695 views

mmcblk0p1 is not mounted during boot

I have a Raspbian Jessie installation where mmcblkp01 is not mounted. During boot I see this message on the console: start job running for `dev-mmcblk0p1.device` Eventually this times out and I am ...
0
votes
2answers
443 views

NTFS USB device seen, but not the partitions

I have a Toshiba 1TB USB external drive attached to a Raspberry Pi running: VERSION="7 (wheezy)" The USB device is seen. It is creating a /dev/sda. However, I can't mount the partition as the ...
1
vote
1answer
2k views

mount error: cifs filesystem not supported by the system

I have a raspberry pi Zero W and a raspberry pi 3 both with a lite raspbian jessie image. I am trying to connect them both to the same NFS share and I get this error: pi@studypi:/mnt $ sudo mount //...
4
votes
1answer
769 views

Raspberry Pi Zero As A Mountable USB Stick?

Is it possible to format a Raspberry Pi Zero to automatically mount as a hard drive when plugged into a computer via USB? If so, are there any available tutorials or resources to help me achieve this?