Questions tagged [resize]

Use this tag if your question relates to changing the size of filesystems and partitions, such as the root filesystem on the SD card.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 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 ...
5 votes
3 answers
14k 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 ...
0 votes
0 answers
122 views

How do I change the system font size back to default?

I was playing around with my pi and i changed by font size to the max (yes i know, very dumb of me). But now, the font is so big, that i cannot apply the new fontsize through appearance. I've tried 1: ...
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 ...
-1 votes
2 answers
502 views

How to extend rootfs before booting

I installed raspbian on an sd card and then booted into a pi zero to do my required configuration and setup. I then made an .img off of this sd card which I'm planning to use in a manufacturing ...
0 votes
1 answer
568 views

Installed Raspbian and can't backup with Timeshift

I haven't seen this issue posted anywhere else. It's not the same issue. Basically, I'm installing Raspbian with a fresh install. I boot into it and am immediately low on disk space. Here's why: df -h ...
1 vote
1 answer
73 views

How can I figure out why two closely related Raspberry Pi OS image files vary substantially in size despite having nearly identical folder sizes?

I have two disk images, compressed with the xz algorithm and shrunk using the PiShrink tool, that are 669.5MB and 1.03GB respectively. The thing is, the smaller image was copied from the larger one ...
0 votes
1 answer
301 views

Shrinking image file I cant open [duplicate]

I have a certain custom Raspbian image downloaded from the internet for a project which I need to use. The file is a little less than 32 GB and I am having issues getting a card which can fit that ...
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 ...
0 votes
1 answer
358 views

Expand file system not needed anymore?

Expanding the file system on the first boot of a fresh Raspberry Pi OS (buster) - or expanding it at all - has always been under discussion and there is a lot of material out there for how to do it. ...
0 votes
1 answer
172 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: ...
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 ...
2 votes
2 answers
360 views

Determining correct image size for Raspbian backup to fit only real data on rootfs

I regularly backup my Raspi using a script that rsyncs rootfs and /boot onto a image created with losetup. This is the current branch I am working on: https://github.com/ephestione/RaspiBackup/blob/...
0 votes
0 answers
94 views

Compressing SD Cards & Kernel panic 179,6

The recent years I used a script to shrink my SD cards and then make an image from them. The good thing was it was rapid (~15min) and the image was also tiny, e.g. after a Rasbian lite installation ~2....