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

The file system is the way an operating system organises its data on the storage (usually non-volatile, like an SD card) available to it.

0
votes
0answers
17 views

Why isn't my USB drive listed in /dev/block?

I plugged a USB drive into my Raspberry Pi and am trying to find it in /dev so I can mount it and use it. It doesn't appear to be listed in /dev/block. It's a headless Pi that I'm controlling from ...
0
votes
1answer
27 views

Netboot raspbeery pi with nfs server different filesystem

I'm trying to netboot some Rpi 3B+'s, I have it working if I put the nfs server on another rpi, but if I use the same configuration, just put the nfs server on a Centos machine with xfs file system, I ...
1
vote
0answers
24 views

wine on exagear fail on libc6_2.19-18

have installed exagear but when wine try to unpack this still block me: for solving i try this on /bin/bash in the guest image /opt/exagear/images/debian-8: sudo dpkg -i libc6_2.19-18+deb8u10_i386....
0
votes
0answers
91 views

How to make incremental backups from Raspberry Pi SD-Card on Windows?

I'm using Win32 Disk Imager to make backups from my SD-Card, but Win32 Disk Imager can only make full backups, that's using too much disk space.
0
votes
1answer
142 views

How does any file system REALLY work on a Raspberry Pi SD card?

I am surprised by the large amount of data I'm writing to the root partition in a Raspberry Pi. My applications and system logs are not writing that much. I use the usual tricks to reduce it. What's ...
1
vote
1answer
99 views

Detect an SD card that became read-only

Recently my SD card died, becoming permanently locked in a read-only state. I realized it a few weeks after the fact, when I saw that files I would create disappeared after a reboot. Of course, all ...
1
vote
1answer
28 views

Naming images from camera with time so that they don't overwrite

I'm working on a project which will use a PIR motion sensor to take a photo of the room, also triggered by the PIR sensor. I'm using the PIR sensor for something else at the same time, so I'd rather ...
1
vote
0answers
29 views

My Pi seems to be duplicating my USB stick in the file manager

I formatted my USB stick and called it STORE-1 But after some time, File Manager showed me this: Before it was SETTINGS and STORE-1. Now access is denied to STORE-11 and STORE-1 and I can only use ...
1
vote
1answer
64 views

Why is there unpartitioned space on my SD card?

First off, I'm running Rasbian with NOOBS. I was following a tutorial on creating a new partition here: How do I create and mount a partition using the remainder of my SD card? And I started ...
1
vote
1answer
119 views

Files not saving even with flush

I have a program that is intended to log the incoming data from a sensor. The sensor is reporting at 200 hz and needs to be logged at least that fast so there are no lapses in data. It is important ...
1
vote
3answers
40 views

RPi 3 kernel without VFAT support

I am building a very compact Linux kernel for my RPi 3. I have stripped a lot of features from the kernel. The current kernel size is around 4 MB. Currently I only have ext4 and vfat FS enabled. I ...
0
votes
1answer
61 views

What encryption to choose for secure directory on USB Storage? [closed]

I need to choose encryption tool to secure my USB stored files, and I'm stuck with tools like VeraCrypt, ecryptfs or dm-crypt. The task is to encrypt folder or virtual disk that could be mounted as ...
0
votes
0answers
24 views

Expand file sytem only to certain size of sd card

Is it possible to expand the file system only to a certain amount? I guess everyone is familiar with the following problem: You start with for e.g. an 8 GB sd card. Expand the file system and when ...
1
vote
0answers
37 views

My Raspberry PI hangs after searching for files on the SD card

Strange issue here: when performing simple file search under "/" or issuing du command on large folders, my RPi's OS dies and needs hard restart. For example: * find / -name "index.html" * du -s /usr ...
0
votes
2answers
308 views

overlay filesystem

I am trying to install a overlay filesystem, in order to make the sd-card read-only. I've used this script: https://github.com/janztec/empc-arpi-linux-readonly It ran without errors, and it has ...
0
votes
1answer
52 views

Syncing to SD Card is too slow

I'm writing some bytes to the filesystem. Afterward I'm calling sync to ensure the buffered data is flushed to the SD card. This command takes several seconds! I'm working with raspbian. My SD Card ...
0
votes
0answers
18 views

Is it normal that sync() from unistd.h takes multiple seconds

When a user performs some setup via a Web GUI, I'm calling sync() to ensure the setup changement is immediately saved to the SD Card. (I'm doing this because the user sometimes switches off the power ...
0
votes
2answers
57 views

