Closed ossfellow closed 1 year ago
@masoudbahar Really appreciate this. Excellent feedback. Let us chew on this for a day or two. Looks there is already a discussion in the slack too. We'd have to think through how to get Talos booting off USB and the 8GB model, but I have some ideas.
Thank you Andrew; that will be awesome. I haven't tried it personally, but I've read Ubuntu 20.10 supports USB boot out of the box, using u-boot.
Debian mentions USB boot is broken with Linux <5.7, but we have latest kernel
That’s true, as apparently the fixes are in 5.8 kernel, but the decompressed approach works well. Having said that there seems to be a better of managing all of this (boot from SD, store state on USB connected disk, as Andrew has clarified). Once I get the hint about how to do it, I’ll try it, update this issue, and also submit a documentation update PR, so others would learn the approach too.
@masoudbahar Were you ever able to document how you got USB support working on the Pi 4 8GB? I'm currently getting bitten by this and would love to know how you worked around it. I'm not so concerned with USB boot as just the ability to interface with USB disks as user disks in Talos.
That should be fixed at https://github.com/talos-systems/talos/releases/tag/v0.10.0-alpha.0
Confirmed this is fixed as of a long time ago. This issue should be closed. @andrewrynhard
Closing
I ran a number of tests to determine if the current boot solution does also support USB boot or not and here's what I've found so far:
Issues encountered:
As part of my research work, I run ML models on Kubernetes on RPI clusters, and to get the best o both worlds I'm willing to do a custom build using the decompressed kernel approach, if you could confirm that if I include the decompressed kernel, it wouldn't interfere with the Talos installation solution. If it's possible I'd post the results by early next week, for anyone, who might be interested. Talos.zip