Created
October 9, 2024 11:36
-
-
Save atomofiron/afccba7b5a1039ac96c271aae34bbebd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
cryptsetup luksClose luks-part-uuid | |
cryptsetup convert --type luks2 /dev/nvme0n1p6 # type YES and press Enter | |
mkdir /tmp/linux | |
cryptsetup luksOpen /dev/nvme0n1p6 linux | |
mount /dev/mapper/linux /tmp/linux -o subvol=@ # '-o subvol=@' for btrfs only | |
mount /dev/nvme0n1p4 /tmp/linux/boot/efi | |
manjaro-chroot /tmp/linux | |
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Linux --recheck | |
grub-mkconfig -o /boot/grub/grub.cfg | |
exit | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
grub luks password retry