Uncomplicated Components Swap For OS Dualbooting, Thanks To RP2040

Dualbooting your pc can be a chore, the more switching amongst OSes you have to do – which is why virtualization or having separate personal computers are the go-to for numerous. Failing that, we have no alternative but to smooth above our dualbooting working experience with various workarounds and helpers. [William Somsky] shares a person such helper instrument with us – an elegant device designed with a RP2040-sporting TinyPICO board and a a few-way rocker switch, directing GRUB to boot into possibly Windows or Linux mechanically, or depart us with the normal boot menu. This way, you can just flip the swap, strike “reboot” and wander absent, coming back to your Laptop booted into OS of your alternative, in its place of timing your existence just so that you can capture the boot menu on time.

All you want to do is to solder a rocker change to your RP2040 board of decision, then flash the RP2040 with code that detects the point out of the swap, and produces a mass storage unit internet hosting a file location a Grub variable to either one of the , 1 or 2. [William] describes his journey, battling mysterious caching troubles, but tells us he acquired it operating in the conclude. Regrettably, [William] hasn’t shared the RP2040-side code with us, but he has at minimum place the Grub’s custom made.cfg file in the ‘Files’ portion of the Hackaday.io challenge.

Commonly available microcontrollers with mass storage features sure help make this kind of hacks basic – earlier, we’ve viewed dualboot switching like this carried out by modifying assembly code of the MBR. Dualbooting is a hacker’s rite of passage, and sure OSes of late can make it harder than other ones. Even if you don’t want to dualboot your Computer, nonetheless, you certain can dualboot an Arduino!