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?

  • netburnr
    link
    English
    21 year ago

    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]OP
      link
      fedilink
      English
      31 year ago

      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.

      • netburnr
        link
        English
        21 year ago

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