Thank you for replying.
I'll give you step by step what I have done:
As per Hetzner Rescue mode wiki:
fsck -C0 /dev/md2 resulted in:
Quote:
root@rescue ~ # fsck -C0 /dev/md2
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
/dev/md2: clean, 108837/67108864 files, 5143882/268435422 blocks
|
I also did fsck -C0 /dev/md1
Quote:
root@rescue ~ # fsck -C0 /dev/md1
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
/dev/md1 has gone 632 days without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/md1: 47/131072 files (6.4% non-contiguous), 18256/131069 blocks
|
I then did:
cd /mnt
mkdir rescue
mount /dev/md2 /mnt/rescue
Then I did the following:
mount /dev/md1 /mnt/rescue/boot
Then:
mount --bind /dev /mnt/rescue/dev/
mount --bind /proc /mnt/rescue/proc/
mount --bind /sys /mnt/rescue/sys/
Then:
chroot /mnt/rescue /bin/bash
then I ran cat /proc/mdstat
cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sda3[1]
1073741688 blocks super 1.0 [2/1] [_U]
md1 : active raid1 sda2[1]
524276 blocks super 1.0 [2/1] [_U]
unused devices: <none>
Then I've tried to run grub-install /dev/sda and it gives me:
root@rescue [/]# grub-install /dev/sda
Could not find device for /boot
running df -h:
root@rescue [/]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md2 1016G 12G 954G 2% /
I'm lost now. Any further suggestions?