Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. A big part of learning Linux is screwing up computers and starting over.

A big part of learning Linux is screwing up computers and starting over.

Scheduled Pinned Locked Moved Linux
linux
119 Posts 70 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dan@upvote.auD [email protected]

    Once you break it a few times, you start to understand the value of btrfs or ZFS snapshots.

    O This user is from outside of this forum
    O This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #109

    What about Rsync. Does it get love? Any snapshot is good if it works. Backups are the shit.

    dan@upvote.auD 1 Reply Last reply
    0
    • O This user is from outside of this forum
      O This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #110

      😂 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.

      1 Reply Last reply
      0
      • S [email protected]

        Funny I did not expect so many people that resist starting over. Next time I'll give fixing stuff a shot 🙂

        C This user is from outside of this forum
        C This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #111

        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

        1 Reply Last reply
        0
        • L [email protected]

          Generally yes. My exception was the time i accidentally nuked python in it's entirety...

          C This user is from outside of this forum
          C This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #112

          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.

          L 1 Reply Last reply
          0
          • C [email protected]

            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.

            L This user is from outside of this forum
            L This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #113

            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.

            1 Reply Last reply
            0
            • O [email protected]

              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.

              L This user is from outside of this forum
              L This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #114

              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.

              1 Reply Last reply
              0
              • O [email protected]

                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.

                C This user is from outside of this forum
                C This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #115

                Might help to draw it out on paper

                But, when you're done, you'll be the Encrypted Dual-Boot God !

                1 Reply Last reply
                0
                • F [email protected]

                  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.

                  C This user is from outside of this forum
                  C This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #116

                  🤔
                  Maybe I'll try that next time...
                  I kinda feel loyal to Grub, it's been my friend for sooo looong.

                  1 Reply Last reply
                  0
                  • O [email protected]

                    What about Rsync. Does it get love? Any snapshot is good if it works. Backups are the shit.

                    dan@upvote.auD This user is from outside of this forum
                    dan@upvote.auD This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #117

                    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
                    1 Reply Last reply
                    0
                    • S [email protected]

                      My crippled kernel count is around 6, how about yours?

                      arscynic@beehaw.orgA This user is from outside of this forum
                      arscynic@beehaw.orgA This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #118

                      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.

                      1 Reply Last reply
                      0
                      • S [email protected]

                        My crippled kernel count is around 6, how about yours?

                        B This user is from outside of this forum
                        B This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #119

                        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)

                        1 Reply Last reply
                        0
                        • System shared this topic on
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups