The problem
I have dualboot between Windows 8.1. and OpenSUSE TumbleWeed with encrypted harddisk.
And now, when I try to boot the laptop - I get this error:
Code:
GRUB loading..
Welcome to GRUB!
error: no such cryptodisk found.
error: disk 'cryptouuid/...' not found.
Entering rescue mode...
grub rescue> _
How I got here:
I wanted to increase the Windows partition size, so I shrinked the Linux one. Thus some unallocated space appeared at the end of the harddisk. And I wanted to add it to the Windows partition, while the Linux one is between them. Which caused the corruption ... (Didn't know it will ... so stupid ...)
The state at the moment:
These are the partitions at the moment:
https://i.postimg.cc/qvkS0VnP/Grub-problem-2.jpg
sda4 is my Suse partition. I can see all my files there when I open it with file manager and enter the password for it. So my hope is that I'll be able to restore the things as they were before and not have to re-install everything again.
What I tried so far:
I followed a tutorial found and so - I booted Manjaro from USB (cause I got only that at that moment), mounted the Linux partition on /mnt and also /dev, /sys and /proc to /mnt/(dev|sys|proc) ... then I did `chroot` to `/mnt` and tried `update-grub`. Manjaro doesn't have update-grub command so I found that I have to do `grub-mkconfig -o {path-to-grub.cfg}`.
I tried, it gave me a lot of errors and no result.
Anything else I can do? ... Any help will be appreciated.