Difference between revisions of "Preserve Manjaro Bootloader"

implemented command templates
(Marked this version for translation)
(implemented command templates)
Line 13: Line 13:


  <!--T:4-->
  <!--T:4-->
sudo grub-install --force /dev/sdxy
{{UserCmd|command=sudo grub-install --force /dev/sdxy}}


<!--T:5-->
<!--T:5-->
Line 28: Line 28:


  <!--T:9-->
  <!--T:9-->
efibootmgr
{{UserCmd|command=efibootmgr}}


<!--T:10-->
<!--T:10-->
It will give an output like this:
It will give an output like this:
{{UserCmdOutput|command=efibootmgr|result=
<pre>
  BootCurrent: 0001
  BootCurrent: 0001
  Timeout: 1 seconds
  Timeout: 1 seconds
Line 40: Line 42:
  Boot0005* Hard Drive
  Boot0005* Hard Drive
  Boot0008* Systemd Boot Manager
  Boot0008* Systemd Boot Manager
</pre>
}}


<!--T:11-->
<!--T:11-->
Line 46: Line 50:


  <!--T:12-->
  <!--T:12-->
sudo efibootmgr -o 0001,0002,0004,0005,0008
{{UserCmd|command=sudo efibootmgr -o 0001,0002,0004,0005,0008}}


<!--T:13-->
<!--T:13-->
Line 56: Line 60:


  <!--T:15-->
  <!--T:15-->
sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi
{{UserCmd|command=sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi}}


<!--T:16-->
<!--T:16-->
Line 62: Line 66:


  <!--T:17-->
  <!--T:17-->
sudo cp /mnt/boot/grub/x86_64-efi/core.efi /mnt/boot/efi/EFI/boot/bootx64.efi
{{UserCmd|command=sudo cp /mnt/boot/grub/x86_64-efi/core.efi /mnt/boot/efi/EFI/boot/bootx64.efi}}


<!--T:18-->
<!--T:18-->
Line 71: Line 75:


  <!--T:20-->
  <!--T:20-->
sudo cp /boot/efi/EFI/Manjaro/grubx64.efi /boot/efi/EFI/boot/bootx64.efi
{{UserCmd|command=sudo cp /boot/efi/EFI/Manjaro/grubx64.efi /boot/efi/EFI/boot/bootx64.efi}}


<!--T:21-->
<!--T:21-->
Line 85: Line 89:
At the other OS grub 2 system, create a custom.cfg file
At the other OS grub 2 system, create a custom.cfg file


<!--T:25-->
<!--T:25-->
sudo touch /boot/grub/custom.cfg
{{UserCmd|command=sudo touch /boot/grub/custom.cfg}}


<!--T:26-->
<!--T:26-->
Moderators, translator
424

edits