SystemRescueCd – a live system that rescues data and systems
The Force Is with You
If you choose to boot SystemRescueCd, you will end up at the plain vanilla prompt shown in Figure 2 after the boot process. The live system has already logged you in as the omnipotent root user, so you are allowed to fiddle with all the knobs and dials – all the more reason to think carefully about the commands you will be running.
By default, SystemRescueCd uses the US keyboard layout, so you may want to change the layout by calling setkmap
and selecting the desired layout from the list. Note that this setting only applies to the command line.
You can launch the graphical user interface with the startx
command; this simultaneously displays the lean Xfce desktop environment on the screen. All the major graphical programs are provided in the start menu (located behind the mouse icon at the bottom left of Figure 3).
The applications under Settings set up the desktop environment and the live system. For example, the screen settings are hidden behind Display, and the keyboard layout can be changed with Keyboard in the Layout tab.
Under Accessories, you will find several text editors, which you can use to edit configuration files. Besides the classic Vim, there are also more user-friendly offerings such as Joe's Own Editor and FeatherPad. Alternatively, you will find Geany under Development, while Nano is available at the command line.
Office applications like LibreOffice or Gimp are deliberately not provided. Since the current SystemRescueCd is based on Arch Linux, you can install additional software using the pacman [5] package manager. The syntax for the search is
pacman -Ss <search key>
to install, type
pacman -S <package>
Going Online
SystemRescueCd automatically tries to connect to the Internet. In the background, the live system relies on NetworkManager. A left click on the network icon bottom right in the panel shows the active connections that you can disconnect manually with Disconnect. If required, you can set up a connection yourself by right-clicking on the network icon and selecting Edit Connections or by selecting Settings | Advanced Network Configuration from the start menu.
At the command line, you can also set up the network with the familiar tools, such as ip
or iwconfig
for WLAN connections. To do this, however, you first need to disable NetworkManager (Listing 2, line 1). Then enable the desired interface and assign an IP address using ip
; in line 2 of Listing 2, the Ethernet interface goes by the name of enp0s3
.
Listing 2
Setting Up the Network
01 # systemctl stop NetworkManager 02 # ip address add 192.168.1.101/24 dev enp0s3
The TigerVNC Viewer, which you will find under Internet below the start menu, lets you quickly connect to a VNC server.
System | LSHW lists the hardware installed on the computer, thus giving you an overview of the system (Figure 4). First click Refresh and then double-click Computer. Then double-click on the terms in the other columns to access the desired components. In this way, you can find out, among other things, which firmware is used on a device and whether Linux has detected the device in question at all.
At the command line, lshw
lists all the hardware components. You can keep an eye on the rescue system's load and active processes with Htop and Task Manager. You will find both in the start menu below System. Htop can also be called directly in a terminal window (Figure 5).
Disk-Jockeying
File systems can be easily mounted by double-clicking on the Home icon on the desktop to start the Thunar file manager and then clicking on the data carrier in the sidebar. If you mount a disk at the command line, avoid mounting it directly in the /mnt/
directory: This could crash the live system.
Instead, create a directory like backup/
below /mnt/
and then mount the disk in the /mnt/backup/
folder. ZIPs and other archives can be opened by double-clicking or using Xarchiver, which you can access below Accessories | Xarchiver in the start menu. SystemRescueCd can handle ZIP as well as many other formats, such as RAR. At the command line, you need to use command-line programs such as unzip
or unrar
to unpack the files.
One especially useful tool is hidden below System | GParted. The graphical partition editor lets you change the current partitioning or create new partitions (Figure 6). Before you call a function, first make sure that you have selected the correct data carrier in the drop-down list top right. In the list below, you will find all the current partitions; the bar chart between toolbar and list visualizes the capacity usage. Using the Partition menu, you can apply various actions to the partition currently selected in the list (e.g., changing its size with Resize/Move).
Check tells GParted to check the filesystem on the partition for faults and try to correct them. However, the tool cannot do magic and is powerless in case of hardware defects. GParted first collects all the actions you have selected. To actually apply them, click on the green check mark in the toolbar or select Edit | Apply All Operations.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.