-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Support USB booting #1575
Support USB booting #1575
Conversation
I triggered a development build with this change, I can try it on a Intel NUC booting from a S-ATA drive. I assume you tested USB boot then? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to boot fine on my Intel NUC booting from a S-ATA hard drive.
Yep, USB boot works. I tested it by running the commands manually in the boot shell. I'll try copying the boot partition from the dev build over to my NUC to see if it works too. As I was falling asleep last night, I thought of something: why not just make the glob |
What else would be able to store Let's tackle that when there is an use case. |
Well, sure, a physical disk is the only thing that could store it, but I'm mostly wondering what other identifiers (besides "usbdisk" and "disk") barebox can store at |
USB drives are mounted as
/dev/usbdiskXX
, so I changed the glob to match. I don't know if this still matches normal drives, and I don't really have the ability to test that.