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 [rescue]

The tag has no usage guidance.

29
votes
2answers
241k views

Boot windows from grub rescue command prompt

Previously I had installed the Ubuntu 10.04 and Windows 7. Now I logged on to Windows, opened the partition editor and deleted the volume containing the Ubuntu - I thought it will delete the Ubuntu ...
16
votes
3answers
74k views

How to mount a disk from destroyed raid system?

I have a horrible situation where I have to restore data from damaged raid system in a rescue Debian Linux. I just want to mount them all to /mnt/rescue in read only modus to be able to copy VMWare ...
10
votes
1answer
5k views

How can I force a Ubuntu kernel to fail mounting / and drop into the initramfs rescue shell?

I am trying to customize the initramfs rescue environment and would like to force the kernel to fail mounting / and drop into the (initramfs) rescue shell, as opposed to single user mode. How can I ...
8
votes
3answers
760 views

Trap: can't su as root, can't change group to wheel, ssh as root prohibited

Is this a trap? I made these steps in FreeBSD 10: 1) ssh as root prohibited 2) logged as user 3) su as root 4) as root chsh changed name of user "user" to "luser" 5) exit from ...
8
votes
2answers
62k views

Need to boot Windows 7 from Grub rescue command prompt

I booted my computer today and found the Grub rescue command prompt. I have been given this computer and it has Linux and windows 7 on it, but I have only ever used the windows section. I have no idea ...
4
votes
1answer
19k views

/proc/sys/kernel/hung_task_timeout_secs error

I am building a CentOS 6.2 webserver on a Hyper-V Cluster and have hit a major issue. The current setup is this: Operating System: CentOS 6.2. Minimal Server Install Installed software includes: ...
4
votes
1answer
600 views

Are there any canned solutions for running sshd in the initrd?

This is mostly aimed at Debian/Ubuntu, but I feel savvy enough on a variety of distros to be able to adapt the solution for one distro to another. Here's my scenario. There are a few situations when ...
3
votes
3answers
4k views

How do I disable the creation of the rescue boot image on CentOS?

To make a long story short, my (CentOS 7) server's /boot is too small (100MiB) to hold 2 kernels plus the automatically generated rescue image. I want to avoid the hassle of repartitioning and ...
3
votes
2answers
4k views

Why booting into rescue mode menu doesn't do anything?

When I enter into grub menu, I get two entries : CentOS Linux (3.10.0-514.21.1.el7.x86_64) 7 (Core) CentOS Linux (0-rescue-e1ac24cbe9f94f2caa228d77e027be8b) 7 (Core) When I boot into the second line ...
3
votes
1answer
207 views

Grub rescue if Ubuntu USB not plugged in?

I have my Ubuntu installed on a USB drive, and to log into Windows I need to have it plugged while booting, or I get the Grub rescue prompt. When the USB drive is plugged in, I get the Grub menu from ...
3
votes
1answer
689 views

Installing openssh-server after Rescue Disk boot

I tried to help a friend with hard drive boot problems. I first asked her to make a rescue disk (Ubuntu 12.04.3), and boot from it. Then I asked her to open a console (Alt+F1) and use sudo to become ...
3
votes
1answer
2k views

Problem creating raw disk image and mounting it in rescue mode to QEMU

I am trying to create booting system from raw disk image. This is what I do: $ dd if=/dev/zero of=system2.img bs=1M count=6000 6000+0 records in 6000+0 records out 6291456000 bytes (6.3 GB) copied, ...
3
votes
1answer
13k views

Recover from emergency mode on Centos 7

I have a Dell PowerEdge R420 which has installed Centos 7 and was working fine. One day I removed the disks that Centos 7 was installed (2 disks with RAID-1 layout) and I installed another clean disk ...
2
votes
4answers
16k views

Ownership of etc folder is changed how to restore it using commandline?

I have a computer with Ubuntu 13.10 installed. The user (say Walesa) has changed the ownership of etc folder and all its subfolders from root to Welesa using a privileged file manager. As sudo was ...
2
votes
2answers
180 views

How do I backup everything?

What can I use to create a backup image of my entire system that will be saved on a LAN computer via SSH? If I break anything later, I want to be able to restore my entire system as it was before the ...
2
votes
1answer
154 views

Blindly dd'ing faulty drive to new drive

