RT @stecman
Got tired of waiting to select which OS to boot, so I made a physical switch

@mot Holy heck that's so cool! How does the USB thingy work?

@mot so cool I get an urge to install Windows just to use it


I'll try, haha.

But this could be used within an OS, right?

@mot Pretty cool.

What happens if you flip the switch in the middle of normal operation?

@urusan I guess nothing, as it changes a FAT16 partition on an emulated USB mass storage that is only processed by GRUB in the boot process:

@urusan @mot There should be a bolt or something that prevents that.

@mot Aw dang, that's neat!

Literally less than a month ago I was struggling with setting up a dual boot, and considered building something like this for myself.

@mot whats the tweet link? curious how that works. my best guess is two SD cards...

@mot Could this also work to directly switch the cabled connection between one hard drive and another?

@matt You'd be introducing the possibility of accidentally yanking out your system drive while you're using it, possibly during boot. Seems dangerous.

@jy4m @matt
I think it should be a soft button. The controler could just check it's position at startup and then ignore it.

@nomian @jy4m I sit a long way away from my PC so the old school physical switch would work just fine. 🤪

@mot oh what a wonderful simple piece of hardware! soontaneous upgrade idea: OS-specific boot sound starting to play as soon as the machine gets powered on...

@mot This is really cool! I tried to get more into emulating a virtual file system with an Arduino (or related, like STM32), but I find that so much effort (like you described in the log). Well done!

I think the community would really benefit from being able to communicate with embedded devices via virtual files.

@mot That is so cool! Could a dial work, for more options?

@mot Could you make a small tuto out of it ? If it's only this config bit and card to buy, I kinda want to give this to friends and myself :o

@mot More positions needed for multiple distros ;)

@mot Now use one of those cool hex switches and it could be used for recovery images and such!

Sign in to participate in the conversation – a Fediverse instance for & by the Chaos community