LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Restore fstab with correct UUID so that I can boot with crypto_LUKS partition (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/restore-fstab-with-correct-uuid-so-that-i-can-boot-with-crypto_luks-partition-4175683585/)

mind_exploit 10-13-2020 12:31 PM

Restore fstab with correct UUID so that I can boot with crypto_LUKS partition
 
I ended up with this error upon boot:

Code:

GRUB loading..
Welcome to GRUB!

error: no such cryptodisk found.
error: disk 'cryptouuid/6e0637...' not found.
Entering rescue mode...
grub rescue> _

And when I boot live USB and run `sudo lsblk -f` - I get this:

Code:

NAME                        FSTYPE            FSVER  UUID
...
sda
  - sda1           
  - sda4                    crypto_LUKS      1          6e0637...
    - luks-6e0637...        ext4                1.0      082f44...
...

And when I do `cat etc/fstab` of the original Linux installation - I get only this:

Code:

UUID=082f44...        /      ext4        acl,user_xattr        0      1
=====

It looks like it's searching for the wrong UUID ...
So - does that mean that if I restore fstab file - I'll be able to boot? ... And if so - what should I put there?

pan64 10-14-2020 05:23 AM

not enough info.
Do you have another disk too?
where is grub installed?
what is your boot device?
...

ondoho 10-14-2020 06:26 AM

"Restore fstab with correct UUID so that I can boot with crypto_LUKS partition" - are you sure that the former will fix the latter? Have you correctly described your problem, or have you described only what you think is the way to a solution?

edit: this wouldn't happen to be a continuation of your previous thread?


All times are GMT -5. The time now is 01:10 AM.