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

Questions tagged [mount]

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

0
votes
1answer
25 views

What problems can occur when unplugging a (sync'd) USB drive?

I want to know if there are any specific technical reasons for not just unplugging a USB drive that is still mounted, provided: 1) All open files on the stick have been written to and closed 2) The ...
0
votes
3answers
46 views

How to edit Raspberry Pi files from SD card on Windows machine?

I am distributing multiple Raspberry Pi OS images, all images are almost identical, the only difference is that there is one file /usr/MyFolder/MyFile.txt which content is different for different ...
0
votes
0answers
22 views

How to mount Apple Time Capsule to Raspberry Stretch version 9

Tried to update related article but closed to members with less than 10 merits. So, this isn't a question. Instead, it's an update to article below. How to mount Time Capsule from Raspberry Pi Had ...
0
votes
1answer
55 views

sda2 is not on SD card. Don't know how to expand

I created image of raspbian jessie on 32GB memory card using dd command. sudo dd if=/dev/disk3 of=~/os_images/raspbian_jessie.img bs=1m then I used etcher tool to flash that image to the 120GB SSD, ...
1
vote
1answer
164 views

Can't mount USB drive

My USB drive won't mount! When I try to mount it using this command: sudo mount -t vfat /dev/sda /media/BackupUSB -o rw,umask=0000 it would just say that it is already mounted or in use, but it ...
2
votes
2answers
45 views

Using /mnt vs /media for Transmission storage on external hard drive

I was wondering if it makes a difference to mount an external hard drive at /mnt vs /media. I'm making a Transmission seedbox using an RPi 3b+, and different tutorials are suggesting different things....
1
vote
2answers
26 views

Mounting of USB drive within rc.local works only until I log-in

This worked prior to current upgrade. Here's my rc.local (fragment): date > /tmp/rc.log sleep 20 mount /dev/sda2 /mnt/sg3t/ df >> /tmp/rc.log sleep 10 df >> /tmp/rc.log after login, ...
3
votes
1answer
36 views

Mapping to Shared Drive on Linksys Router

I have a 2 TB Seagate drive on my Linksys WRT1900AC router USB. I can access it as a network drive on my Windows 10 PC and as an ftp site when I'm remote. I'm trying to access it on my RPi 3B+ ...
1
vote
1answer
28 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
61 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
95 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
31 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
1answer
40 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
35 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
53 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
66 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
91 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
48 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
185 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
40 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
719 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
126 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
1k 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
133 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 ...
1
vote
1answer
1k 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
164 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
149 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
910 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
186 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
1k 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
926 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
113 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
308 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
86 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
737 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
23 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
177 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
450 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 ...
2
votes
1answer
73 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
944 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
912 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
500 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
125 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
199 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
2answers
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
124 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
569 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
62 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 ...