Difference between revisions of "GRUB/Restore the GRUB Bootloader/en"

Updating to match new version of source page
(Updating to match new version of source page)
 
(Updating to match new version of source page)
Line 49: Line 49:
|}
|}
{{Important|If your system is a BIOS/MBR system there is no efi partition. If your system is a BIOS/GPT system you will find an unformatted partion size 1-32MB of the bios boot partition type.}}
{{Important|If your system is a BIOS/MBR system there is no efi partition. If your system is a BIOS/GPT system you will find an unformatted partion size 1-32MB of the bios boot partition type.}}
===Use manjaro-chroot===
Manjaro deploys a script called {{ic|manjaro-chroot}} takes an optional argument which will search the visible devices - scan the partitions for signs of an operating system. If more than one Linux operating system is found you will get a choice of which system to chroot otherwise the file ''/etc/fstab'' from the system is used to mount the partitions and chroot into this system.This script is only available in live iso by default but you can get it in an installed system by installing {{Ic|manjaro-tools-base}} package.
{{RootCmd|command=pamac install manjaro-tools-base}}
{{RootCmd|command=manjaro-chroot -a}}


===Manual chroot===
===Manual chroot===
(Unnecessary if you have used {{ic|manjaro-chroot}})
Mount the partitions using the designated temporary mountpoint and '''always''' start with ''root''
Mount the partitions using the designated temporary mountpoint and '''always''' start with ''root''
{{RootCmd|command=mount /dev/sdyC /mnt}}
{{RootCmd|command=mount /dev/sdyC /mnt}}
{{Important|With a [[Btrfs|BTRFS filesystem]], you should note that the subvolumes must be mounted. That would be in such a case:{{RootCmd|command=mount -o subvol=@ /dev/sdyC /mnt}}}}
Then - if applicable - mount ''boot''
Then - if applicable - mount ''boot''
{{RootCmd|command=mount /dev/sdyB /mnt/boot}}
{{RootCmd|command=mount /dev/sdyB /mnt/boot}}
Line 60: Line 68:
{{RootCmd|command=manjaro-chroot /mnt /bin/bash}}
{{RootCmd|command=manjaro-chroot /mnt /bin/bash}}


===Use manjaro-chroot===
Manjaro deploys a script called {{ic|manjaro-chroot}} takes an optional argument which will search the visible devices - scan the partitions for signs of an operating system. If more than one Linux operating system is found you will get a choice of which system to chroot otherwise the file ''/etc/fstab'' from the system is used to mount the partitions and chroot into this system.
{{RootCmd|command=manjaro-chroot -a}}


==Reinstall GRUB==
==Reinstall GRUB==
8,138

edits