22.7. Kickstart commands for system recovery
The Kickstart command in this section repairs an installed system.
22.7.1. rescue 링크 복사링크가 클립보드에 복사되었습니다!
The rescue Kickstart command is optional. It provides a shell environment with root privileges and a set of system management tools to repair the installation and to troubleshoot the issues like:
- Mount file systems as read-only
- Blocklist or add a driver provided on a driver disc
- Install or upgrade system packages
- Manage partitions
The Kickstart rescue mode is different from the rescue mode and emergency mode, which are provided as part of the systemd and service manager.
The rescue command does not modify the system on its own. It only sets up the rescue environment by mounting the system under /mnt/sysroot in a read-write mode. You can choose not to mount the system, or to mount it in read-only mode. Use this command only once.
- Syntax
rescue [--nomount|--romount]- Options
-
--nomountor--romount- Controls how the installed system is mounted in the rescue environment. By default, the installation program finds your system and mount it in read-write mode, telling you where it has performed this mount. You can optionally select to not mount anything (the--nomountoption) or mount in read-only mode (the--romountoption). Only one of these two options can be used.
-
- Notes
To run a rescue mode, make a copy of the Kickstart file, and include the
rescuecommand in it. Using therescuecommand causes the installer to perform the following steps:-
Run the
%prescript. Set up the environment for rescue mode.
The following kickstart commands take effect:
- updates
- sshpw
- logging
- lang
- network
Set up an advanced storage environment.
The following kickstart commands take effect:
- fcoe
- iscsi
- iscsiname
- nvdimm
- zfcp
Mount the system.
rescue [--nomount|--romount]Run %post script
This step is run only if the installed system is mounted in read-write mode.
- Start shell.
- Reboot system.
-
Run the