Questions tagged [mount]

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

Filter by
Sorted by
Tagged with
-1
votes
1answer
28 views

Raspbian retains last uuid ownership at mount, but where?

The following commands give user user2 rw acces to an external usb drive : sudo mount /dev/sda1 /home/user/mnt/my_mount sudo chown user2:user2 /home/user/mnt/my_mount Command umount sets ownership ...
1
vote
0answers
31 views

Why does usb drives autmount only for pi?

Attached usb drives are automatically mounted in /media/pi/ What makes that they automount in that directory ? Obviously this is configured somewhere.. What would be the way to customize this ? ...
1
vote
2answers
92 views

Raspberry 4 usbmount not working

As the title suggests, I am having issues on the new raspberry pi 4 with buster and USBMOUNT. Well, it's not working. At 3b+ there was a similar issue, you had to edit a file and change MountFlags ...
0
votes
1answer
47 views

“Proper” way to (permanently) mount USB hard drive?

What is the proper/best way to have a USB hard drive permanently mounted? I have done this using fstab using disk label as the identifier, but when I disconnected the drive and tried to boot the pi, ...
0
votes
1answer
25 views

SMB share: smbclient works, mount.cifs doesn't

I have a Timecapsule with some USB drives attached to it. I can access it just fine from OSX. I can also access it via smbclient on my Raspberry Pi: smbclient -U foobar //192.168.1.1/drive ...
0
votes
0answers
22 views

Prevent Automount of Camera

I am about to build a photobooth with my Canon DSLR and a RasPi. Now when I plug the USB of the camera, raspbian will automatically mount it and prevent my command line scripts from using it (device ...
0
votes
1answer
111 views

Auto-mounting NTFS with usbmount gives error “Transport endpoint is not connected”

I have tried to configure usbmount to automatically mount ntfs (and other file systems, like vfat and hfsplus which all work as expected) devices. Here is my /etc/usbmount/usbmount.conf file: # ...
0
votes
1answer
73 views

kernelPanic: VFS: can't mount root fs (179,2)

Every time I install 2018-11-13-raspbian-stretch-full.img or 2018-11-13-raspbian-stretch-lite.img on my SD card and plug it in the Raspberry Pi 3 B+ device, they first time it runs fine but I am ...
1
vote
2answers
288 views

RPi won't boot after editing fstab

My Pi was working until I followed this tutorial on how to auto-mount a specific drive on RPi boot. I added the following to the fstab file: UUID="123091823" /media/pi/"Orange Passport" auto ...
0
votes
1answer
20 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
222 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
95 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
67 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
150 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
82 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
58 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
26 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
134 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
38 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
116 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
136 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
35 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
4answers
2k 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
123 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
491 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
404 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
81 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
60 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
116 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
30 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
252 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
474 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
39 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
109 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
79 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
76 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
409 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
87 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
352 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
47 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
2answers
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
300 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....
1
vote
2answers
3k 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
258 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
2k 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
193 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
3k 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
253 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 ...