Stack Exchange Network

Stack Exchange network consists of 175 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
12 views

RPi can write to /media/pi/MyPassport, despite no external media connected

It's my understanding that the /media/ folder is for mounted/External hard drives. I have hooked up an external hard drive for storage, and was writing to /media/pi/My Passport, no issues. However, ...
0
votes
3answers
40 views

Find usb device name to unmount/eject

I have a canon camera plugged into the usb of my Pi. I want to unmount or eject it but I dont know how to find the device name to supply to the unmount or eject command. lsblk gives the following ...
0
votes
1answer
30 views

How to loop mount an iso in raspberry pi?

I'm trying to do: sudo mount -o loop ubuntu-18.10-live-server-amd64.iso /mnt/ubuntu and getting: unknown filesystem type 'iso9660' Doing a: uname -a on my pi reveals: Linux pi 4.14.79+ #1159 Sun ...
1
vote
2answers
38 views

@reboot with crontab, what am I doing wrong?

I have an .sh file located at '/home/pi/startup.sh' which I want to have running soon after bootup. I have my crontab with the following information. # m h dom mon dow user        command 17 *        ...
0
votes
0answers
40 views

Unknown filesystem type 'hfsplus' when mounting HFS+ volume on Raspbian Stretch

I am looking to mount an HFS+ volume on my Raspberry Pi running Raspbian Stretch. I have just installed the packages hfsplus hfsutils and hfsprogs. When I run cat /proc/filesystems it looks like ...
2
votes
2answers
50 views

How to copy files from an SD in a USB card reader

I have a bunch of files I'd like to send to my rpi. I have them in 2 places: 1. on my mac and 2. on a an SD card for my pi that has corruption in the kernel and won't boot. I'd like to put the files ...
1
vote
1answer
30 views

PXE - reboot if nfs root fail

I have a full working PXE server and multiple Raspberry Pi 3b+ running on read only. My problem come from an issue we can face anytime, a connection loss. If we lose connection with the NFS server, ...
0
votes
0answers
15 views

RPi Samba share not mounting on BusyBox

From RPi /etc/samba/smb.conf: [Moviez] comment=Sona Orico1 drive path=/mnt/Orico1 read only=no browseable=Yes writeable=Yes create mask=0777 directory mask=0777 force ...
0
votes
1answer
26 views

Raspbian Stretch udisks2 automount

I have installed udisks2 on a minimal Raspbian Strech image, but I can't find any doc to understand how to configure it in order to have USB automounted device. Any help?
0
votes
2answers
27 views

Mounted external drive, samba shared directory, authentication problems with win 10 viewing

I've added a line to fstab to mount external drive. proc /proc proc defaults 0 0 PARTUUID=5c32fc0d-01 /boot vfat defaults 0 2 ...
0
votes
0answers
41 views

can't see and mount usb flash drive

I have a fat32 usb flash drive that I am trying to mount on a raspberry 3b+. the flash drive works perfectly on other computer. when I connect it to the raspberry, I can't see it. I tried df -h /...
0
votes
1answer
71 views

Raspbian compile single kernel module gfs2

I'm trying my best to get GFS2 mounted on top of a dual-primary DRDB /dev/drdb0 volume on Raspbian, but I'm hitting an issue. The DRBD volume has a working stonith/fencing cluster setup using ...
0
votes
1answer
33 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
296 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
38 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 ...
1
vote
1answer
175 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
287 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
65 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
33 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
56 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
29 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
133 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
266 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
32 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
65 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
1answer
63 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
71 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
205 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
53 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
251 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
42 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
1k 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
194 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
2k 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
178 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
175 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
184 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 ...
3
votes
1answer
1k 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
224 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
1k 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
131 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
360 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
95 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
922 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
26 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
209 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
511 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 ...