Rescuing Linux Systems--Generic and Distribution-Specific Safety Nets - page 2
Sending Out an SOS
Like any operating system, Linux comes with sets of utilities that are designed to automatically repair common problems when the system verifies its state as part of the boot process. Ignoring hardware failure, which usually has a simple solution, the most common types of problems that can prevent a Linux system from booting successfully are problems related to the boot process itself or self-test problems that either prevent the system from running the self-tests or from restoring itself to a consistent state.
Some classic examples of things that can induce boot problems are missing or damaged disk blocks (such as the master boot record--MBR), missing files required by the boot loader (LILO or GRUB), bad or incorrectly updated boot loader configuration information, or a bad or missing kernel.
Assuming that the kernel and boot loader files themselves are present and consistent, errors in the /boot or / filesystems can prevent the root or /boot filesystems from being correctly identified, located, or mounted. As part of the boot process for most Linux systems, the system startup scripts verify the state of a flag in the filesystem header that identifies whether the filesystem was unmounted cleanly the last time that the system booted. Most types of filesystem corruption can be handled during the boot process, but corruption that affects the system boot scripts or the fsck utility itself can leave you with a system that "almost" boots--which is a million virtual miles from one that boots successfully.
As mentioned in the introduction to this article, different types of rescue disks have different capabilities. At the low end of the rescue spectrum, some of these simply provide a boot block and kernel that lets you mount an existing and consistent root filesystem. At the high end of the spectrum are rescue disks that provide full-blown tool sets that provide replacement tools that enable you to repair almost every type of disk corruption.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: Linux 3.11, Kubuntu Goes Commercial
- 5Linux Top 3: RHEL 6.5, Debian 7.2 and EOL for Linux 3.0.x