Questions tagged [system-recovery]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
57 views

I've forgotten my password but am logged in--what tools can I use to assist in recovery and limit damages?

I have an encrypted hard drive. The hard drive, root user, and primary user all share the same password. I have successfully logged in but seem to have forgotten the password. I'm looking to limit the ...
mpr's user avatar
  • 1,134
0 votes
2 answers
66 views

Is it possible to reserve resources for an always-up emergency console?

I strongly despise any kinds of automatic OOM killers, and would like to resolve such situations manually. So for a long time I have vm.overcommit_memory=1 vm.overcommit_ratio=200 But this way, when ...
bodqhrohro's user avatar
0 votes
0 answers
50 views

I have deleted most of my root directory with "sudo rm /*", and I don't know what to do [duplicate]

I'm on Arch Linux, and I intended to run "sudo rm ./*" to clear out one of old dirs, and I accidentally omitted the dot and ran "sudo rm /*". How could I recover at least some of ...
just1doomer__'s user avatar
0 votes
1 answer
54 views

password to linux changed after deleting/manipulation with ssh

Unfortunatelly I made mistake somewhere but can't get where. I had issues with ssh and github, tried different things and they didn't work. Later I decided .. i think.. moved file i balieve it was ...
Maks Chornyi's user avatar
0 votes
0 answers
565 views

Emergency Mode Issue on SUSE Linux HPC System

I have a head node and 4 worker nodes for high-performance computing (HPC). Recently, I had to turn it off for maintenance at our data center. I tried to turn the system back on, but I encountered an ...
Train_Learn_2350's user avatar
0 votes
0 answers
87 views

Root accout is locked on ParrotOS, need clarification on rescue.service

Aplogies but I'm new Linux user and would appreciate explanation. The issue is discussed here. OP has suggested to set SYSTEMD_SULOGIN_FORCE=1 using two steps as shown in the ss: I'm not sure how and ...
aryavin's user avatar
0 votes
1 answer
79 views

failed to restore root filesystem from dump backup

I'm currently testing a backup/restore of RHEL 6.4 OS via the "dump" and "restore" on testing environment, and I do know that RHEL 6.4 seemed too outdated in nowadays. Butsome ...
user53815's user avatar
0 votes
0 answers
175 views

Which GRUB_CMDLINE_LINUX_* for recovery mode only?

As we see in GRUB_CMDLINE_LINUX_DEFAULT vs GRUB_CMDLINE_LINUX, etc., GRUB_CMDLINE_LINUX is for both normal and recovery modes. GRUB_CMDLINE_LINUX_DEFAULT is for normal mode only. So, which ...
Dan Jacobson's user avatar
0 votes
0 answers
276 views

Debian very unstable after disastrous upgrade - how to recover GRUB, missing executables and more?

I upgraded Debian stable from 11 to 12 today by sudo apt-get upgrade. Thousands of packages were downloaded. However while packages were being upgraded the system froze. I manually shutdown by ...
juo9973's user avatar
1 vote
2 answers
107 views

Can't start Linux after deleting core dumps

My root partition had no space to the point that couldn't login. So invoked Ctrl+Alt+F2 and ran to free disk space: find / -xdev -name core -ls -o -path "/lib*" -delete Now can't even ...
jck's user avatar
  • 11
0 votes
0 answers
75 views

How to extract files from an inaccessible partition?

I cannot boot into my installed Fedora 37 after moving around partitions. I have spent a week trying to fix the issue so have decided to cut my losses and assume I'll never get back into it. I have ...
Pierre Fermat's user avatar
0 votes
1 answer
189 views

How to exit from root to user in the recovery menu?

