News for hackers. Stuff that matters.
Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by mosselman on Sunday January 15, 2023 @03:52PM (#34393231)
Is this booting from USB or from the sd-card? I can't figure it out from the installation instructions.

If it is the sd-card then poor installation.

Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by axiomdata316 on Sunday January 15, 2023 @03:56PM (#34393277)
What is an ideal setup that doesn't use that method?
Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by mosselman on Sunday January 15, 2023 @04:07PM (#34393406)
I am not sure if I understand your question, but what I was hinting at is the reliabilty of the sd-card.

I've had several Raspberry installations get corrupted due to power outage, which the sd-card can't handle at all.

Back then I didn't get booting from SSD through a USB-Sata adapter working. I've read that it is easier now though.

What is your experience?

Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by smellstalefeet on Sunday January 15, 2023 @04:22PM (#34393562)
I just moved my Home Assistant from SD to SSD and it couldn’t have been easier. Using the USB-Sata adapter I plugged my SSD into my Mac and then used Balena Etcher to dump the HA image directly to the SSD. Plugged it into my Pi and it fired up just like it would’ve if it had imaged to the SD card. I was pleasantly surprised with how easy it was and it’s nice to have HA running off of an SSD now.
Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by andreasha on Sunday January 15, 2023 @04:31PM (#34393687)
You can clone it while running as well [0]. For speed make sure the adapter is USB3.0 and plugs into one of the USB3.0 ports on the pi and also that it supports UASP and enable trim on the drive [1].

[0] https://github.com/billw2/rpi-clone

[1] https://www.jeffgeerling.com/blog/2020/raspberry-pi-usb-boot...

Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by bornfreddy on Sunday January 15, 2023 @04:22PM (#34393561)
Read-only sd card works pretty well though in my experience. You can make it rw for upgrades and remount to ro once done. All the files which need write access (but you don't care about preserving) can be "saved" to tmpfs.
Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by Shared404 on Sunday January 15, 2023 @05:54PM (#34394551)
I'm currently using the read-only Alpine install for my Raspberry Pi based wireless AP.

Quite functional so far.

Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by ilyt on Sunday January 15, 2023 @11:43PM (#34396890)
PITA

With normal install you can just configure unattended-upgrades (on Debian at least) and mostly forget about security updates, they will just happen (can even set a schedule for reboots for kernel updates IIRC).

But IIRC boot on card + root FS on SATA or USB-SATA works just fine and you only get some writes off occasional kernel update

Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by pja on Sunday January 15, 2023 @04:23PM (#34393578)
Pi4 will boot straight from a USB drive. Given the unreliability of sd-cards this is preferable if you need a USB drive anyway.
Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by gabrielhidasy on Sunday January 15, 2023 @06:21PM (#34394782)
Mine is running from a micro-SD card (+adapter on the old boards) since... I don't know, which year did the Pi 2 came out? It's not the same Pi anymore, but I'm re-using that 8gb card ever since.
Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by megous on Sunday January 15, 2023 @06:48PM (#34394971)
Why would where this boots from matter? Linux can mount the rootfs from wherever, regardless of where the bootloader and kernel is stored. You can have /boot on sd card and the rest elsewhere on pretty much any SBC.
Re:DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 202... by johnklos on Sunday January 15, 2023 @07:16PM (#34395167)
That's a poor evaluation ;)

Almost all BSD and Linux distros can boot off the SD card and mount their root on USB attached storage. This is better than doing the permanent fusing stuff, for instance, on Raspberry Pis, and there's absolutely nothing wrong with it at all.