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
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.