SystemRescueCd

First Aide

Article from Issue 207/2018
Author(s):

If you accidentally delete data or format a disk, good advice can be expensive. Or maybe not: You can undo many data losses with SystemRescueCd.

The price for mass storage devices of all types has been falling steadily in recent years, with a simultaneous increase in capacity. As a result, users are storing more and more data on local storage media – often without worrying about backing it up. Once the milk has been spilled, the anxious search begins for important photos, videos, correspondence, and spreadsheets. SystemRescueCd can help in these cases by providing a comprehensive toolbox for every computer, with the possibility of restoring lost items.

The Gentoo derivative is a hybrid image for 32- and 64-bit computers that comes in just under 470MB [1]. The entire distro fits on a CD, so it is also suitable for use on older systems. To boot the operating system from a USB stick, use the commands:

$ isohybrid systemrescuecd-x86-<Version>.iso
$ sudo dd if=systemrescuecd-x86-<Version>.iso of=/dev/sd<X> bs=1M

Replace the drive information sd<X> in the copy command with the correct device name for the USB storage medium used.

Diversity

When starting the Live system, the GRUB boot manager (Figure 1) welcomes you with numerous options that include different kernels for different Intel hardware architectures.

Figure 1: SystemRescueCd offers a variety of startup options, including the ability to launch various floppy disk images.

The system can also be copied completely into main memory and operated from there, which has advantages for very old and correspondingly slow computers. To avoid problems with the graphics card, the distribution also integrates a standard VESA graphics driver. In the case of very old computer systems with 4:3 aspect monitors, the graphical user interface can also be started in SVGA or XGA resolution.

Various diagnostic tools are available for retrieval as floppy disk images, which is particularly useful if you can narrow down the cause of data loss and do not need a complete operating system with all the tools. Memtest and HDT images are available for hardware and monitoring tests without long start times.

If you suspect damage to the hard disk, start the MHDD tool from the boot manager for low-level checks of the volumes. If the target system is used in a heterogeneous environment, you can also change or reset passwords from other operating systems using the SystemRescueCd boot manager.

The default boot options (option 1 on the start screen) and directly start the graphical environment (option 6) start the system and provide the entire collection of software. Whereas default boot options opens a root console after manually setting the keyboard layout, directly start the graphical environment calls the X server after modifying the keyboard layout and then the Xfce desktop.

A number of editors are available from the console, including text-based web browser links, after manually setting up network access. To start the graphical user interface from the console, enter the startx command. After a short time, a deliberately simple and somewhat rustic-looking Xfce desktop with an open terminal window appears (Figure 2).

Figure 2: The Xfce desktop, designed for use on old computers or computers with limited resources, dispenses with frills.

Under Xfce, you can easily configure access to the Internet for various technologies, either from Settings | Network Connections or by clicking the network icon at bottom right in the panel. It is currently not possible to set up wireless access to the Internet with state-of-the-art encryption technology at the command line. You need to use a wired connection. Set up access with the net-setup <interface> call by using eth0 for the first LAN interface, eth1 for the second, and so on.

Software

SystemRescueCd software inventory is aligned strictly with the requirements of a rescue system and therefore dispenses with the usual standard programs, such as LibreOffice and Gimp. True to the purpose of the application, it is a purely Live system that cannot be installed permanently from the boot manager or the graphical user interface. If you still want to set up SystemRescueCd manually on a mass storage device, it is possible to install the system on a partition with a filesystem supported by Linux. However, you need to make a number of manual corrections. Alternatively, it works well on a Windows filesystem [2].

Although the Xfce desktop offers the usual Multimedia and Office groups in its start menu, they do not contain any software packages for everyday use. Only the ePDFViewer is stored under Office, and ISO Master and Xfburn programs are found under Multimedia. The applications in the Internet submenu are also strictly oriented toward system rescue tasks: The Firefox web browser version 52.1.2 ESR (extended support release) offers a private mode but does without preinstalled extensions. Additionally, you will find only the TigerVNC Viewer for controlling remote computers and the GTKTerm terminal.

The features in the Accessories submenu are more extensive. You can choose between the Thunar and emelFM2 file managers, and you can start up gVim as a graphical front end for the Vim editor. The Xfburn program burns optical discs, and the Bulk Rename graphical tool allows you to rename a large number of files automatically in batch mode. In addition to a process list, a simple task manager graphically displays RAM and CPU usage (Figure 3).

Figure 3: The task manager provides information about system resource utilization and running processes.

In the bar at the bottom of the screen, SystemRescueCd provides quick-start icons for some commonly used applications. In addition to the file manager emelFM2 (Figure 4), you'll find the graphical partitioning tool GParted, as well as Xfburn, Firefox, the Geany text editor, and a terminal. The System menu offers up the well-established Midnight Commander, which is an ncurses program that takes over the management of files and directories visually, simply, and efficiently.

Figure 4: The emelFM2 file manager comes with a GTK-based interface and follows in the footsteps of Midnight Commander.

Test Programs

Under Linux, you can usually troubleshoot and locate hardware problems quickly thanks to numerous test and monitoring programs. SystemRescueCd offers a useful mix of tools for the graphical user interface and the terminal. The System submenu holds not only Htop, which lists running processes and their resource consumption, but also Hardware Lister, which graphically displays the hardware components of the target system.

This inventory tool is particularly useful when it comes to checking the revision status of the components in the computer (e.g., to indicate whether you should update the firmware). The graphical user interface uses information from the Lshw command-line program, which often provides much more detailed information. The iotop tool is not directly accessible from a menu but can be started by entering the iotop command in the terminal. In the event of sporadically occurring high system load and associated high latencies, iotop can alert you to problems with individual hardware components that bury the entire system under a flood of IRQ requirements. Server administrators, especially, appreciate this small program.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus
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.

Learn More

News