Two empty ubuntus in my boot order (no Manjaro)

You didn't reply to my answer :slight_smile: Should I install Manjaro on my disk again before going into terminal?

no need to install again , only open a terminal,
open also firefox ( ou other browser )
on this topic

1 Like

This is how I am working atm

ok go msg 17/18, be careful
after saving /etc/fstab
exit and redo chroot
you will see /boot/efi mount

# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=d8fd0cbb-9f92-4fe1-af19-f4709702a146 /              ext4    defaults,noatime,discard 0 1
UUID=c6233464-0e63-4296-9d71-494afb8a0214 swap           swap    defaults,noatime,discard 0 2
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
UUID=BC2A-DE6A              /boot/efi     vfat     defaults,noatime 0    2 

Does this look right? I have used spaces to get it beneath their categories

I want to be sure I do this correctly.

need a tab at start /boot/efi
( /boot/efi under /tmp and vfat should be under tmpfs )

# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=d8fd0cbb-9f92-4fe1-af19-f4709702a146 /              ext4    defaults,noatime,discard 0 1
UUID=c6233464-0e63-4296-9d71-494afb8a0214 swap           swap    defaults,noatime,discard 0 2
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
UUID=BC2A-DE6A                          /boot/efi       vfat     defaults,noatime 0    2

Better?

How do I save? :blush:

Ctrl +x answer Yes ( on bottom left you have a little help )

[manjaro@manjaro-gnome ~]$ manjaro-chroot -a
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/sda6]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
mount: /mnt/boot/efi: mount point does not exist.

Perfect then. I'll continue to download grub

1 Like

not good -->exit

you have to reboot on USB install
and open a terminal ( launch browser also on this topic before )
for 2nd chroot

So reboot and then do the same thing again

yes

 manjaro-chroot -a  ( if one line reply 1 or enter )
 ** no error for /boot/efi **
if ok 
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi
sudo efibootmgr -c -d /dev/sda -p 1 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"
sudo efibootmgr -o 0002,0000,0015
exit ( for leaving chroot , must to be done )
[manjaro@manjaro-gnome ~]$ manjaro-chroot -a
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/sda6]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
mount: /mnt/boot/efi: mount point does not exist.
[manjaro-gnome /]# 

So... still an error.

mkdir /boot/efi
exit
manjaro-chroot -a

[manjaro-gnome /]# mkdir /boot/efi
[manjaro-gnome /]# exit
exit
 --> umount: [/mnt]
[manjaro@manjaro-gnome ~]$ manjaro-chroot -a
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/sda6]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
[manjaro-gnome /]# 

Improvements

check with lsbk -fs
/boot/efi from sda

lsbk -fs, is not a command it seems.

you have quit chroot ?

Yes I have

manjaro-chroot -a
lsblk -fs ( /boot/efi from sda )
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi
efibootmgr -c -d /dev/sda -p 1 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"
efibootmgr -o 0002,0000,0015
exit ( for leaving chroot , must to be done )

Forum kindly sponsored by Bytemark