That was a challenge!
Wake up to find my server down, so I reboot it. Boots with errors about mount. Able to login as root but filesystem is read-only. Can't go read/write, mount command is borked. Can’t fix mount command because it's read-only. Oh, and no internet because it's DNS server & router.
Downloaded Debian installer over phone as hotspot, booted rescue mode, it was able to assemble my RAID array and drop me into a shell where I was able to re-install libmount1.
#linux #sysadmin
https://mastodon.fozztexx.com/system/media_attachments/files/111/183/039/972/270/457/original/ccd4d9aead934dc0.jpeg
@905211c1 My favorite bug is the one where when you unpause it restarts from the beginning. 😩 I also don't understand why they put ▶ on the items but the ▶ button on the remote won't start something playing. I have to push ᴏᴋ.
@56923621 CP/M is very primitive and it doesn't really bootstrap itself. It's from a time when computers didn't have a ROM and it expects something else to get it loaded. Most of the time that means loading the first several tracks of the disk into RAM, not just a boot sector. It also means that you have to have the right CP/M which contains the BIOS which knows how the computer you're running it on works.
@56923621 If they are 80 track drives you *might* be able to use a Gotek with FlashFloppy or HXC so you can eliminate the drives and floppies themselves as the problem.
@56923621 CP/M is very primitive and it doesn't really bootstrap itself. It's from a time when computers didn't have a ROM and it expects something else to get it loaded. Most of the time that means loading the first several tracks of the disk into RAM, not just a boot sector. It also means that you have to have the right CP/M which contains the BIOS which knows how the computer you're running it on works.
Apparently Raley’s hired a bunch of morons to manage their internet presence. I fired up their app and it says “we have a new app, you need to login again!” But login doesn’t work. Fine, I go over to the computer to use the web site. “We don’t have a web site anymore, you have to use our app!”
@1ab62fff I do that sometimes too. Either it's enthusiasm for making some kind of fancy thing that will have "infinite re-use,” or it's because I have some idea that if I do it with computers then other people that don't have as extensive of a personal maker space will be able to copy what I've done. But all I really needed to do was grab a scrap of 2x4 and go drill a few holes in it which would take 5 minutes.
I once found myself trying to design washers "that could be any size or thickness!”
I was thinking since there's no Bluetooth keyboard support in MicroPython for the #RaspberryPiPic but there is a C bluetooth keyboard demo I'd hack the demo and turn it into an mpy module. However the mpy linker can't seem to figure out that the bluetooth stuff is built into micropython:
LinkError: build/keybt.o: undefined symbol: hid_device_request_can_send_now_event
@4e608bb8 Then don't put an extension on. Like I said, the entire point of the extension is to tell someone which interpreter to use on the command line.
To people writing shell scripts: stop putting a .sh extension on them if I can't do `sh script.sh`
The extension is supposed to tell me which interpreter I can use to run it. If you're going to get it wrong then you might as well put any other random extension on it like .py or .tcl.
Well the heck with the crazy pico-sdk! I stumbled on this page, and what do you know, it works! Slapped together a quick #Arduino sketch to use KeyboardBT and sure enough, the Pico W pairs and it types! I'd love to be able to do it in Python, but Arduino is almost as easy.
https://arduino-pico.readthedocs.io/en/latest/bluetooth.html
Notes by FozzTexx | export