Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [system-recovery]

The tag has no usage guidance.

1
vote
0answers
29 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
20 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
0answers
11 views

DDRescue Rescue Rate Concern

I'm in the process of using DDRescue on a 896 GB partition of my 1 TB Toshiba HD. After almost 5 days it's rescued only 7% of my data (according to terminal input). I paused the program for the first ...
0
votes
1answer
37 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
91 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 ...
56
votes
1answer
3k 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
502 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
187 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
138 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
86 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
157 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
49 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
3k 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
239 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 ...
0
votes
1answer
62 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
5k 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
49 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
12 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
3k 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
435 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
841 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
908 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
485 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
189 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
204 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
220 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
461 views

Force recalculation of disk space [closed]

How do I get Linux to recalculate disk space? My root filesystem was full. It isn't anymore. However, when I boot the sytem, Root filesystem has insufficient free space is logged. Other error ...
1
vote
0answers
85 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
vote
0answers
31 views

Can't find windows OS and it's partitions wit all data [closed]

I installed Linux mint 17 'Qiana' Cinnamon 64-bit on a Hp-Pavilion Ts-15 not book, cori5 without overriding or deleting the existing OS of Windows 10, while installing I tried to chose the last ...
-1
votes
1answer
509 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, ...
13
votes
3answers
2k views

unix - accidentally moved everything under root to /old - Solaris 10

As the headline says everything or almost everything important as root under root (/) was moved to /old on a Solaris 10 machine. So now the typical fault when trying when running commands are Cannot ...
3
votes
1answer
566 views

Linux Slackware ( Broken - kernel panic )

I wanted to update my system (Slackware current) which was in multilib. Before updating, I tried to remove all packages (compat32 and multilib). Big mistake !!! This have broken some crucial symlinks ...
1
vote
1answer
376 views

Fix corrupt /bin/sh link

I used to access it via SSH but I wanted to connect to it with zsh instead of bash. I made a mistake with my Synology NAS: I deleted the /bin/sh symbolic link to /bin/bash to replace it with /bin/...
1
vote
1answer
692 views

reset $SHELL to it's default value [duplicate]

I read the answers on those questions (this && this), neither of them work for me! % uname --operating-system --kernel-name --kernel-version --kernel-release Linux 4.9.6-200.fc25.x86_64 #1 ...
3
votes
3answers
258 views

Creating recovarable disk image [closed]

Laptop I want to buy comes with preinstalled windows 10. I want to install linux on this laptop but I want to have option to recover windows (reset to factory settings). Because of that I want to make ...
2
votes
1answer
35 views

Debian computer: usr part corrupt

I have a Debian-Windows dualbooted machine. I've split up all areas into separate parts, eg. boot, var, tmp, etc... are all partitions. Now I can't boot Linux because the usr partition is giving I/O ...
1
vote
1answer
1k views

Kali Linux hangs on boot after hard reset

I had to perform a hard reset after my machine became unresponsive. Now when I try to boot, it hangs as shown in this image: . I am able to boot into recovery mode, so have access to a terminal I can ...
1
vote
2answers
626 views

last - user reboot - logged-in period

I have the following lines extracted from the output of last. It shows two reboots, and that userA was logged in right up to the reboot. So far, I am able to interpret the data. However, what I do ...
-1
votes
1answer
663 views

Corrupt ext4 filesystem after e2image interrupted

I have a ~450 gigabyte ext4 filesystem, located at /dev/sda5 on my computer. The partition it resided in, however, was about a gigabyte bigger. So I used the command e2image -ra -p -O XXXX to move the ...
3
votes
3answers
557 views

How to create a persistent USB key of a running system?

How to create a persistent and bootable USB of a running system on a computer without shut down. The key would be the same as the computer and offer ways to use it and install it as is on some other ...
1
vote
1answer
120 views

Can't downgrade Linux kernel: not enough free disk space

I'm stuck in an archiso/chrooted environment (booting from a USB flash drive) because my Wi-Fi drivers are incompatible with Linux 4.8.7-1, and cause the system to hang at boot. I'm trying a few ...
1
vote
1answer
53 views

Recover user database from home directory UID's

I asked a question previously about recovering a RAID 1 partition where the UUID's of the member partitions had all been zeroed. Having received no response in that thread, I'm now forced to reinstall ...
3
votes
3answers
1k views

Installing only Linux on a mac and in case, go back to macOS

I have this mid 2011 iMac 21.5" Core i5 on which I would like to install Linux (Debian) as the only OS, so I'd like to throw away the entire macOS installation. The web is full of tutorials for doing ...
3
votes
1answer
867 views

Recover su password after modifying /etc/shadow

I follow a tutorial about the race condition exploit. I made a copy of my /etc/shadow file. And then replace all the contain by one line root::1:99999::::: However. My old password doesn't work ...
0
votes
1answer
186 views

Did i really screw up my system using chmod? [duplicate]

So I was messing around with permissions on a linux box and was trying to change permissions so a user couldnt access any folders other than what is in their home directory. I did sudo chmod 0750 /...
2
votes
0answers
455 views

Is it possible to recover from corrupted libc on Redhat?

I have created the following unfortunate situation. While trying to resolve this error when running a binary : /lib64/libc.so.6 : version 'GLIBC_2.15' not found Looking further I found that libc....
-3
votes
1answer
67 views

Failed to execute, How to enter terminal before login [closed]

I've modified my ~/.xinitrc and now the X11 startup fails. I just see a message on the screen saying something like Failed to execute. I don't have a recovery option in my grub, so I cannot boot into ...
2
votes
1answer
299 views

How to Recover Debian of LK backports where runlevel conflict?

I did as root in my Debian 8.5 because wanted to test Matlab's thing but the commands removed some dependencies which affect the runlevel Run apt-get purge openjdk-7-jdk openjdk-7-doc openjdk-7-jre-...
0
votes
1answer
67 views

Restore system file permissions

While I was setting up an Ubuntu server (EC2), I accidentally run the following: sudo chown -R www-data.www-data /* Anyway, is there an easy way to restore all the original file permissions? I am ...
1
vote
1answer
2k views

Can't login after editing /etc/security/limits.conf

After edited the /etc/security/limits.conf file to set the nofile parameter to unlimited, server got hanged . Can't login in via ssh. Tried to take console, issue with console. Will reboot of the VM ...