Questions tagged [mount]

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

The Raspberry Pi automatically mounts the boot and root partitions on the SD Card, but additional file systems (such as those on an external hard drive) may need to be mounted manually.

Common Questions

How do I connect/disconnect a flash drive from the command line?

276 questions
52
votes
5 answers

How can I mount a Raspberry Pi Linux distro image?

Normal filesystem images can be easily mounted: mount system.img /mnt Examined, and modified. But when I try this with a Raspberry Pi system image (e.g. raspbian), I get: mount: unknown filesystem type '(null)' And no matter what I try with -t,…
goldilocks
  • 60,325
  • 17
  • 117
  • 234
26
votes
7 answers

How to mount a Raspbian SD card on a Mac?

I have a running Raspberry Pi image. Now I want to do the following: Access the files on my Mac when accessing the SD Card Be able to copy the SD Card to have a clone of the current system In Disk Utility I see the partitions disk1s3 and disk1s6…
Besi
  • 1,004
  • 4
  • 14
  • 26
20
votes
3 answers

Automount various USB stick file systems on Jessie Lite

I want to be able to automount USB sticks fat32 and ntfs formatted on the fly, like hot-plugging without rebooting the my Raspberry Pi 2. I have ntfs-3g installed on jessie-lite. Putting the UUID in fstab is not an option because I'd have to find…
Ederbit
  • 501
  • 1
  • 3
  • 10
19
votes
1 answer

How do I create and mount a partition using the remainder of my SD card?

I have seen instructions for resizing the partition here, but how do I create a whole new partition using the remaining space, and then mount it?
David Sykes
  • 1,434
  • 3
  • 19
  • 28
15
votes
4 answers

How do I mount the correct drive everytime the Raspberry Pi reboots?

I generally know how to mount hard drives in a UNIX system. But I am confused with one thing. Say I have disk #1 and disk #2. I mount disk #1 with sudo mount /dev/sda1 /mnt/drive. How will I know that sda1 will be assigned to disk #1 and not disk…
StarShire
  • 287
  • 2
  • 4
  • 8
13
votes
3 answers

Setting up the Raspberry as a data logger

As the title states I'm working on a simple embedded application which reads some information from the serial port and logs it to file, in addition to displaying a bit of status on the display. I'm now at the stage the logging seems to be running…
doynax
  • 303
  • 3
  • 7
12
votes
4 answers

How to mount Time Capsule from Raspberry Pi

There is a 2TB Time Capsule on my home network (IP 192.168.0.1). How can I mount the Time Capsule's disk from my Raspberry Pi, automatically after reboots?
ohho
  • 299
  • 2
  • 4
  • 12
12
votes
3 answers

Auto mount USB stick on plug-in without UUID

So, I'm making a media center. I need the Pi to auto mount ANY USB stick I plug in. No mater what filesystem (vfat,NTFS,ext). I searched everywhere, and couldn't find anything that works. Well, usbmount partially works. I can't get it to mount NTFS…
pauliucxz
  • 489
  • 1
  • 3
  • 10
12
votes
2 answers

Raspberry Pi and read/write on NTFS with Raspbian 5/5/2015

I haven't stumbled across many recent articles or websites explaining how to get Raspberry Pi with Raspbian 5/5/2015 (and presumably later) working with an NTFS volume/drive. What is the default behavior of Raspbian? What packages do you need? Are…
YetAnotherRandomUser
  • 1,120
  • 2
  • 11
  • 34
12
votes
3 answers

How do I mount the .img files under Ubuntu?

I just downloaded the Debian and Arch Linux files and I would like to mount before I burn into the SD card. How can I mount the img? I tried to mount but I'm getting the following error: sudo mount -o loop archlinuxarm-13-06-2012.img /mnt/ mount:…
Mokus
  • 983
  • 5
  • 10
  • 19
11
votes
2 answers

How do I connect/disconnect a flash drive from the command line?

I am running Debian. I can plug in and view the contents of my flashdrive using filemanager under X, but how can I do this from the command line, and how can I safely remove it when I am done?
Steve Robillard
  • 34,988
  • 18
  • 106
  • 110
10
votes
2 answers

Mount windows share: Bad UNC

I am trying to mount a windows share using this command: sudo mount -t cifs -o username=USERNAME,password=PASSWORD \\192.168.2.12\TestShare mnt/ But it is giving me this error: mount.cifs: bad UNC (\192.168.2.12TestShare) I have also tried these…
Black Magic
  • 203
  • 1
  • 2
  • 6
10
votes
6 answers

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 from slave to shared. Well there isn't a MountFlags…
papatrexas
  • 511
  • 1
  • 3
  • 12
8
votes
2 answers

Problems with External Hard Drive - kernel: journal commit I/O error

I'm having issues keeping a 3TB USB 2.0 External Hard drive (self powered) mounted on my pi. I'm using a 1.0 A wall charger to power the pi. I'm connecting the hard drive to a powered Belkin USB hub and then plugging that hub into a USB port on the…
ndmweb
  • 201
  • 2
  • 4
8
votes
4 answers

Checking sdcard for errors, unmount problem

I've tried running running a disk check, then I got a complain pi@raspberrypi ~ $ /sbin/fsck fsck from util-linux 2.20.1 e2fsck 1.42.5 (29-Jul-2012) /dev/mmcblk0p2 is mounted. WARNING!!! The filesystem is mounted. If you continue you…
Pentium10
  • 325
  • 2
  • 4
  • 13
1
2 3
18 19