In Linux you could face an impossibility to mount a crypted partition.
The command that could be useful then are
1. sudo dmsetup ls --tree
2. ls -l /dev/mapper/
3. sudo dmsetup remove /dev/dm-0
You have to replace dm-0 with your result in 2.
a thoughtful use of digital
In Linux you could face an impossibility to mount a crypted partition.
The command that could be useful then are
1. sudo dmsetup ls --tree
2. ls -l /dev/mapper/
3. sudo dmsetup remove /dev/dm-0
You have to replace dm-0 with your result in 2.
It could happen that your PC, after some operations (i.g. with gdisk) doesn’t start booting and you are therefore in grub rescue prompt. A very unpleasant situation.
The steps to follow are:
ls
(hd0)(hd0,msdos1)(hd0,msdos2)(hd1)(hd1,gpt1)set prefix=(hd0,gpt2)/boot/grubset root=(hd0,gpt2)/ root=/dev/sda2 (if the right partition is hd0,gpt2 the name is /dev/sda2, if it was hd1,gpt3 it would be /dev/sdb3)insmod normalnormal (or boot)In this way the system should start with the expected partition.