How to make manjaro default boot

I tried to make manjaro default by typing
“Sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --debug --recheck sudo update-grub”
And i then got "grub-install: error: More than one install device?.

By default, GRUB remembers the last entry booted. What’s the output of:

cat /etc/default/grub | grep GRUB_SAVEDEFAULT

Sounds like you were following some outdated guide.

yaourt is deprecated and unsecure, don’t use it. Use pamac or yay instead.

The mhwd-chroot binary no longer exists, use manjaro-chroot instead which is already installed on a live ISO.

You have two commands, not one try this

sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --debug --recheck 

then

sudo  grub-mkconfig -o /boot/grub/grub.cfg
1 Like

Hi Simon, it installed the grub files…but it still booted to windows by default… so what should i do next?

the output is True

Yes manjaro-chroot worked on live… hey man i am a newbie to linux, do you have a reference to new commands… i am using the outdated one and they seem to be only one i find… and what should i do next with manjaro-chroot…

They linked it in the post for you… click on the link.


Also please quote texts (highlight the text and click on “Quote”) instead of doing multiple comments.