Welp, I just apt purge'd damn near everything except the kernel. How's your Friday going?
-
My first adventure in Linux back in 2003. No idea how I achieved this, but from memory I just reinstalled and all was well.
i for one welcome our grub bootlorders
-
I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?
In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?
I overwrote my ssh private key with rsync. Fortunately I had special cron job running on my servers that updates ssh keys on a server with ssh keys from my github account, so I just had to upload a new key to the github and wait for a few hours.
-
I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?
In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?
Can i just reinstall to my root partition and have my home partition work as expected?
Yes, but you might have to muck around with
/etc/fstab
. The reason is because when you install to your root partition, the installer will create a new /home in that root partition. (Unless you have an installer that's smart enough that you can tell it otherwise.)You should be able to mount the partition in any case, but to have the system recognize it as /home it has to be properly set up in fstab.
-
I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?
In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?
If you are trying a new install go for something with timeshift or Silver Blue, OpenSUSE snapshotting. You can trash the whole setup, then reboot to the previous state. A catastrophic failure becomes a 1 minute fix.
-
I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?
In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?
If you don't mess with the partitions during the install and don't format, and make the same username, you should be back to normal after a reinstall. Take a backup offline, of course.
-
I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?
In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?
Nice day to move to nixos
-
If you don't mess with the partitions during the install and don't format, and make the same username, you should be back to normal after a reinstall. Take a backup offline, of course.
wrote on last edited by [email protected].
-
Nice day to move to nixos
OP mentioned having used Linux for 4 weeks. If they are interested in learning more about Linux, I feel like even Arch would be a better next step.
I love NixOS and have been using it for over a year at this point but sometimes when things don't work I feel like I'm banging my head against a wall. I've been using Linux for ~7 years now.
-
My
pacman -Syu
crashed on my old laptop and at this point I might just reinstall it, this time putting on some sort of a snapshot solution on it like on my main laptopBtrfs with pre and post pacman-triggered snapshots. Only had to use it once, but it was very smooth.
-
Btrfs with pre and post pacman-triggered snapshots. Only had to use it once, but it was very smooth.
yeah, that's how I roll there
-
I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?
In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?
Lol Nvidia has quiet the reputation in the Linux world. Keep at it though. We all make mistakes.
-
I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?
In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?
Last week I accidentally overwrite my configuration.nix file. If you use NixOS this should fill you with horror. If you don't, that file contains a description of your entire system -- all the packages as well as many settings tweaks to anything from GUI apps to core kernel & systemd options.
I have now learned my lesson and started using git to track my changes. Happily I had already split out the most difficult to reproduce sections into their own files (mostly networking stuff), so it wasn't that catastrophic, but it still turned a few minutes of tinkering into a couple hours of forehead-smacking.
-
Nice day to move to nixos
See my top-level comment; even if they're ready for the complexity, it doesn't protect you from a similar mistake!
-
I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?
In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?
the truest form of Linux, without all the GNU bloat, well done!
-
I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?
In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?
Couple days ago I accidentally removed a package, not fully understanding what would happen. Ended up logging out thinking nothing of it. Couldn't log back in as there were zero sessions available. Also, for some reason a huge on-screen keyboard kept popping up a lot when I'd click on the login panels things.
I am very grateful my distro came with Timeshift by default and that I had a backup from the day before to fix everything. Also glad Rescuezilla allowed me to install Timeshift and restore.
Doesn't matter who you are or what you believe, it's definitely a rite of passage to break your system once. That is something I'll always agree with.
-
I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?
In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?
D'hoe...
-
I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?
In all seriousness, now that I understand better these commands that I've been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?
I'm not clear what you've done here, but I've never played with the purge command. I take it you removed a lot of basic packages. How did it happen? Wildcards?
-
the truest form of Linux, without all the GNU bloat, well done!
I'd like to interject here...
-
I really need to learn how to do that. I installed SuSE something on my laptop and selected that file system but couldn't find how to do the snapshot stuff. I'm sure I'm just dumb, but also exhausted, and mentally drained.
You might want to look into Snapper: https://documentation.suse.com/smart/systems-management/html/snapper-basic-concepts/index.html
Booting from snapshots has pulled my chestnuts out of the fire a few times--between using a rolling release distro as my daily driver, and NVIDIA graphics not always behaving well in conjunction with that.
-
I accidentally interrupted a system upgrade, breaking networking and package manager, among other important bits
I did that. Since I had everything backed up to my nextcloud, I just pulled the Debian USB out of my backpack and razed what was left. Rebuilt on the rubble.