Movatterモバイル変換


[0]ホーム

URL:


How-To Geek logo

How I Make Hopping Linux Distros Easy and Painless

System configuration of the Kubuntu Focus Ir14 Linux laptop.Credit: Hannah Stryker / How-To Geek
4
By Jordan Gloor
Jordan started writing technology guides in 2020, but his technology and writing experience extends far and wide. As a kid, he learned object scripting through the MS-DOS game engine ZZT, and he later taught himself the basics of Python programming. He's repaired his own smartphones, hosted home cloud servers, and revived old computers with Linux.


Prior to getting started at How-To Geek, Jordan published articles forMakeUseOf about Linux commands, free and open-source software, and online privacy. Beyond technology, he's also professionally written on agriculture business forOzarks Farm & Neighbor, edited proposals for non-profits, and presented at a writer's conference on superheroes and culture.


Jordan earned a bachelor of arts in English in 2016, and he's coached college students on writing effectively and utilizing education technology. He also wrote and edited product descriptions for an e-commerce store for four years.


These days you'll find Jordan hosting movie streaming simulcasts with his friends over Discord, building VR-ready gaming PCs, or reviewing the latest Wi-Fi routers. You can follow him onMastodon.
Sign in to yourHow-To Geek account
Summary
follow
Follow
followed
Followed
Thread6
Here is a fact-based summary of the story contents:
Try something different:

If you've been reading much of my work, you know I switch Linux distributions (also called distros) a lot. Distro-hopping involves completely overwriting an operating system, and I've been asked how I do that without pulling my hair out. Let me explain.

The answer, in part, is that I do not have much hair left to pull, as you might astutely observe by the headshot in my author biography. That's not all though; I've also developed several habits to make complete OS transitions simple and minimize the time between wiping the hard drive and humming along with my PC work and entertainment.

Keep a Password Vault on a USB Drive

Flash drive plugged into the front USB-A port on a Synology DS425+ NAS.-2Credit: Jordan Gloor / How-To Geek

Any time you set up an operating system, one of the first things you're going to need to do is sign into your accounts. Ubuntu Desktop usually prompts you to sign in to your online accounts at first startup. Digging up your passwords is a pain, though.

If you have an online password manager, you're a bit limited in that, first, you typically need your preferred browser already installed to get to it. Second, depending on your setup, you may need to complete multi-factor authentication to access your passwords.

The PNY Duo Link V3 USB-C/A Flash Drive.Credit: PNY
PNY Duo Link V3
How-To Geek logo
9/10
Brand
PNY
Capacity
256GB, 512GB, 1TB, 2TB

The PNY Duo Link V3 flash drive offers both USB-C and USB-A plugs. With USB 3.2 Gen 2 speeds, you can expect up to 1,000MB/s read and 800MB/s write speeds from this flash drive. Coming in 256GB, 512GB, 1TB, and 2TB storage sizes, this all-metal flash drive makes it easy to bring large amounts of fast storage with you anywhere.

Speed
1000MB/s read, 800MB/s write
Connection
USB-C/A
Portable
Yes
Warranty
2 Year

My solution is to just make a small collection of mission-critical passwords stored in a KeePass vault and keep it on a USB flash drive I keep handy. I'm also able to skip the step of installing KeePassXC to open the vault with by addingthe KeePassXC AppImage to the USB drive. SinceAppImages are portable, there's no installation; I just make the file executable and run it. Then, my most important passwords are at my fingertips.

Keep Important Files Synced From the Cloud

Nextcloud interface on a laptop screen with two Raspberry Pi devices in the background.Credit: Jordan Gloor / How-To Geek

Using the log-ins from that password manager, my next step is to sign in to my cloud storage service and sync files. I keep work and other important files synced across devices this way. I use a self-hosted Nextcloud instance, but you can also use Google Drive or ownCloud. Once I'm logged in, I select the folders I want synced to the device (including my full password vault) and wait for the download to complete.

Of course, to log into that cloud service you need to know your password. Remember, having a portable password vault with key setup passwords flash drive is great for this. You could also put your important files on that drive, but you probably don't want anything sensitive stored in unencrypted storage.

New Desktop? Print a Cheat Sheet

Your experience of Linux can vary drastically depending on what desktop environment (DE) the distro your hopping target uses. When I switch to a new DE, one of the most important aspects is its shortcuts. I need to know what to press and how my workflow is going to change with this DE. This is especially the case with a window manager where mouse usage is usually downplayed.

Laptop with the Linux terminal open.
8 Ubuntu Tips and Tricks for First-Time Users

Become an Ubuntu power user in no time.

3

Fortunately, many people out there have made cheat sheets, which you can search out online. Some developers even make them available, like theofficial i3 reference card.

If you're new to using keyboard shortcuts, it's helpful to have someone walk you through them and learn how useful they can be. I've made a list of theuseful Kubuntu shortcuts, plus another list ofsome advanced Kubuntu shortcuts for your reference.

New Package Manager? Get the cheat Command

A cheatsheet for the sed command displayed in the Linux terminal.

Desktop environments aren't the only drastic change you might encounter when hopping distros. You also might face a change in terminal-based package managers. Especially in the case of pacman and yay's cryptic flags, you're going to want to be prepared so you don't accidentally issue the wrong command.

To get used to any package manager as well as a host of other common commands, I recommendinstalling the cheat utility. It gives you a collection of example commands without the technical explanations and textbook approach ofman pages.

Backups, Backups, Backups

Of course, if you're overwriting an operating system with your distro-hop, backups are always crucial. Iuse the program Back In Time to easily copy my entire home folder onto an external drive. Then, after installing the new distro, I restore the files I want to my new home folder.

The software configuration files located in places like /home/$USER/.config are probably the most important. That way, when you install software you consistently use across distros, you don't lose all the tweaks and settings you've made over the years on your original distro.

Be Ready With a List of Apps You Use

A person's hand holding a Sabrent external SSD drive in front of a Linux laptop.Credit: Jordan Gloor / How-To Geek

Speaking of installing software, a simple list can be a great way to make distro hopping easy, especially if you're comfortableinstalling software from the Linux terminal. Before hopping distros, go through the software you have installed, either by pouring over your application launcher or the results of a command like this:

apt list --installed

Take note of everything you definitely want to use on your next distro. Write each down in a text file with its package name, ideally.

With that list saved and backed up with your other files (or maybe on that USB drive), you can open it post-hop and start downloading software with it. The cleanest way to do this is to just issue one package manager command to install them all. For example, on Ubuntu or an Ubuntu-based distro, I'd issue this command to install a bunch of useful apps:

sudo apt install keepassxc libreoffice btop nextcloud-desktop steam lutris

The nice thing is that I don't have to check first if the apps I'm trying to install are pre-installed or not. APT will skip over them if they are. Most package managers work this way too; just list the package names following an install command and each one will be installed if it can be.

The PNY Duo Link V3 flash drive sitting on a wooden table with both the USB-C and USB-A ports visible.
Why I Stopped Flashing USB Drives and Use Ventoy Instead

Say goodbye to the frustrations of constantly reformatting USB drives.

46

The unfortunate thing is that the reliability depends on which distro I'm using. Not all distros share the same repositories, and the same application may have different package names between repositories—or it may not exist at all. Be sure to watch the output of the command and note when APT or whatever package manager you're using runs into an issue.


If you feel more confident about distro-hopping now, I recommend you check outhigh performance-ready Linux distros or, on the opposite end of the spectrum,lightweight distros for low-resourced hardware.

Follow
Followed
Share
FacebookXWhatsAppThreadsBlueskyLinkedInRedditFlipboardCopy linkEmail
Readers like you help support How-To Geek. When you make a purchase using links on our site, we may earn an affiliate commission.Read More.
A MacBook surrounded by a gear symbol, a shield, an iCloud icon, and a password dots bar.
I made my Mac more secure by changing these 5 settings
A Chromebook keyboard with the search button as the center focus.
These 5 Chromebook tips save me tons of time in Google Docs
Two Linux penguins, one cheerful with a 'Love' button, the other confused with a 'Hate' button.
5 reasons people give up on Linux (and why it’s time to come back)
See More
The back of the OnePlus 15 sitting in grass and leaves.
The OnePlus 15 can finally be sold in the U.S.
A replacement battery for a Kindle third generation eReader.
It’s time to admit you can swap out internal rechargeable batteries yourself
Several smartphones arranged diagonally on a blue geometric background, each displaying a simple home screen with a solid black wallpaper
Black is the new best wallpaper for your phone
See More

[8]ページ先頭

©2009-2025 Movatter.jp