Installed Windows 8 after Manjaro and now there's no grub

Gparted says I have an EFI partition which means I am using a uefi system? this is what i get after running this:

grub-install
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.

So i assume my partiion is uefi and when i do that, using chroot i get :slight_smile:
cannocinal path over lay issue:

i.e

[manjaro manjaro]# grub-install --efi-directory=[efi dir]
Installing for x86_64-efi platform.
grub-install: error: failed to get canonical path of `[efi'.
[manjaro manjaro]# grub-mkconfig -o /boot/grub/grub.cfg
/usr/bin/grub-probe: error: failed to get canonical path of `overlay'.



These are my partitions and I don't want to loose any data:

lsblk -f
NAME FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
loop0
     squash                                                  0   100% /run/miso/
loop1
     squash                                                  0   100% /run/miso/
loop2
     squash                                                  0   100% /run/miso/
loop3
     squash                                                  0   100% /run/miso/
sda                                                                   
├─sda1
│    ext4         560592c9-4c72-4de9-a658-1386d1ba99b9                /mnt/mnt/b
├─sda2
│    ntfs         14D9860C2508214C                                    
├─sda3
│    ntfs   data  1649D12727B7F30E                                    
├─sda4
│    swap         78285570-2162-4616-966d-244c1f0aec03                [SWAP]
├─sda5
│    vfat   EFI   D891-0A1D                             171.8M    13% /mnt
└─sda6
     ntfs         A050D72A50D705C6                                    
sdb  iso966 MJRO1810
│                 2019-09-11-15-00-55-00                              
├─sdb1
│    iso966 MJRO1810
│                 2019-09-11-15-00-55-00                     0   100% /run/miso/
└─sdb2
     vfat   MISO_EFI
                  9B18-65B4                                           
sr0             ``` 

Manjaro is installed in sda1 and sda5 is the efi directory


First off help me check whether I am using a gpt system or mbr? Thankyou

If there is no grub, how did you boot into Manjaro?
Or most likely you boot into livecd OS and do these commands?
It won't work that way.

Then use this method in uefi and don't forget to do the 2 [Additional UEFI Commands] when booted.

If still need help, provide (print) info as stated in link.
Check 'findmnt /boot/efi'

1 Like

liveusb

i don't get any output using 'findmnt /boot/efi'

provide the rest.

i broke my linux.
At boot i can select boot from efi file. I chose linux and now it doesn't even boot up from there i see a screen like this: (emergency mode)

20191117_200633

it will never end

even after providing root password

Use the livecd boot menu and go to grub; as per the link.
You can no longer boot this 'select efi file' way because your efi file is destroyed by windows.

2 Likes

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

Forum kindly sponsored by