Questions tagged [rescue-mode]
The rescue-mode tag has no usage guidance.
34
questions
0
votes
0
answers
44
views
systemrescue: testdisk doesn't find huge amount of deleted files
i accidently deleted a huge folder structure of my data on my notebook and emptied in a foolish manner my trash-bin without looking at the ~20GiB of data!
My last (dirvish-) backup was a few month ago,...
0
votes
0
answers
63
views
Restoring systemd
I have duale boot windows and xubuntu on my pc.I mistakenly remove all Systemd directories and xubuntu crash in login page and the resolution of it becomes low and it does not boot. How can I restore ...
0
votes
0
answers
59
views
Remote rescue USB with no keyboard & mouse
I have a friend in a different city who has an Ubuntu box that won't boot - it powers on, but that's as far as it gets. They don't have a monitor or keyboard and I'm too far away to easily just drop ...
0
votes
0
answers
90
views
I accidentally ran sudo upgrade-from-legacy-grub
I messed up my pc and I'm stuck in grub recovery mode
Heres what happened:
I was upgrading from 20.04 to 22.--; but i left halfway after doing sudo update & upgrade-distro and didn't download the ...
0
votes
0
answers
294
views
Upgrade to 20.04 broke from 18.04
Although some diag tool (boot-repair: report here) run from 22.04 live USB (probably EFI) states the system is 20.04 and maybe missing an EFS partition, it never had (upgrade was run from 18.04 just ...
0
votes
1
answer
70
views
Is an emergency account the same as rescue mode?
I found a question in the Ubuntu_20.04_LTS_STIG 1.5.2 that reads,
The Ubuntu operating system must automatically remove or disable emergency accounts after 72 hours...
What is an emergency account? ...
0
votes
0
answers
127
views
Deactivation of the possibility to deactivate 2FA via rescue mode (linux) - 2FA PAM module it doesn't make sense
I got interested in 2FA to log in for linux os ( PAM google authentificator)
The problem is that from the rescue boot level it can be easily disabled which means that if someone has physical access to ...
0
votes
1
answer
475
views
Drop to root in Ubuntu 20 Recovery is disabled
Cisco Modeling Labs uses Ubuntu 20 for its base OS which I recently purchased for the Cisco learning center. I am installing it on a bare metal server, and I need to drop to root in order to mount a ...
0
votes
0
answers
54
views
Mistakenly used rm - rf in / but cancelled .How to recover now.? [duplicate]
I have unknowningly used rm -rf in the ubuntu 18 / and cancelled soon .. within that moment some folders for deleted including /bin /sbin /opt /etc .
But we still have /usr /lib / home /root /var ...
1
vote
0
answers
2k
views
Ubuntu boots into emergency mode, home folder empty
After laptop (Lenovo T520) fell on the ground, my HDD (Crucial_CT240M500SSD3) started making clicking sounds during boot and at startup started receiving following message:
2100: Detection error on ...
0
votes
2
answers
271
views
Locked SSH to a single IP and then lost that IP so I'm now locked out of the server
I thought locked SSH access to my IP would be a good thing but now I'm completely locked out and nothing I do in rescue mode seems to work.
I've tried changing/removing/uninstalling iptables but ...
1
vote
1
answer
6k
views
install grub on mounted filesystem
I have booted rescue linux (init ram fs), and mounted /dev/sda1 on /mnt/sda1
/dev/sda1 is a linux partition, but /dev/sda has no mbr.
How can I install grub on mounted filesystem /mnt/sda1 ?
I tried:
...
3
votes
0
answers
2k
views
Start SSH in isolated rescue.target?
I'm planning a system upgrade from Eoan to Focal on a remote machine where I only have SSH access. I've previously dealt with broken packages causing the system to boot into rescue mode, so I want to ...
0
votes
0
answers
88
views
How to rescue files from a HDD using a bootable USB?
I am new to Ubuntu.
My computer doesn't start and I need to rescue some files from it.
I tried to boot from a live USB and did it successfully. I reached the HDD but the folders are locked (I can see ...
1
vote
0
answers
33
views
Restore Ubuntu 16.04 which was corrupted by sudo apt autoremove python3 [duplicate]
I mistakenly ran the command, sudo apt autoremove python3 in Ubuntu 16.04. Because of that all software was removed, and even the terminal is not working. Debian package manager is also not working. I'...
0
votes
2
answers
1k
views
"No journal files were found" on chrooted rescue system
I have a remote Ubuntu 16.04 server that I can't reach via ssh after I shut it down and booted it again. I had OpenSSH Server installed during system installation and I never disabled it (e.g. ...
0
votes
1
answer
793
views
Restore disk image while in rescue mode
I have taken a backup from my Linux disk using dd command and I've uploaded it to a website.
Now there is a kernel panic in my VPS and I open the rescue mode and I want to download and restore that ...
0
votes
0
answers
136
views
Grub Rescue error unable to boot into ubuntu after updateing windows on triple booted Laptop
I had a Acer laptop in which I triple booted Windows 10, Kali Linux, and Ubuntu. Yesterday, I updated my windows to fall creators update and when Windows restarted it showed error: no such partition. ...
1
vote
1
answer
2k
views
How to edit GRUB after POST for text only console mode?
How do I edit the GRUB boot sequence from:
linux /boot/vmlinuz... quiet splash
so that it boots to the console? I've tried removing "quiet" and "splash", as well as adding "text". I can also boot ...
0
votes
1
answer
620
views
Installation of kept back packages: libgl1-mesa-dev results in emergency mode
I have recently seen on my 16.04 when running apt upgrade that some packages have been kept back. I went to investigate and found the answer here. It basically says that you are supposed to install ...
3
votes
1
answer
2k
views
Server started in 'Rescue' mode
We have bough a server and we are using for our website, today I received an email from the provider that your server has started into Rescue mode and they sent to me a temporary password to login ...
0
votes
0
answers
1k
views
Transfer files from rescue mode to another server (Windows) by using FTP?
So I'm having a problem with kimsufi server. I was installing windows by using this command:
wget -O- ...url.../server.gz | gunzip | dd of=/dev/sda
And I messed up and accidentally ran that command ...
1
vote
2
answers
5k
views
Reset network configuration
Recently I messed up the network settings for my Ubuntu 16.04 machine. It does not load the network when it boots normally. Before this, I did ip addr flush eth0 instead of eth1. The machine is now ...
2
votes
0
answers
1k
views
Fixing boot error on RAID 1
I operate a remote server (Ubuntu Server 14.04). On rebooting it halts and says:
Errors were found while checking the disk drive for /.
keys:Press F to attempt to fix the errors, I to ignore, S to ...
1
vote
1
answer
1k
views
Server not booting after 16.04 upgrade (not pinging)
Yesterday I upgraded my server to 16.04, all fine and when I rebooted the server rebooted to rescue.
I fixed package conflicts with apt-get autoremove and apt-get upgrade etc... I also tried to ...
6
votes
4
answers
1k
views
How do I add myself back in sudo group in Encrypted HDD of 16.04 with Strict Security Policies?
I know the threads How do I add myself back as a sudo user?, Mounting encrypted LUKS partition from Live CD, ... This thread is about how to add a sudo user back without root and other strict security ...
8
votes
3
answers
10k
views
change DNS server in a non-persistent way (on the command-line) [rescue mode]
is there a way i can change the DNS server on the command-line without having to change anything on the disk?
i recently booted into the rescue session and i got an IP address (using DHCP) but no DNS ...
2
votes
1
answer
104
views
How to postition within magnetic tape in rescue mode of the installer image
I'm trying to get data from magnetic tape in the ubuntu installer environment respectively the rescue mode of the ubuntu installer image.
To do so, i need to position on a distinct filespace/filemark ...
0
votes
1
answer
882
views
I deleted Ubuntu partition and my laptop it was showing grub rescue screen
I deleted Ubuntu directly from drive by deleting partition option. On restarting my laptop it was showing GRUB rescue screen, which I didn't knew what to do. I went to bios and I changed some settings ...
1
vote
1
answer
824
views
Cannot boot laptop after I dropped it
I dropped my laptop (from a chair!) and now it does not boot. It shows me only the grub menu screen. Using the recovery mode it gave me:
No init found.Try passing init=bootarg and prompted (...
0
votes
1
answer
28
views
Upgrade to 12.04 did not seem to work, can I restore back to 10.04 as I was, am stuck at grub prompt? [duplicate]
Is it possible to restore my dual boot PC to 10.04 LTS? I am concerned about rescuing my data if the upgrade to 12.04 has not worked. What options do I have from the grub prompt?
0
votes
1
answer
49
views
Login identity when system sleeps
System went to sleep, then asked for a password. I have tried every password I have ever used. Does ubuntu require something different. I loaded this two years ago, last summer. I do not remember, ...
0
votes
2
answers
3k
views
cannot mount root filesystem on 10.04
I tried to apply the recommendation of question:
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
After running that command:
sudo mount --bind /dev /mnt/dev
I ...
2
votes
1
answer
3k
views
How to have ssh running in the rescue mode?
If I select rescue mode in GRUB, ssh is not run. I have to type start ssh to have it running. Can I made this be done automatically for me?
Typical situation is with broken graphics, when I need to ...