Hello to everyone
I’m a new user of Manjaro. I’ve just installed it on my disk. I’ve installed it on a dos / grub partition style. For what I need to do,I can’t use EFI. During the installation it told me if I wanted to install the EFI boot loader. I rejected this option,because I need that it boots on a MBR file system. It replied that the system will not boot. Not good,because I don’t want to be forced to do something that I don’t need. I tried to restore GRUB using this tutorial :
https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader
Reading the instructions it seems that manjaro uses a mixed solution ? EFI and grub at the same time ? Anyway,it looks for the EFI partition,but there isn’t any. And it refuses to install grub. What to do here ? I have also chosen the media / grub installation instead of the EFI one. What should I do to accomplish what I want ? thanks.
> [manjaro /]# grub-install /dev/sdc
> Installing for x86_64-efi platform.
> grub-install: error: cannot find EFI directory.
> [manjaro /]# cd /boot
> [manjaro boot]# cd efi
> bash: cd: efi: No such file or directory
> [manjaro boot]# mkdir efi
> [manjaro boot]# sudo mount /dev/sdc1 /boot/efi
> [manjaro boot]# 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 boot]# mkdir /boot/efi
> mkdir: cannot create directory ‘/boot/efi’: File exists
> [manjaro boot]# gparted
> No protocol specified
> Unable to init server: Could not connect: Connection refused
>
> (gpartedbin:443): Gtk-WARNING **: 22:27:03.248: cannot open display: :0.0
> [manjaro boot]# gparted
> No protocol specified
> Unable to init server: Could not connect: Connection refused
>
> (gpartedbin:470): Gtk-WARNING **: 22:27:08.286: cannot open display: :0.0
> [manjaro boot]# ls
> efi initramfs-5.6-x86_64.img memtest86+
> grub intel-ucode.img vmlinuz-5.6-x86_64
> initramfs-5.6-x86_64-fallback.img linux56-x86_64.kver
> [manjaro boot]# cd efi
> [manjaro efi]# ls
> bin dev lib mnt root sbin sys var
> boot etc lib64 opt rootfs-pkgs.txt snap tmp
> desktopfs-pkgs.txt home lost+found proc run srv usr
> [manjaro efi]# cd ..
> [manjaro boot]# sudo umount /dev/sdc1 /boot/efi
> umount: /boot/efi: not mounted.
> [manjaro boot]# sudo umount /dev/sdc1
> [manjaro boot]# gparted
> No protocol specified
> Unable to init server: Could not connect: Connection refused
>
> (gpartedbin:505): Gtk-WARNING **: 22:28:17.552: cannot open display: :0.0
> [manjaro boot]# pacman -S gparted
> error: failed to init transaction (unable to lock database)
> error: could not lock database: Read-only file system
> [manjaro boot]# grub-install /dev/sdc
> Installing for x86_64-efi platform.
> grub-install: error: cannot find EFI directory.