I have a faulty 320GB drive which has reading errors in samish GB positions but the exact positions vary. I am ok with probability of errors, this is out of question here. First of all I was ...
2
votes
2answers
12k views

Booting Fedora in rescue mode

I have created a new Fedora live USB with the intention of booting into rescue mode and fixing the bootloader, so that I can dualboot win7 and Fedora 20. However, I do not understand how I am to boot ...
2
votes
2answers
7k views

Start SSH in CentOS rescue mode

I am booted into rescue mode after inserting the DVD. OS is CentOS 6.7 64 I've tried cd /mnt/sysimage chroot /mnt/sysimage service sshd restart which gave back service command not found. What do I ...
2
votes
2answers
2k views

Fedora 20 rescue mode from USB stick

I have a Fedora 20 KDE on a 512 mini SSD disk. Yesterday I unfortunately downloaded many rar-files into my /root partition and ran this command afterwards: unrar x *.rar. So what happened? My PC got ...
2
votes
1answer
992 views

Boot in rescue mode with vlan support in RHEL

I am trying to restore RHEL OS (5.3.1.1) from network, where we have VLANs configured on our switches. So the only way to get to shared folder on remote server with backup image is to configure VLAN. ...
2
votes
4answers
9k views

Unable to boot the operating system

I installed Lubuntu 11.10 and it run without problems. I decided to install Ubuntu 11.10 mini instead of Lubuntu 11.10. After the installation the operating system didn't boot. I only saw the black ...
2
votes
0answers
72 views

Linux AHCI/ATA read errors not reported

After a recent OS upgrade (to current Tumbleweed, Linux Kernel 4.16.0 from April 4th), when reading from a faulty hard disk or from damaged/scratched DVDs, I don't get anymore read errors in the ...
2
votes
0answers
222 views

How to update rescue partition on Fedora?

I have a Fedora 24 installation, where one of the items on the boot menu is: Fedora 19 Rescue ... How do I update that so I have the latest Fedora rescue partition? Does it even matter? I suspect ...
2
votes
0answers
346 views

Make changes to busybox/initramfs that are persistent?

I am in the process of recovering my 32-bit Debian Jessie box with a lvm+LUKS disk. I am coming back from a system that had a root partition but no boot partition. Grub executes, but either vmlinuz or ...
2
votes
0answers
248 views

Difficulties with connecting to WLAN with wpa_supplicant on a system rescue CD

My box epicly failed and I am trying to get online to begin the rescue. The very same config which used to work on my dead system doesn't work now and I cannot connect to WLAN using the same ...
2
votes
1answer
1k views

How to find alternative superblocks in ext3 file system of partition-less qcow2?

I have an interesting case, where e2fsck refuses to recognize the file system inside a qcow2 image file. Using testdisk I am able to see the partition, so some markers would be left. The reason this ...
1
vote
5answers
1k views

What rescue disk (rescue CD/DVD) to recover data from failed HDD would you recommend for first time user?

What rescue disk (rescue CD/DVD) would you recommend for an user which unfortunately needs to rescue data from a bad disk (filesystems does not mount when using LiveCD, though fdisk looks O.K.) for a ...
1
vote
1answer
4k views

What is the default openSUSE Rescue login?

On booting the Rescue System from an openSUSE DVD, I find myself at a "rescue login" prompt: What are the default login details?
1
vote
1answer
974 views

How to recover overwritten partition?

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
2answers
910 views

System will not boot because boot partition is missing?

I deleted my boot partition several day ago and have not been able to recover it. To fix it, I installed the same image with the same parameters on a flash drive and then copied that boot partition on ...
1
vote
1answer
1k views

Linux live system for headless rescue

I'm looking for a Linux live system which allows me to investigate boot failure via SSH for my server which is placed under my desk and doesn't have a graphic card for energy saving reasons. I ...
1
vote
1answer
156 views

How to mount an Apple device from Linux?

I would like to mount an Apple iPad to my Linux device, to make a jpeg or ddrescue recovery on it. How I would do this with an Apple device?
1
vote
1answer
170 views

How to backup files with only a minimal rescue system?

I only have access to my vserver via a minimal rescue system over ssh. It does not have scp or ftp installed. Is there an easy way to backup the files, preferably directly to an ftp server, but to ...
1
vote
1answer
415 views

Remotely connect to computer when connection partly fails

