Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [partition]

Partitions are individual divisions of hard disk drives. Drives may be split up in to multiple partitions, so that they act as if many drives were connected.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

I cannot boot from SD card, "BusyBox v*** (Debian *** ) built-in shell (ash) Enter 'help' for a list of built-in commands. (initramfs)"

Wanting to reinstall the Raspberry Pi OS on my RaspberryPi5 (64-bit quad-core Cortex-A76 8GB LPDDR4X SDRAM), I did the following: dd if=/dev/zero of=/dev/mmcblk0 bs=1M status=progress Then I created ...
John Smith's user avatar
0 votes
1 answer
29 views

Corrupted Micro SD on Pi 0 W (RAW partition, can't format)

I have a 256gb card and a Pi 0 W. both were sitting on the shelf for the past year until I decided to try flashing Raspbian with Pi imager and boot the Pi. I made the ssh file, plugged it in and ...
Kofa's user avatar
  • 1
0 votes
0 answers
28 views

How can [g]parted be run against a PCI SSD?

My Pi 5 boots from a Pimoroni PCIE SSD. I should like to reduce the rootfs partition to give space for a partition separate from rootfs. If the boot order is changed to "sdcard, ssd", the ...
user8150417's user avatar
0 votes
0 answers
39 views

CM3 GPT Partition Table and U-Boot

I am working in yocto currently to develop an image for my compute module boards (both CM3 and CM4) , It was my understanding that using yocto I should be easily able to switch between the hardwares ...
Aidan Moss's user avatar
0 votes
0 answers
11 views

boot partition is not mounted on boot. Filesystem is in readonly

Device:- Compute module 4 OS :- VERSION_ID="11" bullseye Storage :- eMMC 8GB RAM , 32 GB ROM It was working fine till yesterday suddenly it showed error of read only file system. $ touch a....
Vedant Sawant's user avatar
1 vote
1 answer
775 views

Update software of a Pico remotely

I'm using a raspberry Pi Pico and I'm struggling to find if it's possible to update my script remotely (I cannot use neither SWD or USB). Currently my new firmware (can be .uf2, .bin or .hex file) is ...
Bibibou's user avatar
  • 13
0 votes
1 answer
106 views

What, besides the MBR, is on the start of a Raspberry Pi OS drive?

Short version: If the MBR is only 256 bytes and the partition table is 4 bytes, what fills all the space between the beginning of the device and the start of the first sector on it? More information: ...
Tango's user avatar
  • 103
0 votes
2 answers
2k views

How can I flash Raspberry Pi OS onto a single partition of an SSD?

Context I have a 500GB external SSD whith a 32 GB partition containing an older 32-bit Raspberry Pi OS, a boot partition of a few GB and a 468-ish GB partition for data (docker volumes, photos, ...
Saaru Lindestøkke's user avatar
0 votes
1 answer
1k views

Autoexpand partition after first boot

I am using Raspberry OS for a batch of zeros, I wanted to prepare the OS one time and then flash the prepared image for the others. After flashing the OS I installed some useful things for later, I ...
Ripper346's user avatar
-1 votes
1 answer
1k views

Can I have more than 32GB on the boot sd card?

My understanding is that the card reader can handle SDXC cards (ie >32GB) but that the bootloader has a limit of 32GB. Can I get around this by having multiple partitions? The OS would only need to ...
Nigel Sharp's user avatar
1 vote
1 answer
1k views

How to expand the volume of Fedora 35 Server?

Perspectives Actually I was looking for Pi OS AArch64 but it was a beta version. It's suppose to me Fedora 35 Server AArch64 would be the best alternative of Pi OS AArch64. Actually Fedora 35 Server ...
Śhāhēēd's user avatar
1 vote
2 answers
1k views

raspi-config for CentOS (or) How do I manually adjust the size of my root partition?

I need to know how to install raspi-config on a CentOS distro. Can this be done? If not, how can I manually adjust the root partition? On every image I've downloaded for the Pi, every CentOS distro, ...
no-graspi-wheres-raspi's user avatar
0 votes
1 answer
663 views

Recover an ext4 due to the super block flag

My ubuntu 21 hanged and after rebooting, it was not able to boot up. The current message is this one. Tried to use fsck with -y and -f and none of them fixes the partition. It happened with the ...
Hola Soy Edu Feliz Navidad's user avatar
0 votes
1 answer
942 views

Use same SSD as Pi boot image and Windows/Pi file store

I’ve scoured the web and this forum for an answer to my question and came up empty. So apologies if this is answered elsewhere. I have a 1GB m.2 SATA SSD that I would like to BOTH use as my Pi boot ...
Jomolungma's user avatar
0 votes
2 answers
185 views

Memory card issues

So I have had it the piwh for a while running pihole never had any problems until recently got a memory issue. I have used the clean and autoremove and gained 28% but of a 32gb SD card it's showing 6....
J22's user avatar
  • 1
0 votes
5 answers
218 views

Is it possible to select the root partition at boot time using GPIO pins

My Raspberry PI has 2 identical (kind of) root partitions. I would like to be able to select the other root partition at boot time using a GPIO pin in case I brick it.
adrianboimvaser's user avatar
5 votes
3 answers
15k views

how to copy sd-card whithout copying the unallocated space

I have a 32Gb SD card and I want to make a light copy of my os to make it work on a 16Gb SDcard. I wanted to copy just the allocated space so I used gparted to resize my rootfs partition. after that ...
mina's user avatar
  • 377
0 votes
1 answer
251 views

Move Raspbian installation from 1st gen to 4th gen Raspi (SD card failing)

I have a Raspbian Buster install on my Raspberry Pi Model B (1st gen). The Raspi had problems with freezes and booting so I figured, it's time for an upgrade and bought a Raspberry Pi 4. Turned out, ...
Photon's user avatar
  • 145
0 votes
1 answer
125 views

Expanding boot partition for Ubuntu MATE [closed]

How do I expand the /boot_ub (Ubuntu MATE) partition? I want to upgrade to 20.04 to get some support for MATE but I can't upgrade because the partition is almost full. I tried to remove old kernel ...
Achak Claw's user avatar
-2 votes
2 answers
135 views

Why can't I SSH or Real VNC into my RPi4 after expanding the root partition to use the full 32GB sd card? [closed]

I was following the solution here to make full use of my 32GB sd card. After I hit enter to accept the default for the last sector I saw; Created a new partition 2 of type 'Linux' and of size 29.5 GiB....
Brad W's user avatar
  • 17
1 vote
1 answer
674 views

Raspberry Pi Imager sets the boot partition in read only mode

Later Edit: It seems there's an issue with the Imager on Linux Mint, although Mint is based on Ubuntu. Installing the OS using the command line as described here worked flawlessly Current setup: Image ...
Andrei Ionita's user avatar
0 votes
2 answers
1k views

Creating my own Raspberry Pi img

I have used my Raspberry Pi for a specific project, where I had to change some configuration in the Rpi, install some dependencies and create a service so it launches at boot. Now that it's all done, ...
metichi's user avatar
  • 125
0 votes
3 answers
2k views

resizing the /boot partition after no space left on device

After some errors on the many pis I manage with raspbian buster, I had some no space left on device issues and saw that the /boot partition has only 54M /dev/mmcblk0p1 43M 23M 21M 53% /boot. I ...
Philippe Gachoud's user avatar
1 vote
3 answers
3k views

How to clean up my /boot partition?

My /boot partition on my Raspberry model 3b is running low storage. I want to prevent running into feature troubles. I cant find any solution that fits my situation. Note that I'm pretty much a noob ...
Marco's user avatar
  • 21
1 vote
1 answer
5k views

Booting from SSD on Raspberry Pi

Recently got a Raspberry Pi 4, and want to configure it to boot from a SSD I have. I am new to linux, so I may not be doing this right, but I have followed instructions on several guides I found ...
bookish303's user avatar
0 votes
1 answer
175 views

Partition or not for a WebDAV?

I just set up my first Pi. it's a 4B and runs Raspbian Lite on a 32GB card. Now I have to make some strategic decisions for the future and like to ask for some opinions. I want it to run a WebDAV, so ...
pilatus's user avatar
1 vote
1 answer
459 views

Pi wont boot: Failed to start Load Kernel Module

In short, the Pi just stopped booting. I looked at the boot screen, which displayes FAILED messages: Failed to start Load Kernel Module and keeps rebooting after A start job is running for dev-...
itzFlubby's user avatar
  • 246
0 votes
1 answer
176 views

SD Card Resize on 32gb SD Card Raspberry Pi

I have a 32gb SD card in my Raspberry Pi. I'd like to make use of all the space, please can someone tell me how to resize? Disk /dev/mmcblk0: 29.7 GiB, 31914983424 bytes, 62333952 sectors Units: ...
Mark's user avatar
  • 1
0 votes
1 answer
195 views

Avoiding wearing out SD card - better to have two partitions on an external solid state drive (Raspian + storage)?

I am new to managing filesystems, but am using a Raspberry Pi 3B with a 16GB SD card, and running an InfluxDB database on there. The Pi writes a datapoint every second, to the database which is just ...
teeeeee's user avatar
  • 109
3 votes
1 answer
3k views

How to resize a partition on a Raspberry Pi image, emulated on a Mac?

I followed this guide to emulate a Raspbian image on my Mac - the only change I made was to use a Buster Lite image. The Image boots perfectly well, and I can interact with it either via the popped-up ...
scubbo's user avatar
  • 143
1 vote
1 answer
434 views

Berryboot - Raspbian + Lakka transfer files between two OS

do you know why i can't transfer some files downloaded in the Raspbian to Lakka (or another OS) instaled in a SD card with berryboot? I tried to move some roms / files from a folder when i was logged ...
Charden's user avatar
  • 13
2 votes
1 answer
471 views

Headless wpa_supplicant etc/wpa_suuplicant vs /boot

I was trying to set up a headless Raspi 3 by putting my wpa_supplicant.conf into rootfs/etc/wpa_supplicant/, but it only started working once I put it into the boot partition. I thought the OS would ...
Daniel D.'s user avatar
-1 votes
1 answer
80 views

automate filesystem expansion - booting from a USB Drive (8GB Image burned to 32GB USB)

I have an 8GB image that is burned to a 32GB USB drive. How can I automate this filesystem expansion process? Is there a script I can create to expand the USB correctly and fully? How can I find the ...
presish's user avatar
  • 35
8 votes
4 answers
26k views

How do I expand the file system on a Raspberry Pi 4 manually?

I have just flashed an image of my original 16 GB SD card (the one that comes in the Raspberry Pi kit) to a new 128 GB card. It booted up fine but when I tried to expand the filesystem using raspi-...
Jack3G's user avatar
  • 91
0 votes
1 answer
378 views

Unable to expand SD Card for RT-Linux Image created using Yocto

I am creating a minimal image for my Raspberry Pi 3b+ with an Preemptive RT Linux Kernel using Yocto Project's warrior branch. I was able to create a base image for the same (bitbake -k core-image-...
Shan-Desai's user avatar
  • 1,531
3 votes
1 answer
5k views

using linux command line to format and partition an sd card for raspberry pi

I need help understanding how to format and partition and sd card for raspberry pi 4 from linux command line please. I have downloaded an iso image for raspian light (not noobs). Question: If I am ...
Dave's user avatar
  • 43
2 votes
3 answers
1k views

How to install Jasper on Raspberry Pi 3 (Model B)?

Sorry ahead of time, I'm new to Raspberry Pi's. I am trying to install Jasper by using its guide (https://jasperproject.github.io/documentation/installation/), but I cannot seem to figure it out. In ...
Brandon's user avatar
  • 23
4 votes
3 answers
10k views

View files on a Raspbian SD Card from a Mac?

Recently, my Pi 3 broke, and I had some important files on its Raspbian Stretch SD card. I would like to get these files off the SD card without buying a whole new Pi. Does anyone know a way of doing ...
Joelvanf's user avatar
2 votes
2 answers
151 views

Why is the volume ID of the root partition of Raspbian always [7ee80803]?

I noticed that no matter which microSD card I burn the Raspbian image onto, its "identifier" is always 7ee80803. This appears counter-intuitive to be because "disk identifier" is something written in ...
iBug's user avatar
  • 315
2 votes
1 answer
206 views

Multiple /media/user/SETTINGS* directories yet only one partition

I am running Raspbian Stretch on a Pi 3 B+. One thing I noticed is that I have more /media/user/SETTINGS* than actual partitions. See, I have 3 directories: $ ls -la total 17 drwxr-x---+ 5 root root ...
Mariano Martinez Peck's user avatar
1 vote
4 answers
142 views

badly resized partition on sd card

when I installed Raspbian Stretch Lite (2018-11-13) on my 16GB SD card, with dd (dd bs=4M if=2018-11-13-raspbian-stretch-lite.img of=/dev/sdb conv=fsync) and then tried it, I quickly ran out of space ...
Velitar's user avatar
  • 13
1 vote
3 answers
474 views

Editing Pi 3 System files on SD outside Linux?

Following the Tutorial - How to give your Raspberry Pi a Static IP Address my Pi 3+ doesn't appear on network. I have no HDMI display and I am trying to restore the original /etc/network/interfaces. ...
eapo's user avatar
  • 141
0 votes
2 answers
6k views

read only Raspbian and microSD partitioning

is it true that if I set Raspbian as read only I can prevent any microSD corruption due to power faults, so that I can simply unplug the battery instead of the clean "Menu > Shutdown"? if it is true ...
Miky's user avatar
  • 171
2 votes
2 answers
3k views

How can I resize a Raspberry Pi Linux distro image?

I'm experimenting with mounting the Raspbian .img and adding code/files and then repacking. The purpose of this is to be able to create custom distros for projects (rather than making clones of the SD ...
sabjorn's user avatar
  • 21
1 vote
1 answer
458 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 ...
Will N's user avatar
  • 33
8 votes
1 answer
4k views

Netbooting multiple "workers" RPi from a "master" RPi

My question is, I believe, a little bit complex, and I think it would be better to fully describe what I have and what I want to achieve, with what I am able to do. What I have I have a group of ...
Longwelwind's user avatar
0 votes
0 answers
201 views

How to encrypt the Raspbian installation

I'm new to the Raspberry Pi. I just bought a Raspberry Pi 3 Model B and installed on a different SD card the lite version of Raspbian Stretch. But now I need to encrypt the whole partition. I want to ...
Isan Rodriguez Trimiño's user avatar
1 vote
1 answer
545 views

Is possible to make the backup and the recovery root partition from one to the other?

I have two Raspberry Pi boards. One is a (Pi 1) Model B and the other is a Pi 2 Model B. The Pi 1 Model B is a new one from my friend. I had used the Pi 2 Model B for a long time. I know the ...
jefferyear's user avatar
-1 votes
1 answer
2k views

Partition HDD in two for BerryBoot

I would like to know if it is possible to partition a hard drive in two and use one partition as a BerryBoot OS and the other as a normal external NTFS hard drive. I want to use one part of the HDD ...
Immanuel Ferdinand De Beer's user avatar
0 votes
1 answer
123 views

Partition of raspberry pi on Ubuntu 16.04

When I booted raspbian on raspberry pi, the name of partition is /dev/mmcblk0 But when I connect sd card via USB reader on Ubuntu 16.04, it shows a different name as /dev/sdc These sd cards are ...
Noki Lee's user avatar