While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- GOG launch their Preservation Program to make games live forever with a hundred classics being 're-released'
- Valve dev details more on the work behind making Steam for Linux more stable
- NVIDIA detail upcoming Linux driver features for Wayland and explain current support
- Half-Life 2 free to keep until November 18th, Episodes One & Two now included with a huge update
- Direct3D to Vulkan translation layer DXVK v2.5 released with rewritten memory management
- > See more over 30 days here
-
The Walking Dead, The Expanse and more in the Telltale …
- Liam Dawe -
Half-Life 2 free to keep until November 18th, Episodes …
- Ehvis -
Hybrid gaming controller MoveMaster has a new website, …
- furaxhornyx -
Half-Life 2 free to keep until November 18th, Episodes …
- tuxmuppet -
Half-Life 2 free to keep until November 18th, Episodes …
- Tuxee - > See more comments
- What do you want to see on GamingOnLinux?
- Liam Dawe - New Desktop Screenshot Thread
- Vortex_Acherontic - Types of programs that are irritating
- dvd - Weekend Players' Club 11/15/2024
- StoneColdSpider - Our own anti-cheat list
- Xpander - See more posts
(@Liam, we've got a Hardware forum, why is there no Software forum?)
So I bought a new SSD, size one TB, to replace my last HDD.
Just for fun I ran basic benchmarks on it to find out, to my surprise, that it's supposed to be five times faster than the existing SDDs in my system.
So now I feel the urge to move over my main system to the new SSD, bringing back an old question:
Should I (the current installation) stay or should I go?
I (being me again) started using Debian as my main system in 1998. After some troubles, I had a stable system which I ran for at least a decade, more like 1 1/2 of them. In the end, after an upgrade, I couldn't start X anymore due to a very old entry in my Xorg.conf (or was it XF86Config?) which the current Debian didn't expect. I reinstalled a fresh version of Debian and copied over my home directory.
Now, my current system might be born in 2016, I don't know for sure. It had several Debian upgrades. I guess that some stuff is just left as it is during upgrades, but would be done differently (in a more modern way) when installing a fresh system with a new version.
So, technical question: What would I be missing by copying the stuff over to the new SDD keeping the upgraded 2016 Debian system?
Philosophical question: To reinstall or not to reinstall?
Technical question again: What's the best way to do either?
View PC info
Philosophical: I think the problem with most rolling type distros like debian and others is old confs and packages. Apt won't automatically overwrite or update confs you've edited, so it's very easy for them to become stale and eventually cause problems when old stuff gets deprecated.
I would assume there are also potential problems with technology changes. I know some time ago, debian switched out MySQL for mariadb. Apt did the switch for me and removed MySQL with no issues, but I do wonder how projects that might not be drop-in would work, like Wayland instead of x11.
I would say there are two things to consider if you are thinking of copying vs reinstallation:
1) How old is the original install? Are you getting to the point where new stuff isn't working because the configuration is too old (assuming packages are up to date)?
2) How custom is your install? Do you have a bunch of modified confs in /etc or tons of stuff in www-data or opt, etc etc? How easy is it to back those up?
Technical: if you want to copy the installed system to the new SSD, it's actually pretty easy. dd does it without a hitch. I took both drives and plugged them into my desktop and dd'd one to the other. Then I used gparted to expand the partitions on the new drive (and mark it bootable). If you don't have a spare computer to plug them into, you can do it in a "live" environment off a USB stick and do the same thing. I think Clonezilla does basically the same thing but with a nice interface.
View PC info
save your fstab changes and reboot your system. disadvantages of this are that if you are using a full UEFI boot, you may have to go thru some extra fiddling to have a correct UEFI boot entry. consult da googles for more info on managing uefi boot entries with linux.
Fresh Install: probably the best way to go. Install the OS and after installation don't reboot yet. mount $OLD_DISK and copy everything from $HOME to (i'm using Ubuntu references here since that's what i'm familiar with) /target/home/$USER
THEN:
mount -o bind /dev /target/dev
mount -o bind /proc /target/proc
mount -o bind /sys /target/sys
cp /etc/resolv.conf /target/etc
sudo chroot /target
once you've chroot'ed change the ownership of everything under the $USER_HOME directory to the new system's user.
as well, while in the chroot you can do updates and install any packages you want. Also a good idea to install Nvidia drivers if you have an Nvidia GPU and use the proprietary drivers.
once that's done you can reboot into your new OS install.
KDE's database service akonadi made problems, but then, it also did the last-but-one upgrade. :-/
The new system feels fresh, but every now and then, I have to copy over something from the old system or install something that's missing (I didn't want to automatically install all packages I had on the old system either).