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.

0
votes
0answers
51 views

Grub rescue: '/boot/grub/i386-pc/normal.mod' not found

I installed ubuntu 18.04 using usb. On restarting I got Error: unknown filesystem Entering rescue mode grub rescue> This is what I tried ls (hd0,msdos7) / set prefix=(hd0, msdos7) /boot/grub ...
0
votes
0answers
14 views

Can I provide sshd server service to foreign in the rescue mode?

Can I provide sshd server service to foreign in the rescue mode? I can not start sshd server in my CentOS rescue mode, is it possible to start a service for connecting?
0
votes
0answers
35 views

Unable to re-create initramfs using dracut

I am experimenting on some rescue situations using CentOS7 minimal image and virtualbox. I: deliberately deleted my initramfs file booted from CentOS7 minimal iso image entered into rescue mode ...
1
vote
0answers
133 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 ...
0
votes
0answers
52 views

su does not work in rescue.service for ExecStart

The default value of ExecStart in /lib/systemd/system/rescue.service is: ExecStart=-/bin/sh -c "/sbin/sulogin; /bin/systemctl --job-mode=fail --no-block default" This doesn't work if your root ...
0
votes
0answers
38 views

How can I run grub-mkconfig from Ubuntu install on SystemRescueCD?

I expect there are several reasons this could be problematic. I could only come up with one: incompatible grub-mkconfig. It kind of feels like compiling on one OS for use on a different OS. However, ...
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 ...
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 ...
0
votes
0answers
129 views

Rescue u-boot boot-partition with encrypted root filesystem

I've installed a Debian on my BananaPi according to this section. After manually configuring the partitions (/boot on SD-card, / and swap are LVM volumes in a LUKS partition on a SSD), the debian-...
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 ...
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 ...
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 ...
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
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 ...
0
votes
1answer
297 views

Problem mounting disk raid0

I did a rescue reboot for my server OVH and I connected to my server by ssh. Then I tried to mount my disk as I normally do but I can't get it. This is the result of the command tried: root@rescue:~#...
0
votes
1answer
232 views

How to run script when user login using sftp

Here I need to run one of the script when login user using sftp, because something misconfigured sshd-config file so that SSH login not working but sftp working fine, My plan is to replace sshd-config ...
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
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
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 ...
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 ...
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 ...
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 ...
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 ...
0
votes
1answer
47 views

choose rescue grub in change root environment

I have an online root server which only gives kernel panic since last update. Now I would like to change grub settings to start in rescue mode. I chroot-ed into the system from my rescue console: M=/...
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 ...
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 ...
0
votes
1answer
996 views

Getting grub terminal after removing Ubuntu partition and unable to boot into Windows

I deleted my Ubuntu partition cause I wanted to install Linux mint. But now when I switch on my laptop, I'm unable to boot into Windows. I'm getting a grub terminal (not sure if it's grub rescue mode) ...
0
votes
1answer
803 views

Cannot boot to windows after deleting Linux Partition(s). Stuck with grub rescue

I just updated my PC to Windows 10, and deleted my Linux partitions. After a restart, it came up with grub rescue. I've tried booting from a Windows recovery disk and doing bootrec /fixmbr bootrec /...
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, ...
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 ...
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 ...
0
votes
1answer
1k views

system rescue cd failure reading sector from cd0

Im trying to run system rescue cd on my HP4250 laptop and im getting a read error on the disk. Its saying the kernel needs to be loaded first, oddly enough, even though this is the place where i ...
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 ...
0
votes
1answer
57 views

Why my rescued PDFs forms are empty?

First, I'm no expert, so don't assume I know much about data recovery. I'm using ddrescue and photorec to try to rescue files from a USB stick. It's a 32GB stick that has no more partition information ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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, ...
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 ...
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 ...
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?
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 ...
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 ...
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 ...
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 ...