top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How do you boot your system into the following modes, when you are in some trouble ?

+3 votes
450 views

a) Rescue mode
b) Single user mode
c) Emergency mode

posted Jul 2, 2015 by Mohammed Hussain

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Rescue mode provides the ability to boot a small Linux environment from an external bootable device like a CD-ROM, or USB drive instead of the system's hard drive.Rescue mode is provided to help you with your system from repairing the file system or fixing certain issues which prevent your normal operations.

In order to get into the rescue mode, change the BIOS settings of the machine to boot from the external media. Once the system started booting using bootable disk, add the keyword rescue as a kernel parameter or else you can give the parameter "linux rescue" in the graphical boot interface.

In single-user mode, the system boots to runlevel 1, but it will have many more additional functionalities compared to switching to runlevel 1 from other levels.

The local file systems can be mounted in this mode, but the network is not activated.

Use the following steps to boot into single-user mode:

1) At the GRUB splash screen during the booting process, press any key to enter the GRUB interactive menu.

2) Select the proper version of kernel that you wish to boot and type "a" to append the line.

3) Go to the end of the line and type "single" as a separate word.

4) Press Enter to exit edit mode and type "b" to boot into single usermode now.

In emergency mode, you are booting into the most minimal environment possible. The root file system is mounted read-only and almost nothing is set up. The main advantage of emergency mode over single-user mode is that the init files are not loaded. If the init is corrupted , you can still mount file systems to recover data that could be lost during a re-installation. To boot into emergency mode, use the same method as described for single-user mode, with one exception, replace the keyword single with the keyword "emergency".

answer Jul 6, 2015 by Manikandan J
Similar Questions
+1 vote

according to several webpages, once installed you can set the mysqld service enable and start automatically when fedora starts.

for that you must run:

systemctl enable mysqld.service
systemctl start mysqld.service

however in my case this only start mysqld service for the running time. Once computer is restarted, mysqld does not start automatically.

+1 vote

I want to execute

ethtool -s wan0 advertise 00c

at system boot, before networking comes up. The only thing I can come up with is to throw a systemd service, WantedBy=basic.target.

But wondering if there isn't anything already that runs at system boot, whose purpose is something like that. Anyone know of a better way? rc-local.service runs after network.target, that's too late, here.

...