-
-
Notifications
You must be signed in to change notification settings - Fork 431
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
Upload file from web to remote USB disk that plug into PiKvm #1218
Comments
You can create a disk image on your machine, create whatever filesystem you need in it (likely fat32), mount it, put the file into it, unmount it and then upload it like a normal disk image to the pikvm. Look at step 2 of "Creating a simple fat32 image": https://docs.pikvm.org/msd/#writable-flash-drive I successfully used that method to flash a BIOS over pikvm without actually plugging a USB stick into the system. |
Thanks for your reply I have an usage scenarios Does that means i need to un-mount and re-create new disk image when i need to add new file to usb disk? |
With my proposed solution you would need to upload a new disk image every time, which might be too much of a hassle if you flash BIOSes multiple times every day. You could also try to mount the disk on the pikvm (writable) and scp the new bios file from your workstation onto the disk image. Not sure if it works, but worth a try. If it works, automating the process with a shell script or ansible should be straightforward. |
@KaoTuz Hello. Please help me understand your workflow and I'll figure out what can be done. It sounds super interesting. You have a test host that PiKVM is connected to, right? You are building a binary BIOS. Then you need to put it on some specialized USB flash drive, which has a utility for BIOS firmware. Then you connect it to the host, and the magic happens. Do I understand correctly? |
@mdevaev Standard Procedure to Flash BIOS
My Expected behavior of flashing BIOS via PIKvm
Due to i would build a lot of bios to testing host, so i may need to copy bios file to usb driver frequently |
I've more or less figured out what you need. I need to think about the implementation. |
Is your feature request related to a problem? Please describe.
Ans: No
Remote Web<-Internet-> --> PiKvm<-->USB Disk>--> target PC
USB disk connect to PiKvm
We want to remote flash BIOS via our flash tool in UEFI shell
so we want to upload BIOS file in to remote usb disk.
And control target PC boot into UEFI shell, then we execute flash command via usb disk
The text was updated successfully, but these errors were encountered: