After reinstalling Windows 10 on dual boot with Manjaro, Manraro won't boot''

I tried several answers to similar question like reinstalling GRUB.
I use Live CD and manjaro-chroot -a.
I’m not well experienced with the technical side of Linux.

[manjaro /]# update-grub

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.16-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.16-x86_64.img
Found initrd fallback image: /boot/initramfs-5.16-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.9-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.9-x86_64.img
Found initrd fallback image: /boot/initramfs-5.9-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.8-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.8-x86_64.img
Found initrd fallback image: /boot/initramfs-5.8-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

[manjaro /]# parted -l

Model: ATA WDC WD10EZEX-00W (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start  End     Size    File system     Name  Flags
 1      317MB  991GB   990GB   ext4
 2      991GB  1000GB  9449MB  linux-swap(v1)        swap


Model: SanDisk Cruzer Blade (scsi)
Disk /dev/sdb: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      3224MB  3229MB  4194kB  primary               esp

[manjaro /]# lsblk -fs

NAME  FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0                                        
loop1                                        
loop2                                        
loop3                                        
sda1                           220.7G    71% /
`-sda                                        
sda2                                         
`-sda                                        
sdb1                                         
`-sdb                                        
sdb2                                         
`-sdb                                        

[manjaro /]# efibootmgr -v

BootCurrent: 0006
Timeout: 2 seconds
BootOrder: 0006,0000,0003,0005
Boot0000* Windows Boot Manager  HD(1,GPT,6069f6ff-57c0-4a82-bc6a-8b71f5db6d5a,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 03 00 00 00 00 00 ff f6 69 60 c0 57 82 4a bc 6a 8b 71 f5 db 6d 5a 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 62 00 6f 00 6f 00 74 00 6d 00 67 00 66 00 77 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 00 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0003* Manjaro       HD(1,GPT,56e7e7b8-3ac8-314b-a6fa-56f3d2beb43f,0x1000,0x96000)/File(\EFI\Manjaro\grubx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 b8 e7 e7 56 c8 3a 4b 31 a6 fa 56 f3 d2 be b4 3f 02 02 / 04 04 36 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 61 00 6e 00 6a 00 61 00 72 00 6f 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0005  Hard Drive    BBS(HD,,0x0)53616e4469736b00
      dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
    data: 53 61 6e 44 69 73 6b 00
Boot0006* UEFI: USB     PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(3,0)/HD(1,MBR,0x0,0x6018e0,0x2000)
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 1a / 03 05 06 00 01 00 / 03 05 06 00 03 00 / 04 01 2a 00 01 00 00 00 e0 18 60 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 7f ff 04 00

You need to reinstall grub not just update it with update-grub.

  • Use Live CD and manjaro-chroot -a like before
  • Reinstall grub with:
    # grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
  • Update the grub configuration:
    # grub-mkconfig -o /boot/grub/grub.cfg
  • Exit chroot
    # exit
  • Shut down, remove Live CD and reboot.

GRUB/Restore the GRUB Bootloader - Manjaro .

Thank you for your reply.
Trying to reinstall grub gives this error:

[manjaro /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.

This doesn’t help directly with Grub. However, you might consider installing REFIND bootloader to a GPT-formatted USB/Thumb drive. Booting from REFIND should discover all bootable EFI instances, and even allow you to bypass Grub, and boot Windows or Manjaro directly.

When finally logged into your system you can more comfortably investigate the issues you’re experiencing. You could also install REFIND to your main EFI partition - It’s installable from the AUR, I seem to remember. You could remove REFIND later once your Grub issues are solved or keep using it, as I do.

Directions for installing REFIND to a USB are outside the scope of this suggestion, but Google can be your friend, along with helpful forum members.

Best of luck.

you have 3 dead kernels:

/boot/vmlinuz-5.16-x86_64
/boot/vmlinuz-5.9-x86_64
/boot/vmlinuz-5.8-x86_64

they need to be removed…


since its a reinstall, is fast startup disabled in windows?
also check in bios/uefi if fast boot is disabled - you may not have this option…
is windows on the same hard disk?

2 Likes

Besides reinstalling grub as a third step, as said above you should disable fast boot in windows secondly.
But firstly, open the bios and check that secure boot is off, the system is in uefi mode and the disks access is in ahci mode and not raid.

Thanks for the replies.
I opted for the meantime to install Manjaro on a new disk.
Manjaro worked until now and whenever there was a problem I found the solution.
For now I can’t find the solution.
The lesson is -
On a dual boot system together with Windows, if you have to reinstall Windows, make sure that your Linux device is disconnected because Windows can corrupt your Linux boot files.

Even that is not a guarantee. Depends on how the uefi makes the boot list. If it is static win can still ovewrite it. Some uefis seem to generate the list dynamically according to what they see on the disk and in that case it will automatically add it to the menu after you connect the disk again. It depends.

1 Like