Questions tagged [recovery-mode]

Questions about using and getting tasks done with the command line recovery mode.

In case a system fails to boot for some reason, recovery mode can be used to boot into the system (sometimes a quicker alternative to using a CD/DVD etc. for recovery operations). This mode just loads some basic services and gives a command line mode and tasks can/will be done as root (the superuser). System repair can be done using command line tools.

391 questions
95
votes
1 answer

How do I boot into a root shell?

When booting to the graphical desktop fails we sometimes are recommended to boot into a "root shell" or to boot in "recovery mode". How do I do that?
Takkat
  • 144,580
16
votes
1 answer

Cannot lock '/etc/group' in recovery mode

I've currently booted into recovery mode, because I removed my sole user from admin :/ When I run adduser oadams admin, I get gpasswd: cannot lock /etc/group; try again later. For what it's worth, ls /etc/ | grep "lock", returns only mtab.fuselock,…
oadams
  • 1,341
15
votes
2 answers

Unable to mount filesystem as read-write in recovery mode

I deleted two unused user accounts. Now I am unable to login even into my own account. I rebooted in recovery mode in the root shell and tried to restore the back-up of /etc/passwd. However, the filesystem is read-only! I can only access root shell…
Louis
  • 263
12
votes
2 answers

fsck e2fsck: Cannot continue, aborting

When I tried to run fsck on Ubuntu 18.04 recovery-mode I got the following message. Can anyone tell me why? /lib/recocery-mode/recovery-menu: line 80: /etc/default/rcS: No such file or directory fsck from util-linux 2.31.1 /dev/sda4 is…
10
votes
1 answer

How to connect to internet from recovery mode?

I am working on a kernel panic issue. As Ubuntu is very reliant on internet, I am currently investigating how to connect to internet when choosing recovery mode. Even in my healthy 11.10 system it doesnt work (nor wireless, nor wired). I ticked for…
dago
  • 2,384
10
votes
1 answer

How to boot to the recovery mode if it is not listed in Grub?

I want to boot Ubuntu into recovery mode but there is no grub menu entry allowing me to do so. I pressed e and now I am able to edit boot options. It looks like that: setparams 'Ubuntu , with Linux 3.6.0-26-generic' recordfail gfxmode…
q9f
  • 1,261
  • 4
  • 18
  • 30
10
votes
1 answer

Ubuntu 12.04 recovery mode root shell has no internet connection

I'm debugging some things on my computer and I boot into recovery mode from the grub menu. Then it gives me a bunch of options on what to do next, and I select the one that drops it to a root shell. However, apt-get complains about not being able to…
9
votes
1 answer

Reset root password for Ubuntu 16.04 - recovery mode asks for root password

We've lost the root password from our file server from supermicro server. I tried to follow the common instructions to reboot with left shift and drop to root shell as it is described in this answer. When I choose root in this menu: Ubuntu still…
zlon
  • 229
9
votes
2 answers

Black screen during boot after TTY1 login

I've got a weeks-young install of 13.04 (3.8.0.29) and the computer has been powered on for a week. I turned it off for the night and now it freezes during boot. I have already checked this seemingly mandatory post as well as this one but I…
9
votes
2 answers

How to boot to root shell when GRUB recovery menu fails to load a shell?

Can't seem to boot into root shell in recovery mode from GRUB. I try booting into recovery mode from the GRUB menu and don't ever get a shell, just log messages from the kernel bootup. Ctrl+Alt+F1-F12 don't really give me anything important either.
Naftuli Kay
  • 4,344
9
votes
2 answers

Why am I only able to boot ubuntu from recovery mode?

Basically I've tried dual-booting ubuntu with windows 10 and when I try to boot ubuntu I get stuck with the message: /dev/sda8: clean, 201385/4890624 files, 2235266/19531008 blocks - I am able to then press alt+f2 to login get to the following…
NicLovin
  • 203
8
votes
1 answer

Need to deactivate NVIDIA driver from recovery mode or using Ubuntu 12.04 install disk

I tried switching graphics drivers from 317 to 304(post-release) because it kept crashing when I wanted to move my monitor's display to the other side of the laptop display (using NVIDIA Settings) Now Ubuntu won't boot at all. It just crashes and…
dspyz
  • 600
8
votes
2 answers

How to fix one existing Ubuntu installation from another

I have two partitions on my PC, each with Ubuntu 20.04 installed (separately). One of them has gone south, something related to graphics drivers and maybe also the bootloader. Is it possible to change things for the malfunctioning version from the…
Axel Lieber
  • 409
  • 1
  • 5
  • 14
8
votes
3 answers

What are the standard file permissions for the /etc directory(file)

I kinda screwed up the /etc directory by running: sudo chmod 417 /etc Leaving me unable to use sudo: sudo: can't open /etc/sudoers: permission denied. sudo: no valid sudoers sources foundm quitting Ive been trying to fix it via recovery mode but…
Joeri
  • 81
7
votes
3 answers

USB device connecting and disconnecting repeatedly

I was having some problems booting into Ubuntu. After trying to reboot for sometime, I eventually opened the 4.4.0-31 recovery mode. while it was booting into recovery mode, it said that /dev/ubuntu-gnome-vg needs to fsck manually. While this was…
1
2 3
26 27