I have a Debian computer acting as a server at home. It has a dovecot+postfix mail server, an SSH server, an apache server, and everything you would expect from a do-everything server. At home, it is ...
1
vote
1answer
169 views

Rescue /usr/bin on Debian Wheezy?

I accidentally deleted the /usr/bin directory. Using a bootable usb, is it possible to rescue my machine?
1
vote
1answer
358 views

Failure in the middle of a Debian upgrade

I am facing an very serious problem. I am updating my laptop from Debian 7.0 to the current testing distro. One package(veusz.helper) dependency was lost and the upgrade process can't move forward. ...
1
vote
0answers
132 views

Rescueing Microsoft reserved partition

A few year ago I built myself a NAS. It has a 320GB HDD for ubuntu OS and a 2TB HDD for files. I mounted de 2TB disk and shared it with samba over my network. Now I have build a HTPC like system and ...
1
vote
1answer
396 views

Centos 7 does not boot any more

I deinstalled SOME VESA drivers from my CentOS 7 system. Now it doesn't boot any more. What can I do now? Should I boot with no graphical interface? And then? I can't reinstall the system from ...
1
vote
0answers
1k views

grub rescue (all partitions) : unknown filesystem

I am stuck with grub rescue. I have a dual-boot with a Windows 10 and Ubuntu 14.04. Now when I try to boot my laptop, it enters grub rescue mode. I tried ls commond: grub rescue > ls The ...
1
vote
0answers
356 views

How to update the version of the kernel used in rescue mode?

I have an up-to-date version of the kernel in my install, 3.10.0-327.28.3, as installed by yum update. When I boot into rescue mode, and run uname -r, the version is very old, 3.10.0.10.something. ...
1
vote
0answers
968 views

Missing or disappear home directory

Today I turn on my computer and I get many problems fsck with nodes after (Initramfs), this happened to me before so I run the following command fsck /dev/sda1 -y now running this command ...
1
vote
1answer
54 views

Inherited Computer, trying to boot of USB but not working

I have received a computer that the previous owner had attempted to install some Linux OS, I don't know which particular one. I have both an Ubuntu and a Windows bootable USB drive and I have ...
1
vote
1answer
178 views

which live/rescue disk it is which gives you an option to boot into your GNU/Linux OS without grub?

I remember a live CD/DVD where I could just boot into my GNU/Linux partition in case your grub was shot. The simplest thing was once in your GNU/Linux partition, install grub-pc and its brethen and ...
1
vote
0answers
84 views

Unable to Boot into F17

I was currently running Win8 and F17 as a dual boot on my home desktop with an i5 chip and Asus UEFI BIOS. Unfortunately, while I was in Win8 I accidentally removed the partition that held my F17 OS. ...
1
vote
1answer
2k views

Arch linux booting into rescue shell by default

I just installed Arch in my PC alongside windows 7 but for some reason it boots directly into the rescue shell, this is how it looks It doesn't show any errors though, and if I press Ctrl+D it just ...
0
votes
1answer
48 views

What live OS with reasonably small size that I can use to rescue files on a laptop?

I only have two flash drives: 4GB and 1GB. I would like to create a bootable flash drive for a live Lubuntu installation, so that in case my very old laptop's Lubuntu can't boot, I can rescue my ...
0
votes
2answers
318 views

Locked out of SSH on LAMP server but have SFTP access

I made a mistake in /etc/sshd_config so have locked myself out of my remotely hosted server running Centos 6. It's running Apache and I have FTP access to /var/www and I know the root password. To ...
0
votes
1answer
3k views

LVM Mount Rescue Mode

I am having trouble mounting a LVM to extract a Proxmox virtual machines data. Any ideas on how I can mount it? root@rescue:~# mount /dev/sdd /mnt/ mount: block device /dev/sdd is write-protected, ...
0
votes
2answers
9k views

repairing a damaged grub with centos

I have a damaged grub in my centos system. to repairing this problem, I use rescue mode and then I execute this follwing comand : chroot /mnt/sysimage grub-install /dev/mapper/ddf1OSp3 and then ...
0
votes
1answer
1k views

How to make a GRUB Rescue Disc?

I am afraid that my GRUB is corrupted (I do a lot of experiments on my PC) and I know that I will not be able to reinstall Debian (downloading takes up a lot of time). Also, I am just 13 so I don't ...