-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Booting on a USB drive #421
Comments
I dug a bit into it, and imagine /etc/fstab needs a bit of tweaking, given that the file system mounting arguments (partition, fs types, etc) will need to change: cat /media/maxou/hifiberryos/etc/fstab /dev/root / ext4 rw,noatime 0 1 I'm trying to configure syslog to increase the log level, because logs remain empty after failed boot attempts : /var/log/** |
It's a lot more complex than this. Not just fstab, but many parts of the system needs to be adapted for this as the whole disk partitioning/update mechanism is based on the file system on SD card. Even if you get this working, the first update will break everything. |
Thanks, I was beggining to realize it would be harder than I thought. It seems a better approach might be to create my own build config, on a forked repo, so I can merge upstream releases. https://github.com/hifiberry/hifiberry-os/blob/master/doc/building.md How hard would it be to maintain such a fork ? Are we talking of a few config changes, or a major overhaul ? |
You would need to completely remove the updater for this. Try to get it working first. Once the system can directly boot from USB, we can help with the new functionality of the updater. |
I run all my Pis from SSD as I don't see the point in the SD cards and very high chance of corruption on sudden power loss (has happened to me countless times). Has any work ever been done on this? |
I have tried to get HifiberrOS to boot from a USB ssd, using a variation of this recipe:
https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb#:~:text=Launch%20Raspberry%20Pi%20Imager%20and,to%20open%20the%20next%20menu.&text=4.,us%20to%20the%20main%20menu.
It didn't work, i.e. the hifibery device web interface doesn't come online, it seems the os does not manage to boot.
Has anyone succeeded in doing this ?
The text was updated successfully, but these errors were encountered: