-
Notifications
You must be signed in to change notification settings - Fork 0
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
Unmounting and remounting qmk_firmware #1
Comments
@gkubed I'd suggest using a Vagrant VM setup as on the QMK ergodox_ez build instructions. Vagrant handles the mounting and unmounting of the shared folder, and makes things extremely easy to set up. I'd love to work with you to refine your tutorial to help those who want to build any of the QMK firmwares or TMK firmwares using any of the Vagrant VMs available in the Vagrantfile. I wrote the setup scripts to be as straight forward as possible, and that should handle the dependencies while still allowing users to easily follow your directions. |
@dragon788, thanks for the offer - I'd love to take you up on that, and/or even help document the existing process in qmk_firmware. When I was attempting to put my own firmware on my planck last week, I tried the Vagrant process but didn't have any luck, as there wasn't much documentation to help me out (or, possibly, I didn't know where to look). Since most of the documentation didn't include Vagrant, I decided to not veer too far off. However, if you're confident that it's a much cleaner and universal approach, I would love to include it in my documentation and help encourage it to be the standard process. There's so much great documentation out there, but it's spread out all over the place. I found JH-TMK-Tutorial extremely helpful, but it's incomplete and the sole contributor is MIA. My goal is to create a bottom to top, one page guide to get people up and running. I had installed Vagrant, already had VIrtualBox installed, and ran I'll definitely try it again |
You are absolutely right, I didn't really give much in the way of direction
|
Here is the post 'vagrant up' message that you should have seen.
Basically following those directions should get you up and going. If you have further trouble let me know. One of the things I see now looking at the Vagrantfile is we could potentially make a "show VM GUI" option easier to use rather than having it hidden in the comments of the Vagrantfile. Its tough to know what the easiest way this is for users to understand. Perhaps I should also add a message that once you are done compiling, you can exit the ssh session and run |
@dragon788, Thanks for taking your time to explain this! Ah, okay, this is where I left off. I successfully ran
I have openSSH installed in Cygwin, so I didn't think this should really be a problem. Is there any other package you suggest? At this point I bailed the first time around because I wasn't sure if this approach would work in the first place, but now you have me interested. I have PuTTY installed, and just tried to connect to I don't have CLI Git installed since I use GitHub Desktop in Windows 10. I didn't think this would be a problem because if I recall correctly GitHub Desktop is just a wrapper for the CLI, but I may be wrong. Have any ideas? I'd love to work with you to try to sort this out. |
If you can find where the openssh client is installed in cygwin and the To use the key with putty you might have to import it into pageant first
|
@dragon788 sorry for taking a long time to respond, I need to take some time to troubleshoot my Cygwin installation to see what's up. Running |
No problem, I would suggest try installing git bash which is included in
|
After running
sudo usermod -a -G vboxsf <your username>
, I said to restart the system. This isn't really necessary, as you can just unmount and remount the shared folder.The unmounting command is
sudo umount /media/sf_qmk_firmware
. This works.The remounting command is seemingly
sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) ShareName NewFolder
, where ShareName is whatever the name is when you set the shared folder in VirtualBox (In my case,qmk_firmware
), and NewFolder is whatever you want it to be. This hasn't worked for me, but returns the error/sbin/mount.vboxsf: mounting failed with the error: No such file or directory
.I'd like to get this figured out so that I don't force the user to do yet another reboot of their VM.
The text was updated successfully, but these errors were encountered: