The magic SysRq key can help you deal with a frozen and unresponsive system. It avoids doing a hard reboot along with, hopefully, avoiding potential loss of data. The SysRq key is actually a handy bit of knowledge to keep handy.
NOTE: The information in this article is for those who use the QWERTY keyboard. If you use Dvorak, AZERTY, etc., be sure to click the link in the opening paragraph because it will be different for you.
There are times when your system appears frozen but it actually isn’t. You can test this situation with the Shift Lock key. If the light (assuming you have one) comes on, the system isn’t technically frozen – it’s probably just not accepting inputs. But, if it’s so far gone that the light doesn’t change then it’s possible that this will not work.
There are all sorts of reasons why your system may appear to have halted. This article has nothing to do with that, nor is it about preventing a frozen session. It’s about using the magic SysRq key to get out of a situation where your system has stopped responding.
The purpose, at least as far as this article is concerned, is to reboot without corrupting your data. This gives you a tidier reboot that reduces the risk of data loss. It’s quick and easy to learn and memorize.
The SysRq Key:
Look at your keyboard. Look carefully. The key we’re looking for is the ‘SysRq‘ key. You may not know why it is there, and may think it has no purpose, but it’s there and there for a reason.
The key is often doubled with the PrtScr (print screen) and doesn’t get used often. It’s used in combination with the Alt. If you’re using a keyboard with an Fn, you don’t normally need to use it to perform this keyboard function. Look around your keyboard and you should find the SysRq key. It’s bound to be there somewhere!
What you’re going to learn and is ‘REISUB’. This is easy to remember, because it’s ‘BUSIER’ backwards. When your computer is no longer responding, press (and hold) Alt, while holding SysRq, and then press R E I S U B in order shut everything down properly and reboot without (or with less chance of) data loss.
You can try it right now. However, you’re going to reboot if you do so. Leave about a second between each keypress.
You don’t actually need to use all the letters. If you give zero poops about data loss, you can go straight to Alt + SysRq + B. But, that’s not giving the system the chance to perform all the shutdown processes.
If you want to (hopefully) not lose data, use REISUB. This is what those letters do:
R puts keyboard in raw mode. E sends SIGTERM (except init). I sends SIGKILL (except init). S syncs mounted filesystems. U (read-only) remount of mounted filesystems. B reboots the system immediately.
Those should reboot the system for you, after sending all the other commands. Again, it’s easily remembered as being ‘BUSIER’ backwards and you should press them immediately after one another, allowing a second between each.
Closure:
This makes yet another article in the books, and now you know how to reboot your system when it is frozen. The magic SysRq key works well enough, even though there are some situations where it won’t work. A computer can be so frozen that it’s no longer accepting any input at all. It works well up until you’ve reached that point.
Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.
Finally, an attempt to answer to the age old question: Which Linux distro is the best?
This question has been asked time and time again and debated from the moment more than one distro existed – so, pretty much since day one. It has been so hotly debated that it has caused true animosity and people rage-quitting entire sites. Some people have high conviction that their distro of choice is the best distro!
Hint: It’s not.
I’ve been using Linux exclusively for more than a decade. Many years ago, I used Unix extensively. I have dozens of virtual machines of current distros. My Linux ISO folder is 250 GB in size. If you can name it, I’ve probably installed it and used it.
I think that makes me pretty darned qualified to finally put this question to bed.
So, what is the best Linux distro?
There isn’t one.
There is No Best Linux Distro:
The best Linux distro is the one that is best one for you. It’s the distro (perhaps even plural, ‘distros’) that suits your individual needs best. The best Linux distro the one where you’re most able to get your work done, because that’s what an operating system is for. An operating system is a tool to help you accomplish a computational goal.
The best distro the one that’s suited to your personal workflow. It’s the one that makes you the most happy, and the one that best lets you use the applications you need to use. Basically, it’s the one that works for you.
You can look up Linux distro benchmarks. And can check their popularity. Or you can test them out virtually online.
You can download the images and use VirtualBox to test them for longer periods. You can download the various .iso images and test them on bare metal by using them live – without making any changes to your currently installed operating system.
But, at the end of the day, nothing beats experience.
It May Take a While:
The reality is, it may take you some time to find the right distro for you. Maybe you’ll start with something easy to install and maintain, and maybe your final destination ends with Gentoo. Who knows? Only you. Only you know.
When someone attempts to tell you the best Linux distro, what they really mean is what is best for them. That may not be the best for you. It could very well be, but you won’t know until you try. You still might not know until you’ve tried many distros.
There are many things to consider. Do you want a stable release? Maybe you want a rolling release with the most up-to-date software? Or, perhaps you want to use Aptitude or Zypper, or maybe no package manager at all? Which desktop environment do you want? What default software do you want? Which window manager is right for you? Do you want a fancy desktop or just the bare minimum? How about something in between?
TIP: You can do some really refined searches at DistroSea.
Do you want a distro that comes with just the basics so that you can add your own software? How about a distro that comes with the software you’re most likely to use? Maybe you want a specialist distro that comes with the tools you need, like Springdale Linux? Do you want to work with multimedia as a creator with Ubuntu Studio?
Then, what computer architecture are you using? Are you trying to keep your old 32 bit computer running? You can do that!
There are unique Linux distros to do all of those things!
So Many Choices:
There are many, many choices. Odds are great that there’s a distro that’s just right for you. And, if you can’t find one that’s just right, you can make your own. On top of that, you can make pretty much any distro do the same thing that another distro does. So, you can start with one distro and turn it into whatever you want.
The choices are so many and so broad that you have practically limitless choices. That’s one of the things that makes Linux so great. You have a say in what your operating system does (and what it doesn’t) do. It’s your computer, you get to decide.
And that, that’s the answer to this age-old question. There is no right distro, there’s only the right distro for you.
Me? I’m old. I want stability and an environment that gets out of my way to let me get my work done with the smoothest possible workflow. The distro that does that is the distro that’s right for me. You do you and you decide what the best distro is for you.
Most of all, enjoy the wondrous journey of discovery, as you too find the right Linux distro for you.
Closure:
This article has been pulled over from the old site. It may look familiar to some of my readers. I cleaned it up and moved it, formatting it to match the current site.
Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.
NOTE: This article was updated on 06/19/2021. NOTE: This article was updated on 05/13/2022.
Let’s try something new! Let’s take a look at a different file manager for a change. Specifically, let’s look at SpaceFM, a multi-panel file manager for Linux. It’s worth looking at and has a ton of useful features.
I figured that it’d be fun to sometimes review stuff and added the category when I was building the site. I haven’t used it until now, mostly because I had more pressing things to write. Alas, I’ve committed to write articles every other day for a year (or as close to it as I can get), so I might as well try out this review thing.
On with the article!
Wikipedia has an article about file managers, because of course they do. Simply put, it’s an application that lets you more easily manage files and directories. It’s usually a graphical application these days, but that wasn’t always true. If you’re coming from a Windows background, the Windows Explorer application was a file manager.
File managers often add other features, as does SpaceFM. Not only does it have multi-panels, it also has tabs, and more! So, let’s see how this ‘review’ thing is actually going to work. It’ll probably be a little rough, as this is the first one I’ve written for the site.
Getting SpaceFM:
SpaceFM is actually the default file manager in a few (seven, it seems) distros. It’s also almost certainly possible to find SpaceFM in your default repositories. It’s literally packaged for pretty much everything. Literally! Click the link and you’ll see that your distro is probably supported and it’s already available in your package management tools. Unless you’re using a pretty obscure distro, it’s readily available.
Given that it’s so readily available, I’m surprised that so few people use it. It’s so well documented, that I really don’t need to tell you how to install it. But, for example, you’d install it like this with Ubuntu:
1
sudo apt install spacefm
It’s as simple as that! Well, it should be. Just adjust that command for your distro’s package management tools and be sure to use ‘spacefm’ – and it’ll likely be there and installed without a hitch. If you don’t have it available in your default repositories, you can actually use a ‘net installer’ found here. It’s truly one of the most accessible programs I’ve ever seen.
One of the great things about installing SpaceFM is that you’ll also get a nice GUI SpaceFM File Search application. It’s pretty self-explanatory and it looks like this:
I use that with some regularity, as I have a whole lot of files and am not the greatest at organizing them. I find it processes the search pretty quickly, though I am not sure how well it will perform on older hardware.
Why SpaceFM:
I think a picture is worth 1000 words, or that it can be. So, let me just share a picture with you and we’ll see where we are after that. Be sure to click on the picture, as it will expand to a larger image that’ll let you see more clearly.
As you can see, I have three different panels open. It’s possible to have up to four panels. In each of those panels, you can also have tabs. If you’re looking to manage your files in a complex fashion, this is definitely one of the best tools to do it.
Helpfully, SpaceFM describes itself as this:
SpaceFM is a multi-panel tabbed file and desktop manager for Linux with built-in VFS, udev- or HAL-based device manager, customisable menu system, and bash-GTK integration. SpaceFM aims to provide a stable, capable file manager with significant customisation capabilities.
The above reasons are all pretty good reasons to at least try SpaceFM, but there’s more! See, there are also a bunch of plugins for those people that want to extend SpaceFM even further. There are plugins for GPG, bulk-renaming, auto-mount, image tools, and more! Take a look, there are quite a few!
So, what you end up with is a complete package. I realize that many folks will prefer to keep some of those things separate (the ‘Unix philosophy’), but it really does make for a light, responsive, intuitive, and effective file management package. I’m really surprised that so few people take advantage of this.
Closure:
There’s not much more to say. It’s there. Give it a try. As this is a review, I’ll rate it a solid 9 out of 10, with one point being taken off for not having an easier way to install plugins. I’ve used it extensively and never had so much as a crash and the plugins have always worked as advertised.
As mentioned above, this is my first review for the site. I made the category at the start, without really putting any thought into what it’d look like when I wrote stuff to fit that category. I’m not terribly pleased with how this one came out, but I know that I’ll try a few more things in future reviews and they’ll improve over time.
I’ve said before that the goal is an article every other day for a year, which means I’ve got plenty of time to get better! Please leave any feedback below, as I’d like to make this a regular feature. It’d be great to expose people to some alternatives – and to learn of some alternatives along the way. There’s some great software out there that’s still relatively unknown.
As always, thanks for reading. If you want to help, you know how to do so! I’ve told you this before! You can donate, register, write an article, buy hosting, rate the article, share the article on social media, leave a comment, or sign up for the newsletter! Bandwidth is again creeping up, but it’s below my new level. Again, thanks!
META: Over the past few days, the site has kinda blown up. The bandwidth allotment was shattered for the month of May – in just the last few days of the month, meaning I had to upgrade my hosting account.
Whichever of you visitors it is that has been sharing this site’s articles on Facebook and Twitter, I do appreciate it and I hope you continue doing so. The additional traffic is pretty awesome. Worst case scenario is that I’ll just keep buying more bandwidth. We’re doing okay with regards to disk space usage, but we go through bandwidth like a fat kid goes through cake!
Now on to your regularly scheduled article!
Linux Boot:
There are any number of reasons why Linux will refuse to boot property. In most instances, you can easily fix your boot with ‘boot-repair‘. The boot-repair application is a handy, mostly automated, method to get your Linux boot-up process squared away.
It may be that you installed Linux improperly, or an update has somehow broken your boot. You could have a complicated boot process that has multiple operating systems configured and that has broken. There could be all sorts of reasons why your Linux system isn’t booting properly.
It’s for this reason that ‘boot-repair’ was created. Not only does it have an automated repair process, it has an advanced process that will let you create a diagnostics report to share with your favorite support forum, where you can get help with manually repairing your system.
Because of the many variations that are involved in the manual repair process, this article is only going to cover the automated boot-repair process. There are simply too many variables and brevity is important.
With that in mind, please continue reading…
Getting ‘boot-repair’:
The first thing you’re going to need is a Linux USB or DVD. There are a couple of ways to do this, but you probably still have the media from which you installed Linux in the first place. If you do still have that, you can just boot to the live instance.
As boot-repair isn’t necessarily installed by default, you’ll need to install it. That’s going to vary and depend on your distro, but it’s easy if you have Ubuntu or an Ubuntu derivative. Just use your keyboard to open a terminal by pressing CTRL + ALT + T.
Once you’ve done that, you’ll need to add the ‘yannubuntu/boot-repair’ repository, like so:
If you’re using a modern version of Ubuntu, it will add the repository and then automatically update the database of available software. If you’re not, or if you want to be extra careful, you can simply update it yourself with:
1
sudo apt update
Next, you’ll install ‘boot-repair’. Seeing as you’re already there in the terminal, let’s go ahead and do it there:
1
sudo apt install boot-repair
Now that you have it installed, you can go ahead and open it from the menu.
Or Use the ‘Boot-Repair-Disk’:
If you don’t have any live Linux media kicking around, you can actually download a special distro that will get you sorted out. There’s a basic ‘boot-repair’ image that you can download from Sourceforge and you can use that instead.
If you’d like to download the ‘boot-repair-disk’, you can do so at this link. It’s a small distro that’s based on Lubuntu and has the tool you need for this. It also contains ‘OS-uninstaller‘ which, while interesting and handy, is beyond the scope of this article.
Once you’ve downloaded it and written it to USB or DVD (it’s just a whisker too large to fit on a CD as of the time of this writing), you can just boot to it and proceed from there. If you’re curious, it will look a little like this once you’ve booted and opened the ‘boot-repair’ application:
Repairing Your Boot:
At this point, you have booted into a live instance of Linux and you’re ready to repair your broken boot. You can just open ‘Boot Repair’ from the application menu.
Once you do that, it will take a moment to collect information about your system. This is important, as it will use that information to repair your boot. As I mentioned up above, there’s too many variables to cover with the advanced options and there’s already a solution in place for that.
So, the simple thing you now do is use the automatic boot-repair and hope that it works. It usually does the trick and it’s pretty obvious how you do it. Still, have an image, just in case.
All you need to do is push the button. Once you’ve done that, just go ahead and reboot. When you’re prompted, remove the installation media and let the reboot finish. The very next boot should be fine, as boot-repair will have done its job.
If it is not fixed, then you have a bigger problem than can be resolved automatically. In that case, click the bottom-most button and share the resulting report with your favorite support forum. Many Linux support forums have people who are used to seeing the output of boot-repair and they’ll get you sorted. If not, anyone at your favorite forum may still be able to read the information and help you get your Linux boot repaired properly.
Closure:
That’s it, really. This article only covers the automated repair. If it’s more complicated than that, it’s more complicated than a blog post and you’ll need assistance from someone who is familiar with how Linux boots.
As always, thanks for reading. Your readership and feedback make this task all the more enjoyable. If you feel like you can help, or that you want to help, just let me know and I’ll be able to find something for you to do.
Like normal, you can donate, sign up for the newsletter below, share the article on social media, leave a comment, register to help, or even write your own article. It’d also be pretty great if you unblocked the ads so that the site has a chance of making some revenue! If you have any questions, just contact me.
One of the most frequently asked questions from new people is them wondering if their hardware will work with Linux. This article will help you find out if your hardware will work with Linux.
That’s right, this article aims to tackle a frequently asked question – but there’s some limitations and wiggle-room. That’s why the title of the article contains (More or Less). It’s not 100% accurate.
The usual, and most basic way to find out if your hardware will work with Linux is to simply download the .iso you intend to use, boot to it, and test it. If it works in a live environment, it probably will work when you install it. If you needed to add additional boot parameters (like nomodeset) to run the live instance, you’re probably going to need to do the same thing when you install Linux.
That works well enough, but it doesn’t tell you anything about long-term problems. It doesn’t tell you if there’s going to be an IRQ issue many hours after booting, it doesn’t tell you if there will be some obscure ACPI errors, and it doesn’t tell you exactly how well your hardware will work with Linux.
You can do better than that. With a little effort, you can learn all about your hardware and how well your hardware will work with Linux. It’s pretty painless and easy.
Learn If Your Hardware Work With Linux:
So, the first thing you need to do is download the .iso and write it to USB or to DVD. You can also do this after the fact, with an already-installed Linux. This article assumes you’ve got a running Linux and you’re connected to the Internet.
It also assumes that you have a terminal window open. If you don’t have one open, you can probably open one by using your keyboard. Just press CTRL + ALT + T and up should open your default terminal emulator. Yes, this should work just fine even in a live environment.
The tool we want for this is ‘hw-probe’, put out by the good people behind linux-hardware.org. It is almost certainly in your default repositories and can be installed in the usual manner. For example, if you’re using a distro with apt, then it’d be installed with:
1
sudo apt install hw-probe
You’ll have to adjust the installation command for the distro you’re using. You may also need to use a root password, which will vary based on the distro.
You can also find it in Snap, AppImage, and Flatpak versions here.
Once you have it installed, you will want to run the following command (and know that you will be sharing this data with the linux-hardware.org project):
1
sudo -E hw-probe -all -upload
That will take a little while to run, but not terribly long. It will output some text similar to this:
If you follow my example URL, you’ll see that everything more or less works – but that some of the hardware has some known problems. You can click through those to learn about what sort of problems you’ll have getting your hardware to work with Linux.
NOTE: Just because there are known problems doesn’t mean that the hardware doesn’t work. You need to click through and read the results to learn what sort of problems you’re potentially going to face. In some cases, the problems only exist with certain kernels (for example) and are resolved with newer kernels. Again, you’ll need to read through and verify the data. The data is pretty accurate, but the human element means it is not infallible.
As you can now surmise, this isn’t 100% accurate. Quite often, there will be known problems but your hardware will work with Linux just fine – but maybe not at peak functionality due to an inferior driver. Be on the lookout for things like that.
What it does do is it gives you some more fine-grained information so that you can make a more informed decisions. It’s a guide, not a rule-book. At the end of the day, if Linux is up and working on your live instance, it’s probably going to work just fine when it has been installed.
Closure:
And there you have it. Another article in the books. This one helps you find out if your hardware works with Linux. If you have any ideas for articles, be sure to let me know. Don’t forget to share this article with your friends!
If you want, you can unblock ads, donate, sign up to contribute, write an article, or sign up for the newsletter below. (I should move that to the top. I’ll do that when I’ve given it enough time to see if folks respond.) Thanks for reading and there will be another article in a couple of days!