I've recently installed Windows 10 (on sdf2) on my Manjaro pc and now I can't boot to Manjaro.
Initially I followed Restore Manjaro boot after installing Windows 10 and after seeing that it was not for my use case I went back to my usual go to > How to chroot into an encrypted root partition
My manjaro OS installation is encrypted.
This is what I got after following the steps in How to chroot into an encrypted root partition
[manjaro@manjaro ~]$ su
[manjaro manjaro]# cryptsetup open --type luks /dev/sdg2 crypto_LUKS
Enter passphrase for /dev/sdg2:
[manjaro manjaro]# mount /dev/mapper/crypto_LUKS /mnt
[manjaro manjaro]# mount /dev/sdg1 /mnt/boot/efi
[manjaro manjaro]# mount -t proc proc /mnt/proc
[manjaro manjaro]# mount -t sysfs sys /mnt/sys
[manjaro manjaro]# mount -o bind /dev /mnt/dev
[manjaro manjaro]# mount -o bind /run /mnt/run
[manjaro manjaro]# mount -t devpts pts /mnt/dev/pts/
[manjaro manjaro]# cp /etc/resolv.conf /mnt/etc/resolv.conf
cp: overwrite '/mnt/etc/resolv.conf'? y
[manjaro manjaro]# chroot /mnt
[manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
[manjaro /]# sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1. Check your device.map.
Found Windows Boot Manager on /dev/sdg1@/EFI/Microsoft/Boot/bootmgfw.efi
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
At boot up I get asked for the luks password as usual.
This is what grub shows:
This is what I see when trying to boot manjaro:
I have turned off Windows 10 hibernation and fast startup by running "powercfg -h off".
I have triple checked that secure boot is disabled and fast startup is disabled.
fsdisk -l
Disk /dev/sdf: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Disk model: Patriot Pyro SE
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A4D8E520-A21E-4102-8809-87C0EF7541D6
Am I using a separate /boot partition?
lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squashfs
loop1 squashfs
loop2 squashfs
loop3 squashfs
sda
└─sda1 crypto_LUKS 71a824ab-0637-4256-ae13-05837370b207
sdb
└─sdb1 crypto_LUKS b98b7c10-be38-4ad2-9386-db4c85e08436
sdc iso9660 M1804 2019-03-12-09-50-33-00
├─sdc1 iso9660 M1804 2019-03-12-09-50-33-00
└─sdc2 vfat MISO_EFI F464-EFAB
sdd iso9660 M1804 2019-03-12-09-01-11-00
├─sdd1 iso9660 M1804 2019-03-12-09-01-11-00
└─sdd2 vfat MISO_EFI BB93-7505
sde
└─sde1 crypto_LUKS ce3460e9-3be5-4d70-8f41-1c897bc8d53c
sdf
├─sdf1
└─sdf2 ntfs AE2405DD2405A983
sdg
├─sdg1 vfat D21E-4DD9 272M 9% /boot/efi
├─sdg2 crypto_LUKS 17a2a4d7-50ad-464a-a5ac-b296631a8dae
│ └─crypto_LUKS ext4 ee80d713-9c90-4a29-94ca-64f1766ac102 10.4G 59% /
└─sdg3 crypto_LUKS 26c904e6-54b6-48bc-afe4-f11ae1e50291
sr0
nvme0n1
└─nvme0n1p1 crypto_LUKS 4aee0162-caa8-4ba8-90e7-422f514bebd7
inxi -Fxz
12System: 12Host manjaro 12Kernel 4.19.28-1-MANJARO x86_64 12bits 64 12compiler gcc 12v 8.2.1 12Desktop Xfce
12Distro Manjaro Linux
12Machine: 12Type Desktop 12Mobo ASRock 12model AB350 Pro4 12serial 12UEFI American Megatrends
12v P5.40 12date 12/19/2018
12CPU: 12Topology 8-Core 12model AMD Ryzen 7 1700 12bits 64 12type MT MCP 12arch Zen 12rev 1
12L2 cache 4096 KiB
12flags avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 12bogomips 124618
12Speed 3119 MHz 12min/max 1550/3900 MHz 12Core speeds (MHz) 121 3120 122 3115 123 2306 124 2780
125 1556 126 1557 127 3123 128 3131 129 1556 1210 1556 1211 1555 1212 1555 1213 3115 1214 3123 1215 1556
1216 1555
12Graphics: 12Device-1 NVIDIA TU106 [GeForce RTX 2070 Rev. A] 12vendor eVga.com. 12driver nvidia 12v 418.43
12bus ID 26:00.0
12Display x11 12server X.org 1.20.5 12driver nvidia 12tty N/A
12Message Advanced graphics data unavailable for root.
12Audio: 12Device-1 NVIDIA TU106 High Definition Audio 12vendor eVga.com. 12driver snd_hda_intel
12v kernel 12bus ID 26:00.1
12Device-2 AMD Family 17h HD Audio 12vendor ASRock 12driver snd_hda_intel 12v kernel
12bus ID 28:00.3
12Sound Server ALSA 12v k4.19.28-1-MANJARO
12Network: 12Device-1 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 12vendor ASRock
12driver r8169 12v kernel 12port d000 12bus ID 25:00.0
12IF enp37s0 12state up 12speed 1000 Mbps 12duplex full 12mac
12Drives: 12Local Storage 12total 2.64 TiB 12used 17.50 GiB (0.6%)
12ID-1 /dev/nvme0n1 12vendor Intel 12model SSDPEKNW010T8 12size 953.87 GiB
12ID-2 /dev/sda 12vendor Western Digital 12model WD1002FAEX-00Z3A0 12size 931.51 GiB
12ID-3 /dev/sdb 12vendor Crucial 12model CT500MX500SSD4 12size 465.76 GiB
12ID-4 /dev/sdc 12type USB 12vendor Patriot 12model N/A 12size 3.73 GiB
12ID-5 /dev/sdd 12type USB 12model CREATIVE MuVo T100 12size 3.77 GiB
12ID-6 /dev/sde 12vendor Micron 12model C400-MTFDDAK128MAM 12size 119.24 GiB
12ID-7 /dev/sdf 12vendor Patriot 12model Pyro SE 12size 111.79 GiB
12ID-8 /dev/sdg 12vendor Intel 12model SSDSC2CW120A3 12size 111.79 GiB
12Partition: 12ID-1 / 12size 29.40 GiB 12used 17.47 GiB (59.4%) 12fs ext4 12dev /dev/dm-0
12Sensors: 12System Temperatures 12cpu 33.4 C 12mobo N/A
12Fan Speeds (RPM) N/A
12Info: 12Processes 311 12Uptime 22m 12Memory 15.66 GiB 12used 1.43 GiB (9.1%) 12Init systemd 12Compilers
12gcc 9.1.0 12Client shell wrapper 12v 5.0.9-release 12inxi 3.0.36