Should I change the installation directory for apt?

I was recently attempting to update some files using apt-get and was given an out space error. I then realized everything was being installed to the boot partition which is only 40mb (on a 32gb card). ...
0
votes
0answers
31 views

Help recovering files on Raspbian from a former WD MyBook World Edition II (Linux file system)

With my Mac I used to backup .jpg and .NEF (Nikon raw files) on a WD MyBook World Edition II network drive. After a few months I was not using it, I discovered it was not working anymore. On the WD ...
0
votes
1answer
379 views

Dependency failed for File System Check on /dev/disk/by-partuuid/5cxxxx

I'm trying to move my root partition onto a SSD. It is a PI1. I know the Pi(1 and 2, at least) cannot boot directly from USB (and I'm not interested in doing that anyway, I would only load the ...
0
votes
0answers
27 views

All 110GB of MicroSD card used after fresh raspbian install

I'm running into some weird issues on my Raspberry PI. After flashing raspbian stretch light image using Etcher i noticed some weird behaviour. After running sudo df -BG i ran into this: Filesystem ...
0
votes
0answers
37 views

My Rasberry Pi 3 Plex server wont detect external NTFS drives

I am pretty new to the Raspberry Pi world and don't have a lot of Linux experience. I got a Pi 3 kit and installed Plex but It will not detect any NTFS drive in plug in. I have tried several different ...
0
votes
1answer
161 views

Copying files to usr/local in Raspbian

