Live data from Hacker News

Raspberry Pi OS now has SATA support built-in

jeffgeerling.com

11–20 of 33 posts

Re: Raspberry Pi OS now has SATA support built-in

#11
post #3

> Sure you could always use hard drives and SSDs with SATA to USB adapters, but you [...] can't RAID them together, at least not without some hacks. Why can't you RAID them together? The kernel doesn't care; all it wants to see are block devices. I recently recovered the files off a dead NAS by plugging the drives into USB adapters, and plugging those into a Raspberry Pi. RAID array assembled just fine.

Nice file recovery. Have more details? Would be a useful blog post.

Re: Raspberry Pi OS now has SATA support built-in

#12
post #3

> Sure you could always use hard drives and SSDs with SATA to USB adapters, but you [...] can't RAID them together, at least not without some hacks. Why can't you RAID them together? The kernel doesn't care; all it wants to see are block devices. I recently recovered the files off a dead NAS by plugging the drives into USB adapters, and plugging those into a Raspberry Pi. RAID array assembled just fine.

Many applications won't allow the RAID to be set up over USB devices (e.g. Open Media Vault, IIRC), because software RAID over USB is prone to flakiness.

Re: Raspberry Pi OS now has SATA support built-in

#13
post #6

Earlier quoted context omitted.

Yes - on the rpi4s, you can enable booting from usb devices directly using raspi-config, although raspbian is only 32 bit, so I wound up having to do a weird dance of using raspbian to enable usb boot and then installing ubuntu on the drive to get a 64bit OS

FWIW Raspbian has a 64 bit version in beta https://downloads.raspberrypi.org/raspios_arm64/images/raspi... the base image is outdated but you can full-system update from that point. I'm the same way though, I just use a more typical distro unless there is something I need the standard toolset for.

Yeah, I’d seen the beta, but it looked like an early effort shortly abandoned - it didn’t inspire a lot of confidence.

Edit: although giving it a second glance, it looks like there’ve been a few updates: https://downloads.raspberrypi.org/raspios_arm64/images/

Re: Raspberry Pi OS now has SATA support built-in

#14
post #6

Has the situation around booting from a USB-drive bettered for the Raspberry pi 4? Last time I tried, I couldn't figure out how to actually make it work.

Yes - on the rpi4s, you can enable booting from usb devices directly using raspi-config, although raspbian is only 32 bit, so I wound up having to do a weird dance of using raspbian to enable usb boot and then installing ubuntu on the drive to get a 64bit OS

Note that Raspberry Pi OS also has a 64-bit beta version, and it's been extremely stable for me for months now.

Re: Raspberry Pi OS now has SATA support built-in

#15
post #6

Earlier quoted context omitted.

Yes - on the rpi4s, you can enable booting from usb devices directly using raspi-config, although raspbian is only 32 bit, so I wound up having to do a weird dance of using raspbian to enable usb boot and then installing ubuntu on the drive to get a 64bit OS

Note that Raspberry Pi OS also has a 64-bit beta version, and it's been extremely stable for me for months now.

I'll chime in that I've been using 64-bit raspberry pi OS for at least 8 months now and I haven't had any issues with it, other than a small snafu when I first tried to get Wireguard up and running but some of the base packages didn't yet support 64-bit OSes (I think?). That issue has since been fixed, I can happily report.

Re: Raspberry Pi OS now has SATA support built-in

#16

Has the situation around booting from a USB-drive bettered for the Raspberry pi 4? Last time I tried, I couldn't figure out how to actually make it work.

Be careful trying to boot 64 bit Ubuntu off a hard drive. You have to uncompress the kernel, or the boot will hang.

Re: Raspberry Pi OS now has SATA support built-in

#19
post #3

> Sure you could always use hard drives and SSDs with SATA to USB adapters, but you [...] can't RAID them together, at least not without some hacks. Why can't you RAID them together? The kernel doesn't care; all it wants to see are block devices. I recently recovered the files off a dead NAS by plugging the drives into USB adapters, and plugging those into a Raspberry Pi. RAID array assembled just fine.

Many applications won't allow the RAID to be set up over USB devices (e.g. Open Media Vault, IIRC), because software RAID over USB is prone to flakiness.

? pretty sure Open Media Vault on Raspberry Pi could setup a RAID with 2 USB hard drives, have been using it for almost 3 years.
Post reply on HN