Questions tagged [system-recovery]
The system-recovery tag has no usage guidance.
129
questions
0
votes
0
answers
36
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 ...
0
votes
0
answers
19
views
Thinkpad recovery options
I have a ThinkPad T14 laptop with Linux (Ubuntu)
It recommended that I backup the recovery image, which I didn't at the time, in order to be able to reset the laptop in the future. I tried searching ...
0
votes
0
answers
31
views
How can I backup and reconstruct partitioning, LUKS, and LVM scheme?
I have a server which I've already set up periodic remote rsync -aHAXS backups of the files in the /boot partition, / root logical volume, and /home logical volume. My next concern is if my physical ...
0
votes
1
answer
46
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 ...
0
votes
0
answers
31
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 ...
0
votes
0
answers
38
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 ...
0
votes
0
answers
29
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 ...
0
votes
0
answers
55
views
safely update/upgrade drivers with btrfs snapshot rollback (avoid bricking computer)
I use btrfs for my root filesystem. I'd like to 'stage' a rollbackable upgrade* by using btrfs snapshot** (or something similar) -- so if the update bricks my computer, I won't be sad.
*(installation ...
0
votes
1
answer
78
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 ...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
268
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 ...
0
votes
1
answer
404
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 ...
0
votes
2
answers
131
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 ...
3
votes
1
answer
1k
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 ...
0
votes
1
answer
531
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
├── ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
506
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 ?
0
votes
1
answer
184
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 ...
0
votes
1
answer
2k
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.
...
0
votes
1
answer
211
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 ...
1
vote
1
answer
1k
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!
1
vote
1
answer
142
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 ...
1
vote
2
answers
5k
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", ...
0
votes
1
answer
476
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: ...
1
vote
1
answer
151
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 ...
3
votes
2
answers
876
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 ...
-2
votes
1
answer
183
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.
...
0
votes
1
answer
374
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 ...
1
vote
1
answer
715
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 ...
0
votes
1
answer
306
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 ...
0
votes
1
answer
197
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?
0
votes
0
answers
373
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
0
votes
2
answers
838
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 ...
1
vote
1
answer
336
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 (...
0
votes
1
answer
285
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 ...
0
votes
0
answers
22
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 ...
2
votes
1
answer
1k
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 ...
1
vote
3
answers
833
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 ...
0
votes
0
answers
42
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 ...
0
votes
0
answers
116
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 ...
1
vote
0
answers
127
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 ...
0
votes
1
answer
289
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
0
votes
2
answers
571
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 ...
1
vote
1
answer
1k
views
Recover deleted files from a virtual disk image
I need help.
Accidentally, all files from root were deleted. It was not me)
It is easy if there would be simple disk partition. But, there is logical volumes used.
Centos 7
KVM
QEMU
$ ll server.img
-...
0
votes
1
answer
517
views
Why is mv failing in this (bash) shell script in bash 3.2 during Mac OS recovery mode?
I'm trying to move some files using a bash script on a mac during recovery mode. I can successfully move the files by manually entering the command in Terminal after booting into recovery. However, ...
0
votes
0
answers
114
views
Got stuck in Emergency mode with ACPI Error
I am using ubuntu 16.04. I probably have done sth which damaged the system file. After reboot, I am stucked in emergency mode. The error is about ACPI like below. I am not sure what is wrong here. ...
1
vote
0
answers
818
views
Accidently moved /usr/lib64 how can I restore
I was trying to free up space and clueless moved /usr/lib64/ to "/srv/maraba_ssd_scratch/apelin/root_files/usr_lib64". The next thing I was going to do is create a symlink in usr for lib64 to point to ...
1
vote
1
answer
344
views
Is it possible to recover overwritten files from another operating System on the current operating system?
On my PC I had 2 operating sytems (ubuntu and windows) and for about 5 days I wanted to reinstall my Windows OS because of some bugs but instead of installing it on the partition where my old version ...
0
votes
1
answer
248
views
How can you complete a Debian installation interrupted just before "Finish installation"?
I am trying to get Debian installed on a device that doesn't have enough battery capacity to power the display on full brightness for long enough to complete an installation, even while plugged in. I'...
0
votes
2
answers
709
views
Ubuntu 18.4.2 failsafex running in low graphics mode
Ubuntu fail safex running in low graphics mode
I changed my theme from unity to gnome from ubuntu login and forgot to change the display manager to gdm3.
And then I restarted low graphics mode.
So ...