No grub uefi dual boot menu after Windows 10 update

Hi

I have not been able to resolve this problem.
After an update from windows 10 the computer boots straight in to windows 10.
Originaly I had windows 10 and manjaro kde.
Both systmes are in the same ssd
a different hard drive containing the swap partition and storage area for windows.
There are two small separate partitions for boot(200mb & 500mb) I dont know if the 500mb was ever used because it is empty, the 200mb has some efi files from manjaro.

I tried mounting the partition and re-generation a grub but it said no uefi on this system.
I know it works because the uefi grub menu was working fine before the windows update.

I tried to follow the “Recover grub after windows update” Manjaro instructions but it mixes bios and uefi instruction and I could not make it work.
I dont know why both boot partitions show vfat.

I would really appreciate your help.

Thank you
Tony
*

Restore the GRUB Bootloader
https://wiki.manjaro.org/index.php?title=Restore_the_GRUB_Bootloader

I tried that but get all kinds of errors.

t
[manjaro@manjaro ~]$ lsblk -f                    
NAME   FSTYPE   LABEL         UUID                                 MOUNTPOINT 
loop0  squashfs                                                    /run/miso/sfs/livefs 
loop1  squashfs                                                    /run/miso/sfs/mhw 
loop2  squashfs                                                    /run/miso/sfs/des 
loop3  squashfs                                                    /run/miso/sfs/roo 
sda                                                                 
├─sda1 ntfs     New Volume    4E88A64388A62A03                      
├─sda2 swap                   031641e3-f213-4629-9152-c7545e20b6cc  
└─sda3 ext4     Axceso        c39f8836-9e69-42a3-8992-9fb8c6911dcc  
sdb    iso9660  MJRO180       2018-10-29-20-32-11-00                
├─sdb1 iso9660  MJRO180       2018-10-29-20-32-11-00               /run/miso/bootmnt 
└─sdb2 vfat     MISO_EFI      3102-3BE0                             
sdc                                                                 
├─sdc1 ntfs                   B4FC7F32FC7EEE4C                     /run/media/manjar 
├─sdc2 ntfs                   2CB4BD1DB4BCEB0A                     /run/media/manjar 
├─sdc3 ntfs                   622CD6062CD5D4DF                      
├─sdc4 vfat                   6862-489B                             
├─sdc5 vfat                   1424-9212                            /run/media/manjar 
├─sdc6 ext4                   71b54a59-472e-49e2-9693-eb5642d34671 /run/media/manjar 
└─sdc7 ext4                   368f07cd-6472-4864-ae3b-5a1201aa7049 /run/media/manjar 
sr0    udf      WINGS_S1_2_D4 346a8ec700000000                      
[manjaro@manjaro ~]$ sudo mhwd-chroot 
konsole --separate -e mhwd-chroot-shell 
^[[C[manjaro@manjaro ~]$ 



/dev/sdc6 
swapon UUID=031641e3-f213-4629-9152-c7545e20b6cc 
[manjaro /]# sudo su 
[manjaro /]# mount /dev/sdc6 /mnt 
[manjaro /]# mount /dev/sdc4 /mnt/boot 
[manjaro /]# cd /mnt 
[manjaro mnt]# mount -t proc proc /mnt/proc 
[manjaro mnt]# mount -t sysfs sys /mnt/sys 
[manjaro mnt]# mount -o bind /dev /mnt/dev 
[manjaro mnt]# mount -t devpts pts /mnt/dev/pts/ 
[manjaro mnt]# chroot /mnt 
[manjaro /]# sudo mount /dev/sdc6 /boot/efi 
[manjaro /]# sudo 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. 
[manjaro /]# sudo unmount /dev/sdc6 /boot/efi 
sudo: unmount: command not found 
[manjaro /]# mount /dev/sdc5 /mnt/boot 
mount: /mnt/boot: mount point does not exist.

Use this method outlined here.

It is supposed to be simpler (unless manjaro grub.cfg is messed up itself - not in your case)
I’m in the process of (trying to) simplifying the post and (trying to) make it valid in all cases (including bad manjaro grub, uefi and bio-legacy).

Since I’m in the middle of editing that post, I’ll write down separately just for your case.
Start here…
####################################################

  1. boot up livecd in uefi mode.
  2. Do not boot up to live OS, but press ‘c’ at the menu and we’ll get to the grub prompt (grub>).
grub> search.file /etc/manjaro-release  root
grub> configfile /boot/grub/grub.cfg
  1. When booted
sudo grub-install 
sudo update-grub

##########################################################

Good luck.

5 Likes

Thank you
I will do it.

Thank you. That worked great.

1 Like

much easier than explaining what chroot is and how to use it to fix grub. deserving of bookmark

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.