I have been trying to install Opencv following the instructions given in this link [https://github.com/manashmndl/FabLabRpiWorkshop2017/wiki/Painless-OpenCV-in-Raspbian-Stretch] I need to copy files ...
0
votes
2answers
619 views

Extend Root Partition Failure (Kali + RPi 3b+)

I have recently built a Raspberry Pi 3b+ with Kali Linux for the Pi (https://images.offensive-security.com/arm-images/kali-linux-2018.2-rpi3-nexmon.img.xz). I have unpacked and dd the image onto my ...
0
votes
2answers
44 views

modified files on boot partition being reset after first boot

I am trying to perform a headless setup of a raspberry pi zero W, which involves creating some new files in the boot partition of the SD card before putting it into the pi (wpa_supplicant.conf and ssh)...
0
votes
1answer
38 views

What can Cause Duplicate File Names?

As you can see below, I somehow have duplicate file names. I'm not sure if the files themselves are duplicate. Any idea how this can happen? The PI is running Raspbian Jessie.
0
votes
0answers
71 views

apt-get upgrade not working anymore

I'm trying to reinstall Raspbian Stretch Lite version to make a fresh install on my Rpi 2 B. I use to follow the every same steps everytime I do this; sudo raspi-config //to expand file system ...
1
vote
1answer
346 views

/tmp has been reported to be read-only filesystem

Environment: Up to dated rasbian. pi@raspberrypi:/etc $ cat os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=...
-1
votes
1answer
79 views

How to export a Linux instance from VirtualBox to a plain text filesystem?

For example, Raspberry Pi images can be "burned" to an SD card from an image file that contains a simple plain-text file tree that is the Raspbian (a Debian sub-flavor) filesystem (e.g., as discussed ...
0
votes
4answers
1k views

how to create a bootable image for Raspberry Pi

I need to create a bootable image like ***.img for a SD card. At the moment I am doing something like this: dd if=/dev/zero bs=512 count=1 seek=SD_CARD_SECTORS of=boot.img sfdisk --force --no-reread -...
1
vote
1answer
126 views

Why does Rasbian start the boot partition at 8192?

It seems the boot partition can start at 2048 based on reading, although I haven't validated it (yet) and wonder if its related regarding compatibility? Taken from the export-image/prerun.sh fdisk -...
0
votes
0answers
63 views

/dev/root suddenly switches to be mounted read-only

I installed raspbian stretch light and encountered problems similar to Command apt-get upgrade crashes Raspbian in that it crashed, for example, when I wanted to install emacs. So I decided to just ...
2
votes
1answer
533 views

Why are the /boot partition from Raspberry Pi and a EFI system partition (ESP) both formatted as a FAT32 partition? [closed]

I understand that each processor has its own specific way of starting. Fact is that both of them (RPi and UEFI boot) need a small FAT partition to boot, both around 100MB. Is there any reason for ...
0
votes
1answer
29 views

Will linking the clock file to an in-memory file lower the wear on the SD card?

I use systemd-timesyncd, which writes a status (probably) to a file at every synchronization. As the Arch documentation mentions, The service writes to a local file /var/lib/systemd/clock with ...
0
votes
0answers
50 views

how to live update info from a programme to libre office

my question is about how to live update cpu temp info to libre calc. thank you if you can answer my questions now i need to close and restart libre calc every time to get my cpu temp info updated the ...
3
votes
1answer
267 views

Preventing Stretch from expanding filesytem on boot

How does one prevent Stretch from expanding the file system at boot time ? When you flash the new Stretch image (september 2017) on the SD card and boot the first time, it auto expands the file system ...
0
votes
1answer
36 views

More files than I need? [closed]

Sorry if any of this comes across as uninformed etc, I'm normally on stack for code at work but I have a pi at home which I've only used for media up till now. I'm trying to put RetroPie on it as I'...
0
votes
1answer
495 views

Trying to force OpenELEC to keep HDMI on, but fs is readonly

My question is like this one: How do I force the Raspberry Pi to turn on HDMI? , except for OpenELEC and not Raspbmc. Basically I have a homemade media center Raspberry PI 3 with OpenELEC/KODI ...
0
votes
1answer
40 views

Use USB as power only, no filesystem access on external device

I have a USB powered dash-cam that runs off a normal cigarette lighter for its power. I have a use for my car to run a raspberry pi and I wanted to use the pi to power this camera. I have written ...
-3
votes
1answer
127 views

Can't mount raspberry after I've burn raspbian [closed]

Given: So, I have an 8 GB sd card. TODO: Get raspbian Solution: First I delete the partition: Command (m for help): d Selected partition 1 Partition 1 has been deleted. After i've created a new ...
1
vote
2answers
2k views

How to use external flash drive as raspberry pi 3 root storage?

What I want to be able to do is make my raspberry pi use my 1TB Flash drive as the root file system drive for raspberry pi so I can run everything trough it. I want to do this because my current SD ...
1
vote
1answer
597 views

Read-only SD card and file system in RAM

There are number of articles about mounting SD card read-only, but I only found info, that if needed to write something, first of all you have to remount file system as readwrite. My question is there ...
1
vote
2answers
431 views

Speedup boot process

Is there a way to find the boot process detail, the image takes more time to boot. The following command shows kernel takes more than 2 minutes and userspace takes more than 1 minute. How can we ...
2
votes
3answers
682 views

Raspberry Pi B+ - Cannot Expand File System Screen

I bought a raspberry pi B+ model about a year ago to get into raspberry pi projects and it worked perfectly fine after installing Raspbian. I had done a project to drive a car over IP through an app, ...
0
votes
1answer
2k views

Raspbian Stretch read/only

My system is based upon Raspbian Stretch and has three partitions: boot (fat32) rootfs (ext4) home (ext4) I don't have a lot of background services, just samba, ssh, lighttpd. I'm looking for a ...
1
vote
2answers
207 views

Updating to Raspbian 9 leading to errors using PWM (wiringPi)

A few days ago I updated my Raspberry Pi (Rev. 3) to the new Raspbian 9 (based on Debian "Stretch"). Everything went fine but when I tested some of my own tools I recognized a strange behaviour ...
1
vote
0answers
43 views

Arabic/Persian file names of a fat32 file system displayed as question mark

The Arabic/Persian names of files that created on a fat32 file system flash drive,in windows, displayed as question marks in Raspbian. Ubuntu has no problem with fat32 name encoding. So the question ...
1
vote
1answer
310 views

Disable filesystem expand during boot for Ubuntu Server 16.04

I am attempting to get a sub-4gb image to retain its image size on my rpi regardless of the sdcard size. I am looking at using the ubuntu server image built by Ryan Finnie ubuntu-16.04-preinstalled-...
0
votes
2answers
38 views

How do I synchronise my Raspberry Pi File System to a directory on my Mac?

Is there a way to keep my RPi File System in sync with a directory on my Mac? Can I do this with rsync? (I write most code on the RPi, and would like a copy of it on my Mac, in case I corrupt the SD ...
0
votes
0answers
167 views

Password managers on usb drives for raspberry pi 3

If I use a password manager to store all passwords including my password for the pi itself. Does any type of text file or folder get created and stored anywhere on the raspberrypi..or only on the usb ...