Hot answers tagged

33 votes
Accepted

How can I mount a Raspberry Pi Linux distro image?

losetup provides partition probing through -P. Using this makes mounting partitions of a full disk image such as the Raspbian SD card image very easy: losetup -P /dev/loop0 raspbian.img mkdir /mnt/...
Johan Ehnberg's user avatar
20 votes
Accepted

Automount various USB stick file systems on Jessie Lite

After alot of research I could fix my Problem with usbmount: Adding ntfs to usbmount Install usbmount with sudo apt-get install usbmount. Install NTFS driver package ntfs-3g with sudo apt-get ...
Ederbit's user avatar
  • 501
20 votes
Accepted

How to mount a Raspbian SD card on a Mac?

Found this article -> Mount a Raspberry Pi SD card on a Mac (read-only) with osxfuse and ext4fuse, It worked like a charm. Here is the commands I ran om my mac: brew cask install osxfuse brew ...
Frank's user avatar
  • 316
19 votes
Accepted

Raspberry 4 usbmount not working

I faced the same issue with Raspberry Pi 4 and Raspbian Buster, the solution for me was to modify the following file: /lib/systemd/system/systemd-udevd.service You will see a line like this (I call ...
Greg's user avatar
  • 206
15 votes

Raspberry 4 usbmount not working

Because Raspbian is based on Debian, I suggest you to create a permanent system-specific configuration file according to the definitions as given in Debian's policies (see https://www.debian.org/doc/...
Pewpew's user avatar
  • 151
9 votes
Accepted

Correctly partition 4TB drive with enclosure using Pi

There are a few things that you need to do to get this to work. First, after physically connecting the drive, run dmesg to see the name of the node in /dev. You should find something like this: [ ...
Rab's user avatar
  • 241
9 votes
Accepted

Auto mount USB stick on plug-in without UUID

So, I found a solution that works quite well. Big thanks to avanc and his udev rule that makes this possible. I also modified it so that it could mount up to 4 flash drives at the same time (it can be ...
pauliucxz's user avatar
  • 469
9 votes

mount error: cifs filesystem not supported by the system

have you rebooted your Pi after installing the utils? I had the same issue with my fstab file and it got resolved with a reboot of my Pi.
Ziggurat's user avatar
8 votes

Auto mount USB stick on plug-in without UUID

My version based on the answer above: Systemd service Put: [Unit] Description=Mount USB sticks BindsTo=dev-%i.device After=dev-%i.device [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/...
yy502's user avatar
  • 181
6 votes

My Windows share will not mount during boot

I was having this problem too (unable to mount Windows shares at boot). I found an option in the Raspberry Pi Configuration tool that fixed my problem. 1) Start X Windows (startx from terminal shell)...
Cary's user avatar
  • 61
6 votes

How to mount a Raspbian SD card on a Mac?

Read and write Linux SD card on MacBook M1 with USB-C. Install UTM: brew install utm Run ArchLinux ARM in UTM. Plug SD card into USB-A adapter. Plug USB-A adapter into USB-C adapter. Plug USB-C ...
Ivan Rybalko's user avatar
6 votes
Accepted

Raspberry Pi 3 Mounting on Wood

Should I be concerned about any particular type of wood when working with electronics? Not really. As long as it is dry, you keep some clearance between the wood and Pi, and you do not completely ...
Ghanima's user avatar
  • 15.8k
6 votes
Accepted

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

There are mainly two reasons for the error message: 1. The partition is not of type ext2, ext3, ext4 2. You don't match the starting sector of the partition You don't need to create a /dev/loop0 ...
Ingo's user avatar
  • 41.9k
6 votes
Accepted

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

If you want to modify only one configuration file from MS Windows there is a very simple way. Default Raspbian has two partitions: one boot partition formated as fat and the root partition with all ...
Ingo's user avatar
  • 41.9k
5 votes
Accepted

Stock Pi3 - what process is auto-mounting removable media?

The auto-mounting of USB devices in Raspberry Pi is handled by the GUI/DE (as suggested helpfully by multiple folks here), which is based on LXDE, and specifically, it's controlled by PCManFM, the ...
David Bump's user avatar
5 votes
Accepted

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

Here's how to overcome this issue: sudo mount //192.168.1.250/PASSPORT2TB ~/mntPassport -o username=guest,password=,vers=1.0 That said, be aware that there appear to be some "issues" and ...
Seamus's user avatar
  • 21.1k
5 votes
Accepted

Can't mount USB drive

Ok, I fixed it. I just had to add a 1 in /dev/sda to make it read /dev/sda1.
dominic03's user avatar
  • 357
5 votes
Accepted

RPi won't boot after editing fstab

If you want to edit files on the root partition, an easy way is to download some Linux distribution (Ubuntu for example) flash it to an USB stick and boot from it. Here is a tutorial how to do it. ...
jake's user avatar
  • 1,339
5 votes
Accepted

"Proper" way to (permanently) mount USB hard drive?

using /etc/fstab is the proper way of doing this. if you do not want your system to depend on the drive on startup in case the usb drive is missing you have to set the relevant parameter / options ...
AlexOnLinux's user avatar
4 votes

How to mount Time Capsule from Raspberry Pi

Update for users of Raspberry Stretch v9. Note the addition of vers=1.0 //IPofTimeCapsule/PathWithinYourTimeCapsule /mnt/TimeCapsule cifs username=insert,password=insert,rw,uid=1000,iocharset=utf8,...
ddavila's user avatar
  • 41
4 votes
Accepted

Unable to mount external harddrive (Openmediavault)

Because you state that your Pi is the original model b and that another external hard drive also does not work I believe that you are experiencing a power issue. The original model b raspberry Pi ...
Mohammad Ali's user avatar
  • 2,383
4 votes
Accepted

How can I easily access Windows shares from the Rpi3?

Utilize Microsoft's Common Interface File System (cifs) - the core of Microsoft's LAN Manager. (You can safely skip this tech info and proceed with the steps listed below) https://technet....
SDsolar's user avatar
  • 2,328
4 votes

Raspberry Pi is always Read-Only after installing

Since it seems that your /etc/fstab is missing, you may want to fill it in with the necessary information. You'll need to manually mount the root and boot partitions first: sudo mount -o remount,rw ...
RubberStamp's user avatar
  • 1,389
4 votes
Accepted

Remove automatic mount of external HDD

The problem you have is that the manually added /etc/fstab entry is enumerated by kernel device name rather than UUID. When a block device is detected by the kernel, it is assigned a name such as sda ...
RubberStamp's user avatar
  • 1,389
4 votes

Mapping to Shared Drive on Linksys Router

Solved. I was missing leading / vers=1.0 may have helped Drive had two logical names. S-Drive wasn't working. Seagate was. Use: sudo mount --verbose -o username=John,password=********,vers=1.0 //...
Pallama's user avatar
  • 91
4 votes

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

The default names and structure for linux are defined in the Linux Standard Base (LSB). Part of this document is the Filesystem Hierarchy Standard. Herein you find the definition for /media : Mount ...
Ingo's user avatar
  • 41.9k
4 votes

RPi won't boot after editing fstab

You can repair most such problems on the Pi by rebooting to a root shell. Append init=/bin/sh at the end of cmdline.txt and reboot. After booting you will be at the prompt in a root shell. Your root ...
Milliways's user avatar
  • 58.6k
4 votes

Why can't Pi 4B read a copied back-up micro-sd card in a usb card reader?

I don't think the Pi model is a factor here. When you made your backup, did you select New partition UUIDs? If not, that's likely the problem. SD Card Copier help says this: Under Raspbian ...
Botspot's user avatar
  • 1,759
4 votes
Accepted

External hard disk disappears after a few hours

External drives are often problematic on the Pi. The root cause is probably power issues, although I have found that occasionally the drive would be in Read Only mode. It is, of course, better to fix ...
Milliways's user avatar
  • 58.6k
4 votes
Accepted

Auto mount with fstab not auto mounting

One step you may have overlooked was consulting man fstab - in other words, the system manual for creating & maintaining /etc/fstab. Even though it's a bit dated now (Feb 2015 in my bullseye OS), ...
Seamus's user avatar
  • 21.1k

Only top scored, non community-wiki answers of a minimum length are eligible