this post was submitted on 13 Dec 2023
9 points (90.9% liked)

Raspberry Pi

889 readers
1 users here now

Welcome to the programming.dev Raspberry Pi community!

Raspberry Pi is a series of small single-board computers. It is widely used in many areas because of its low cost, modularity, and open design. It is typically used by computer and electronic hobbyists.

Rules

Members of this community are expected to exhibit mature and respectful behavior.

Those who fail to uphold these standards may find their posts or comments removed, with repeat offenders potentially facing a permanent ban.

Please keep discussions in English so that they can be appropriately moderated.

Links

founded 1 year ago
MODERATORS
 

Hi, question for the group.

I have a pi zero 2 running the lite OS suggested by the imager. I’ve been able to create a RAID with 2 240gb SSD on the usb port. Even during a peak read/write stress test, the power draw for the whole system doesn’t exceed 800ma.

Anyhow, ideally I would like to boot from this volume and elimante the SD card completely, but have been stopped by not even being able to boot with the root set to the RAID and the boot dir still on an SD. I can get it to boot when /usr and / var are on the raid

Has anyone any insights on different things to try? Perhaps even a good reason this can’t work would free me from this fools quest so my project can advance?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 11 months ago (1 children)

You have to put /boot partitions on each drive, and boot to one. If the drive fails update grub to use the 2nd drive to boot.

[–] [email protected] 3 points 11 months ago (1 children)

ahh, if I understand you correctly, you mean make separate /boot partitions and the raid partitions on each drive. Only the raid partitions are part of the RAID volume. I get you, I was finding hints out there that booting from a raid wasn't really possible, but I see how this works around that since the boot partition can have an bootable filesystem.

Worth a shot. It won't be till tonight that I can try that solution, but I'll report back on the result. Much appreciated.

[–] [email protected] 2 points 11 months ago

Yes, boot can't be a raid partition, make it ext3 or ext4. Install grub on both