Lecture
If your system does not boot for any reason, it may be useful to load it into recovery mode. This mode only loads some basic services and takes you in command line mode. Then you are logged in as root (superuser) and can restore the system using command line tools. When booting in recovery mode does not work, you can still use the installation CD (if it is a live CD)
Select the line that starts with " Advanced Options ." "Advanced options"
Select a line ending in "(recovery mode)" " (recovery mode) ", possibly repeating the line, something like:
Linux, Ubuntu GNU / Linux, with Linux 3.8.0-26-generic (recovery mode)
After a few seconds, your workstation should display a menu with many options. One option (you may need to scroll down to the bottom of the list) would be Drop to root shell prompt ". Press Return on it
The root partition is mounted read only. To mount it for reading / writing, enter the command
mount -o remount, rw /
If you have / home, / boot, / tmp, or any other mount point on a separate partition, you can install them with the command
mount --all
(This should be done in the next step 8, so / etc / mtab is writable.) In addition, you can try to select "Enable networking" in step 7, although this was determined to cause the system to hang (see https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/981792).
Note 1: When rebooting, there is no need to hold down the Shift key, in step 3. The GNU GRUB menu will still be displayed automatically on every boot until the normal launch of Ubuntu is complete. To configure GRUB, a menu is always displayed, even after a normal launch, see https://help.ubuntu.com/community/Grub2/Setup.
Comments
To leave a comment
LINUX operating system
Terms: LINUX operating system