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 ...
19
votes
Accepted
What's the difference between UUID and PARTUUID?
On Difference between UUID and PARTUUID
You can get a few hints about the difference between UUID and PARTUUID by specifying the -p option.
blkid -p /dev/sda1
or whatever device/partition you are ...
11
votes
Accepted
how to copy sd-card whithout copying the unallocated space
Question:
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.
Answer - use image-backup
Perhaps the easiest way to do this is with the image-backup ...
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:
[ ...
9
votes
Accepted
Netbooting multiple "workers" RPi from a "master" RPi
Here is a solution with netbooting using sytemd-networkd.
Network booting works only for the wired adapter. Booting over wireless LAN is not supported 1.
It is also important that there is already ...
8
votes
btrfs root filesystem on raspbian
If btrfs is compiled as a kernel module, then you need to create an initramfs to load the module at boot. On Raspian (and other debian derivatives), update-initramfs is the easiest method to do this.
...
8
votes
Accepted
Expanding partition on SD
You can do it all on the Pi if you have SSH or terminal access, below are some notes I made when I first did it, you shouldn't lose any data if you do it correctly but as always it pays to have a ...
7
votes
Accepted
How to make an image file from scratch
It is possible to create an empty image for a Raspberry Pi. Then you can copy an operating system with a boot and root partition to it and boot. To fill the empty image you can use any usable file ...
6
votes
btrfs root filesystem on raspbian
Raspbian kernel doesn't include support btrfs by default; the initial boot stages run normally, but when the kernel loads, it won't see any filesystem which it could mount - and panics. A solution ...
5
votes
Image of a 16Gb card containing unpartitioned space at the end: Truncating possible?
I know this is an old question, but I would like to show how to do this process on Mac, because it is not as easy: fdisk doesn't have the -l option, and truncate is not installed by default:
1. Step ...
5
votes
how to copy sd-card whithout copying the unallocated space
I assume you have a 32 GB SD Card with a productive installation that should be handled save and a spare 16 GB SD Card. You want to transfer the productive installation to the 16 GB SD Card. I would ...
4
votes
Accepted
make boot disk on disk with failed sectors?
Once an SD card starts producing errors I believe it is defunct. They generally use a methodology called wear levelling (apparently often via a 32-bit ARM microcontroller) to maximize their lifespan....
4
votes
Copy current SD image to larger SD card
The following worked for me, with an SD card that was originally prepared with NOOBS. I was going from a 32GB SD-Card to a 128 GB Card.
Insert the new card into an external card reader and attach it ...
4
votes
Accepted
Can't boot after adding a third partition to sd card
After digging around some more.. I looked at the init_resize script and noticed that the disk id was being replaced in /etc/fstab.
Apparently, when a new partition is created, the disk id is changed, ...
4
votes
Accepted
Why won't my raspberryPi boot if I use parted to adjust the partition?
To summarize the comment section: we don't know why parted changes the disk identity, but can only guess (or rather speculate). Anyway, this change made by parted has the undesired side effect that ...
4
votes
Accepted
How to use external flash drive as raspberry pi 3 root storage?
You can put your filesystem on an external drive, there are instructions to use an external drive to boot your Pi. See https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md
...
4
votes
What's the difference between UUID and PARTUUID?
As I understand it.
The term UUID in general refers to a "Universally unique identifier", known in the windows world as a GUID. There are a few different schemes but for the most part modern UUIDs/...
4
votes
Accepted
using linux command line to format and partition an sd card for raspberry pi
do I still need a fat32 partition
Yes, that is required for booting. The Raspbian card layout is much simpler than the NOOBs one though; there are two partitions, one little vfat one for the boot ...
4
votes
Headless wpa_supplicant etc/wpa_suuplicant vs /boot
At boot Raspbian will copy wpa_supplicant.conf from the FAT partition containing the bootloader etc. overwriting any existing file in /etc/wpa_supplicant/ otherwise /etc/wpa_supplicant/wpa_supplicant....
3
votes
Shrinking partition for backup
You also can use tar to backup your root and boot partition. tar will backup only used space.
To backup the root partition you can use following command:
tar -cvpzf /root.tar.gz --exclude=/root.tar....
3
votes
How to mount a Raspbian SD card on a Mac?
AFAIK there's only one way to mount Extfs on a Mac and that's via Paragon Extfs for Mac
It's commercial software but they do have a 30-day trial. Works great for me.
3
votes
How to mount a Raspbian SD card on a Mac?
Download the "Apple Pi Baker App" and use this software to transfer an image to your SD card or backup an image to an image:
3
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 ...
3
votes
Dual boot for the rpi
a simple way is to use Grub for ARM.
UPDATE: It works with a help of U-boot, so the uBoot actually boots up a Grub kernel, take a look here - it's a full step-by-step guide I used when I was working ...
3
votes
Can't boot after adding a third partition to sd card
Thanks to Richard for giving this to the community. I stumbled also over this problem and was looking for a solution for hours. For those who are not so familiar here a step by step description to ...
3
votes
How to shrink the size of your sd card before using dd to backup your sd card
Working with Raspberry Pi SD cards is painful on Windows.
I suggest using a gparted Live CD (based on Linux) to modify RPi partitions. You can boot from such a disk without touching your Windows ...
3
votes
Editing Pi 3 System files on SD outside Linux?
Try booting a live CD on your laptop. That gives you a Linux system that can edit anything on any Raspberry Pi SDCard.
You can get a live CD from: https://www.raspberrypi.org/downloads/raspberry-pi-...
3
votes
How do I expand the file system on a Raspberry Pi 4 manually?
From the additional information you posted it appears you are using NOOBS (as the error message suggested).
I don't know why the Foundation continues to recommend NOOBS - the experienced users on ...
3
votes
How do I expand the file system on a Raspberry Pi 4 manually?
It is doable without a third-party computer, but is tricky. Back-up first.
You can resize the partitions with fdisk alone, by deleting them and recreating them at exactly the right locations. Write ...
3
votes
automate filesystem expansion - booting from a USB Drive (8GB Image burned to 32GB USB)
On the very first boot of a virgin Raspbian image there is running a script that you can find in /boot/cmdline.txt before booting first time. This is from Rasbian Buster Lite 2020-02-13:
console=...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
partition × 134sd-card × 58
raspbian × 39
boot × 23
noobs × 13
image × 13
filesystem × 11
storage × 10
backup × 9
usb × 8
hard-drive × 7
mount × 7
boot-issues × 6
pi-3 × 5
pi-4 × 5
linux × 5
resize × 5
ssh × 4
pi-3b+ × 4
raspi-config × 4
ubuntu × 3
windows × 3
operating-systems × 3
memory × 3
bootloader × 3