Questions tagged [system-recovery]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
2answers
57 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
1answer
33 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
1answer
56 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
1answer
35 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
0answers
22 views

GRUB rescue not working. Shows unknown file system for all partitions

I've tried to install Kali Linux along with a Ubuntu 20.04 and Windows 10. First install was perfect,but I'm getting thrown into GRUB rescue now. All partitions are showing file system unknown,even in ...
0
votes
1answer
64 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
1answer
93 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
0answers
64 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
2answers
118 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 ...
0
votes
0answers
139 views

Fedora 32/33 - Recovery mode unbootable after release upgrade

After the release upgrade to version 33 the recovery mode is no longer bootable as it is based on fedora 32 which is no longer present. I use disk encryption and when trying to enter recovery mode, ...
1
vote
1answer
125 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
1answer
48 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
0answers
18 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 ...
0
votes
1answer
49 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
3answers
285 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
0answers
27 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
0answers
34 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 I am not even able to go to the login screen. The ...
1
vote
0answers
23 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
1answer
97 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
2answers
306 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 ...
0
votes
1answer
470 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
1answer
317 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
0answers
45 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
0answers
435 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 ...
0
votes
1answer
208 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
1answer
120 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
2answers
492 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 ...
53
votes
1answer
4k views

Change permisions of a file with my cat's help

root@system:~# less myfile -bash: /bin/less: Input/output error The root filesystem is dead. But my cat is still alive (in my memory): root@system:~# cat > /tmp/somefile C^d root@system:~# He's ...
2
votes
1answer
4k views

Trouble on Debian boot up “Timed out waiting for device dev-disk…”

I can't boot my Debian 9.5 with following errors. If I remember correctly ACPI Errors were shown every time I turn on PC. But computer always boot right with these errors, so I didn't care much. The ...
-1
votes
1answer
879 views

Cannot log in because of corrupted .bash_profile [duplicate]

I have created a new user account. I can't access it because of a .bash_profile error. How can I repair this type of error?
2
votes
2answers
773 views

How to import bash history with correct time&date from a history output?

I have a file with my bash history and want to "import" the commands on a new machine. The file contains a history output formatted as HISTTIMEFORMAT="%F%t%T%t": $ history > history.txt So the ...
2
votes
1answer
224 views

/var/lib/dpkg/ disappeared after fsck

All apt-like commands failed to create the lock file, because /var/lib/dpkg/ doesn't exist. Also, /lost+found/ has contents: pi@pi-top:~ $ sudo ls -al /lost+found/ total 102456 drwx------ 11 root ...
0
votes
1answer
328 views

CentOS trying to mount non existant RAID array -> recovery mode

My first try using RAID1 ended with CentOS not starting anymore - throwing me into Recovery mode. Luckily a test system At first i set-up the raid1 which worked rather good. Later i noticed that my ...
0
votes
1answer
75 views

Failure to boot after running bash script

I just recently ran a bash script that froze up my Linux mint machine, and I had no choice but to hold power key to perform a hard power off. Now my machine will not boot. I have no clue if the bash ...
3
votes
1answer
5k views

busybox and nfs mounts

As part of a startup a rescuecd uses busybox to mount a nfs share with data, but during the nfs share mount, busybox (version v1.18.2 from systemrescuecd) always fails to mount the nfs share. And i do ...
0
votes
0answers
474 views

recovery boot hangs at “systemd[1]: Listening on Journal Socket”

Can no longer boot into Debian testing, possibly because I accidentally uninstalled some undocumentedly critical package. In regular boot, system hangs after confirming that the root fs is clean. In ...
-1
votes
1answer
70 views

Linux Mint kernel damage

First off: I am running Linux Mint 18.2 on an External HDD with Gnome 3 as my desktop. Recently, I was trying to figure out how to compress my OS so I could move it to a different system. So, I ran: ...
16
votes
3answers
8k views

Can't log in because I forgot my user name

My friend had put Linux Mint 17.3 Cinnamon 64 bit on my computer. Well, I forgot the user name, so I did a search on the Net for "forgot username linux" and came here. I got the suggestion to hit '...
0
votes
0answers
53 views

How to avoid a situation where the system is too out-of-memory to even show or kill processes?

I recently ran into a situation where a system was too out-of-memory to even run pkill or htop, or to even create a swap file. (But somehow I could still SSH into the system, so at least I had a ...
0
votes
1answer
16 views

Delete file in hard drive root folder using recovery disk

I made changes to my xorg.conf file in /etc/X11/ after backing it up. Some bad things happened and now I cannot access tty or the logon screen. The only way is via a recovery USB drive. How can I ...
3
votes
1answer
5k views

What command is run when the dpkg option is selected in recovery mode?

I recently ran into the following situation: I could not boot my computer normally. (I was shown a blinking cursor after the boot-loader and Ubunutu load screen but before the login page while never ...
4
votes
1answer
883 views

Did Windows update corrupt a Linux partition? [closed]

I have a dual boot system with Linux Mint 18.1 and Windows 10, which I only use occasionally. I booted into Windows 10, and it started applying updates. Upon restarts I was presented with the: error: ...
2
votes
1answer
2k views

Reinstalling only packages with missing or corrupt files on a non-running system?

1st. Thanks in advance. This is somewhat like # 216697: Reinstalling packages with missing/corrupt files except in that person's situation, after recovery, the system still worked. Mine does not. Can'...
-4
votes
3answers
2k views

How to recoever after executing rm -f /bin/su; rm -f /usr/bin/sudo (with correct privileges)?

This is a theoretical question. What if I run those commands with correct privileges? How could I restore su and sudo?
1
vote
1answer
1k views

Can I create a Live DVD of my currently running Debian system?

Can I create a live CD of my currently running Debian setup? (Debian 9.1 with KDE with all the configurations I made, all the packages I installed and some files.) How can I do that? And in addition ...
0
votes
2answers
282 views

Set permissions using chmod whilst in the wrong directory

I was doing a magento patch via Terminal and ran the following commands whilst in / rather than /public_html find . -type d -exec chmod 500 {} \; find . -type f -exec chmod 400 {} \; find var/ -type ...
0
votes
2answers
349 views

Can `chmod -R 777 /bin` be recovered from?

I know that chmod -R 777 / is extremely destructive, and I know that a chmod -R 000 /bin can be recovered by using an additional disk, but I'm wondering about chmod -R 777 /bin. If I have a root ...
0
votes
0answers
393 views

I overwrote all libraries in /lib64 by accident, how to fix?

I accidentally used windows copy syntax when copying libraries from one folder to another: mv /usr/local/lib/libboost** /lib64/* This overwrote all libraries needed to run the system. The only ...
1
vote
0answers
98 views

How to recover Ubuntu?

This question has come from the previous question I asked in this site. My laptop has 2 Operating systems of Ubuntu as can be seen in the screen-shot below. The one where I logged in is visible in ...
-1
votes
1answer
670 views

Recover Debian 8.7 after accidently purging essential packages [closed]

Trying to get rid of strange startup errors I purged some of the essential packages. My xfce4 doesn't start on boot, which is not too bad, I still have the tty, but I also have no network connection, ...