A big part of learning Linux is screwing up computers and starting over.
-
Once you break it a few times, you start to understand the value of btrfs or ZFS snapshots.
What about Rsync. Does it get love? Any snapshot is good if it works. Backups are the shit.
-
My gosh this hits home. If only I could stop tweaking. It's always just this one little thing. Then another and on until it's so fucked I don't even know where to begin. But it's magical when she works.
-
Funny I did not expect so many people that resist starting over. Next time I'll give fixing stuff a shot
It is more about being lazy.
In most cases, where you havn't destroyed your filesystem, you can just boot another Linux from a USB stick, mount your filesystems to /mnt, chroot into it, and then investigate and fix there.
See the Archlinux wiki, even if you do not use Archlinux, it is great: https://wiki.archlinux.org/title/Chroot
-
Generally yes. My exception was the time i accidentally nuked python in it's entirety...
Well, that could have been fixed by booting from an usb stick, chrooting into you real system and either downloading and (re)installing the python package this way, or, if your package manager depends on python, download the package in the Live Linux and extracting the python package into your system, and then reinstalling it, so the package management overwrites your "manual installation".
Could be tedious, but less so that having to reinstall everything IMO.
-
Well, that could have been fixed by booting from an usb stick, chrooting into you real system and either downloading and (re)installing the python package this way, or, if your package manager depends on python, download the package in the Live Linux and extracting the python package into your system, and then reinstalling it, so the package management overwrites your "manual installation".
Could be tedious, but less so that having to reinstall everything IMO.
Fair, unfortunately it was a work machine that i needed operational again asap.
Luckily i image my machine monthly, so it was fairly straightforward to roll back.
-
Knock Knock Knock.
We (Jehovah's Witness) would like to know if you had a minute, so we could come inside, and talk to you about OUR Lord and Savior... Linux Mint.
Sure, ok, that's still my daily driver, it's incredibly stable (and no, it's not fucking outdated), but other than that it doesn't help so much against accidentally borking your system.
So in this context, I'm recommending @[email protected] NixOS.
-
I just spent 11 days on a dual boot repair in fstab, passwd, loads of ecryptfs, amongst other boot and login issues. Before restoring from the full system backup after getting mad to finally want to use my PC. 11 fucking days almost all day in terminal. TOO many partitions and too many folders inside of folders to get to my ecryptfs files. I got so lost LSing around.
After it all though, and it was an aneurism and a half. I still want to finish my goal and reinstall my dual boot this time correctly aiming the folders correctly.
Might help to draw it out on paper
But, when you're done, you'll be the Encrypted Dual-Boot God !
-
If you take the plunge and switch to systemd-boot it's worth it. It's the only boot manager I've tried in the last decade that feels like an upgrade from GRUB.
Maybe I'll try that next time...
I kinda feel loyal to Grub, it's been my friend for sooo looong. -
What about Rsync. Does it get love? Any snapshot is good if it works. Backups are the shit.
Snapshots let you very easily revert back to an older snapshot. They're relatively fast and lightweight.
You should have offsite backups too. Snapshots won't help if your computer catches fire, gets stolen, etc. Rsync is okay, but has a bunch of downsides:
- It only gives you a single copy.
- If the source data gets corrupted, the backup copy will also get corrupted.
- It's not safe from ransomware since the client has full write access to the rsync backup (and thus malicious code could delete the backup).
A backup solution like Borgbackup + borgmatic or restic is a better solution and solves the above issues:
- You can easily take daily backups - all the data is deduplicated so it won't take much more space (assuming you're not changing every file every day).
- Multiple backups means that if newer data is corrupted, you can just pull files from an older backup.
- Borgmatic has an append-only mode that only allows a client to add new data to a backup, and not delete any old data. This prevents the client from being able to erase the backups
-
My crippled kernel count is around 6, how about yours?
Nearly always it's been during the live USB install of a dual-boot that a distro messes with the grub or installed grub to the USB disk itself. The fault lies with me because I'm almost blindly trusting the distro, but also with the distro for lacking proper yet succinct documentation during the install or configuration of partitions.
-
My crippled kernel count is around 6, how about yours?
Not any moreso than learning any other OS. I'd just argue that it's the case if you're averse to research, reading, listening, watching, or just generally learning from others... or if you're delving into unknown territory
Personally, i'm a learn-by-doing type of lady, so I've fucked up my share of devices (I'm allergic to reading unless it's fiction), but I have yet to mess around in the kernel (it's on my todo list, for my LFS build which is TBD)
-