A newcomer to linux here, I was trying to set a custom display resolution and make the changes permanent but looks like I've forgotten something and the login screen won't come up (the only thing I'm ...
user668687's user avatar
0 votes
0 answers
35 views

Part of Linux removed by apt install

was trying to install wine on linux(parrot) and there were some dependancies. I am not sure of the exact name but of the package but it started with lib and had i386 in the name. I tried to install it ...
prgpro's user avatar
  • 1
0 votes
0 answers
96 views

How to replan a Linux LVM+mdadm setup to boot back the right way?

I own a Linux setup in a couple of mdadm mirrored (RAID 1) disks with LVM2 on the top. For whatever reasons I need to replan this system/storage structure from scratch which means to copy out the ...
Antonio López's user avatar
0 votes
0 answers
49 views

What are possible states of remote computer after power outage?

I have remote computer to whos LAN I have full access. After a power outage, I can only ping this computer, but can't ssh to it. Nmap shows the following picture: Host is up (0.00055s latency). Not ...
Dims's user avatar
  • 3,255
0 votes
1 answer
162 views

Accidently dd to /dev/sda

I used Kali Linux, and I accidently used dd to /dev/sda while I'm trying to backup my files. It completes after a few seconds with a total size about 10 - 20 mb. After my computer was rebooted, it ...
MauryZ's user avatar
  • 9
0 votes
2 answers
3k views

Timeshift and btrfs. Recovery unable to mount /home

I am using btrfs (which seems integral to the question). Upon recovering with timeshift and rebooting, I am encountering the following error [Failed] Failed to mount /home. [Depend] Dependancy failed ...
I.P's user avatar
  • 111
0 votes
1 answer
434 views

CentOS Master Boot Record Overwritten

On my CentOS 7.7 box, I installed another drive and installed AlmaLinux 9. Things went wrong at that point. I thought I could just use the BIOS to choose which OS I wanted to load. Isn't the case ...
Rich_F's user avatar
  • 144
0 votes
1 answer
856 views

Stuck in emergency mode after cloning my system with clonezilla

I cloned my installation from a 240GB SATA SSD to a 500GB NVMe SSD using Clonezilla. The cloning was completed successfully, except for a failure with initrd (unfortauntely I don't remember the ...
Gisbi's user avatar
  • 23
0 votes
2 answers
308 views

Automatic rollback of broken configuration changes?

I run a headless home server and sometimes need to make configuration changes that have the potential to break remote access. Is there a tool or system service that can be set to define what ...
MooseBoys's user avatar
  • 101
3 votes
1 answer
2k views

Recovering /etc/passwd file

I deleted my /etc/passwd with my fat fingers. I saw that there is a /etc/passwd- that looks like a backup file but I cannot copy it to restore the original one since I can't sudo anymore. My volume is ...
zakrapovic's user avatar
0 votes
1 answer
762 views

Restoring windows boot [closed]

I recently reinstalled Fedora 35 on a dual-boot with Windows 10. Unfortunately, I think I have accidentally formatted /boot/efi, as hints a tree /boot /boot ├── config-5.14.10-300.fc35.x86_64 ├── ...
LeGravier's user avatar
1 vote
1 answer
3k views

switch_root: failed to execute /sbin/init: Too many levels of symbolic links

So, recently I was doing the Linux from scratch project and I had multiple terminals open, so I was continuing to make it, and by accident I typed the line in another terminal tab (root), and it ...
kalix's user avatar
  • 13
0 votes
1 answer
715 views

bash: cd: /run: Permission non accordée (Permission denied)

When running dbus-launch, I get bash: cd: /run: Permission non accordée. (Permission denied) I think I've bad permissions. Is there a correct solution ?
undefined's user avatar
0 votes
1 answer
310 views

Timeshift broke my OS

I am a linux noob who is using Elementary OS. Recently I had to reinstall my OS in order to get the new version of elementary OS (Odin). I had a backup of my file made using deja dups (that I've ...
leonardo catalano's user avatar
0 votes
1 answer
3k views

PopOS (Ubuntu) crashed and booted into emergency mode

I'm new to Linux but I'm going to try my best to describe the problem, please bare with me, if you need more information tell me what I can do to provide more information and I'll get it for you. ...
Jhon Piper's user avatar
0 votes
1 answer
492 views

Dual boot system failed, ubuntu file system missing during hard disk data recovery

I had a dual boot system with windows 10 and ubuntu 18. Recently the system failed, the motherboard probably got fried by lightning during a thunder storm and its not booting anymore, no fan, no ...
The Entity's user avatar
1 vote
1 answer
2k views

Accidentally ran "sudo chmod -x /*, is a fix possible?

Im pretty new at linux and I really don't know how to fix this. I accidentally ran sudo chmod -x /* Now every command I run returns a "Permission denied" even the sudo command. please help!
Louis Hamelers's user avatar
1 vote
1 answer
235 views

Integration Rear with bacula

I am trying to integrate bacula community with Rear to have complete disaster recovery solution. But I don't really know how to configure bacula File Deamon nad local.conf file for Rear to be able to ...
Adamwolf's user avatar
1 vote
3 answers
9k views

ubuntu 20.04 only boots from recovery mode

After a power outage, my ubuntu 20.04 boots from the normal option in grub to a black screen and hangs there. However, if I go to Advanced Options and select recovery mode and then "resume", ...
GalSuchetzky's user avatar
0 votes
1 answer
772 views

How can I revert the permissions of /etc? Whole system stopped working

I am looking forward for this question. How can I revert a chmod on the etc directory? I have tried all the methods, but I am still not able to restore the permissions of my /etc directory. sudo: ...
cptiwari20's user avatar
1 vote
1 answer
263 views

cat command overwritten

By error I have execute "sudo nano cat filepathxxxx" and somehow I change the content. The cat command is no longer working and I can't install it I tried to execute "yum install ...
SM2021's user avatar
  • 11
4 votes
2 answers
2k views

What is the proper way of backing up raid

I have a two disk server where root is on a mirrored LVM volume, while /boot and /boot/efi are RAID1 partitions. I want to fully backup my server, so that when a disaster happens (both disks fail, or ...
ciamej's user avatar
  • 173
-2 votes
1 answer
257 views

Using Photorec after accidentally deleting Users folder in Mac using rm -rf ~/

I copied this command online to the terminal without reading what it actually does (I know this is very dumb for a beginner) and suddenly, it started to delete every important file in the hard drive. ...
newbie42's user avatar
0 votes
1 answer
749 views

Recover broken ubuntu image

I created a .gz archive of a disk image (Ubuntu 18.04) of one of my virtual servers with the following command: dd if=/dev/sdb | gzip -1 - | pv | ssh user@ip dd of=/home/user/sdb.gz While unpacking ...
Jojomatik's user avatar
1 vote
1 answer
2k views

How to restore /etc/sudoers, after making a mess and getting unable to use sudo?

I'm learning how to give sudo permission to different users. At my first try editing /etc/sudoers, I made a syntax flaw and was unable to use sudo. Whenever I would use sudo command, this message ...
surfboardcompound's user avatar
0 votes
1 answer
569 views

hard disk failure, diagnostic and fixing

There was a hard disk failure on my laptop. 500GB SATA disk. So I'll have to replace the disk and try to recover user data. Disk is about 4 year old. Not sure how serious the disk corruption is. I did ...
Lexx Luxx's user avatar
  • 1,383
0 votes
1 answer
286 views

Time Machine system recovery alternative for linux

Does a Linux alternative to Time Machine (macOS) exist? I'm looking for the recovery mode feature that lets you restore the system completely. Can programs like Cronopete or Back in Time do that?
ElCactouss's user avatar
0 votes
0 answers
594 views

Linux Ubuntu crash & errors during boot

Ubuntu 16.04LTS, system crashes during boot with multiple errors. How to fix and recover system? (in details) Info: pic1 pic2 pic3
Lexx Luxx's user avatar
  • 1,383
0 votes
2 answers
1k views

How can I repair a Linux installation after mistakenly running rm -rf /*?

I executed rm -rf /* as root while in the /var directory on a RHEL7 system. I pressed Ctrl+C as soon as I realized to stop the operation, but I am now unable to log into the system. I don't know how ...
Nullpointer's user avatar
1 vote
1 answer
439 views

Locked out: overwrote /etc/shadow and /etc/grub.d with pacnew

After all these years of using Linux, I have never goofed up this badly. I should have known better, I honestly don't know what I was thinking. While trying to fix a small error message I was getting (...
alrob's user avatar
  • 115
0 votes
1 answer
456 views

Mac OS 10.12 - Accidentally Unlinked libz.1.dylib

Ran: unlink /usr/lib/libz.1.dylib Now I can't launch from my user profile. I have been able to run in recovery mode, where I can see the .dylib in question is there, but running in single-user mode I ...
taylori's user avatar
0 votes
0 answers
38 views

Is it possible to switch to active Linux installation from Recovery mode?

Noob here. I have Pop OS 20.04 installed on my laptop. I've been getting these sudden freeze-outs where I get dialogues like "disk is read-only" when I'm doing something. Then I restart, and ...
Hansatanu Roy's user avatar
2 votes
1 answer
3k views

Clonezilla restoring to a different partition

After a crash on my hard drive, I had to start from scratch. I reorganized the different systems and their appropriate partitions. I had the required partitions and their sizes set up.  The only ...
Heinz's user avatar
  • 21
1 vote
3 answers
1k views

Accidentally deleted /usr/ directory in CentOS 8

Accidentally /usr/ directory got deleted, in Cent OS 8. For recovering CentOS, I have found this link which needs live CentOS 8 installed in USB drive. However CentOS 8 doesn't have live ISO release ...
Genie's user avatar
  • 13
0 votes
0 answers
46 views

Ubuntu stops at booting

My laptop came with ubuntu lts preinstalled, i installed kde desktop&co via neon package sources. I've been using it for couple of months well-working. I left my laptop for acouple of minutes, and ...
laalsaas's user avatar
  • 155
0 votes
0 answers
158 views

Modify /etc/passwd file without logging in

I was experimenting with the /etc/passwd file in my Ubuntu 18.04. I rebooted my machine to check whether the changes are affected. But unfortunately my login screen is not showing up. The screen ...
Prasanth Ganesan's user avatar
1 vote
0 answers
176 views

Initrd - rebooting issue

I recently booted into Root via Ubuntu kernel recovery mode. When I finished what I was doing, and not altering anything in my system, I tried to reboot with shutdown -r now. This started various ...
Paul Benson's user avatar
0 votes
1 answer
328 views

How do I recover deleted files?

Today I mistakenly deleted files inside the public_html folder. There is no backup of deleted files. Is there a way to recover information? thanks
Mahdi S.Love's user avatar
0 votes
2 answers
714 views

Linux kernel development dual booting Linux/Windows

I want to get into kernel development, and the first practical step is obviously to run a Linux kernel to develop. I think the best solution for me would be to dual boot windows and Linux, with Linux ...
solumnant's user avatar