Sound technician from Spain. Late millenial. I like videogames. I use arch btw.

Trans rights are human rights

-----BEGIN PGP PUBLIC KEY BLOCK-----

mDMEagdFFRYJKwYBBAHaRw8BAQdAo2lg2ECMF1hSTnKjnMtMkXy6eST3KGyHrSpF Wc/OK/O0NnNuZWV6eWNhdCAoaGV5IGl0J3MgbWUgc25lZXp5KSA8c25lZXp5Y2F0 QDQ2NDk0MjAueHl6PoiWBBMWCgA+AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheA FiEEdnF8QKXsVOyWC1ynA1/WGRJtyMIFAmoIm+MFCQDupM4ACgkQA1/WGRJtyMIF QAD/cQUklIUyYyBqee+dPNj6iDz0YpcQNOxlyweWFlqUp1kBAJDZPRMtY9s8IBWG 9G9BAz7IKLsOIRW2M94ZVWAZLh0DuDgEagdFFRIKKwYBBAGXVQEFAQEHQOx95V/c aHsE6bxk+xTMA5rkenFy0TyMf+NpNR7vDTMlAwEIB4h+BBgWCgAmAhsMFiEEdnF8 QKXsVOyWC1ynA1/WGRJtyMIFAmoInBcFCQDupQIACgkQA1/WGRJtyMLxkgEAskD2 +KZTw4+IsccA3Cf+TY9SHmLKTWAoJ0ehN8ABvZEBAKLTBxtjtWSoDquVCbCEhCRy CZlusaSncZC6HMTbWf0G =KgI3 -----END PGP PUBLIC KEY BLOCK-----

  • 1 Post
  • 48 Comments
Joined 3 years ago
cake
Cake day: June 5th, 2023

help-circle


  • Not data corruption, but I replaced by mistake my .env file for authentik, containing the password for the postgresql database…

    Cue a couple existential crisis for not having set up backups, thinking about nuking the whole installation, learning about postgresql, and finally managing to manually set another password.

    Yeah, I feel several years older now…















  • Sneezycat@sopuli.xyz
    cake
    toProgrammer Humor@programming.devNo common rube
    link
    fedilink
    arrow-up
    31
    arrow-down
    2
    ·
    edit-2
    2 years ago

    Restarting can be a pain too.

    Recently, I decided to install arch linux on an old laptop my sibling gave to me. I’m not new to Linux, I’ve been running a debian server for a year now and I have tried several VMs with different systems. But this was my first time installing arch without a script, and on bare metal.

    Installing arch itself wasn’t that much of an issue, but there was a bigger problem: the PC didn’t recognize the pendrive for boot in UEFI mode. It seemed to work in the regular boot mode, but I didn’t want to use that. I made sure to deactivate safe mode and all the jazz. Sure enough, I could get UEFI boot working.

    I install arch, works fine, I reboot. Oops! I didn’t install dhcpcd and I don’t know how to use network manager! No internet, great!

    In my infinite wisdom, instead of trying to get NM to work, I decided to instead chroot back into the system and install dhcpcd. But my surprise when… The boot menu didn’t recognize the USB again. I tried switching between UEFI and normal boot modes on the bios and trying again, after all it appeared last time after changing it, right?

    “Oh it doesn’t appear… Wait, what’s this? No boot partition found? Oh crap…”

    Turns out, by changing the setting on the BIOS I probably deleted the nvram and with it the boot table settings or whatever they’re called. I deleted GRUB.

    Alas, as if to repent for my sins, God gave me a nugget of inspiration. I swap the USB drive from the 3.0 port to one of the 2.0 ports on the other side and… It works, first try. The 3.0 port was just old and the connection bad. And I just deleted GRUB for no reason.

    Usually, I would’ve installed everything from scratch again, but with newfound confidence, I managed to chroot into the system and regenerate the boot table or whatever (and install dhcpcd). And it worked! I had a working, bootable system, and an internet connection to download more packages.

    I don’t know what the moral of the story is I just wanted to share it :)


  • Well, the point of this is a lot of suckers forget about cancelling and it makes Adobe a lot of money.

    I don’t know where, but I read that subscription services make a lot of money from people that are paying for it but not using it, or barely using it. I guess the “free trial” is the tasty carrot dangling at the end of the stick to attract new “customers” to this fair and honorable practice of “product as a service”.