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

changed the order so the visitor knows that there is an automated script before starting manual chroot .Bit confused if i should also change the numbers Please check T
m (added note at manual mount for btrfs)
(changed the order so the visitor knows that there is an automated script before starting manual chroot .Bit confused if i should also change the numbers Please check T)
Tags: Mobile web edit Mobile edit
Line 52: Line 52:
|}
|}
{{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=== <!--T:10-->
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=== <!--T:9-->
===Manual chroot=== <!--T:9-->
(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}}}}
{{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}}}}
Line 64: Line 71:
{{RootCmd|command=manjaro-chroot /mnt /bin/bash}}
{{RootCmd|command=manjaro-chroot /mnt /bin/bash}}


===Use manjaro-chroot=== <!--T:10-->
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== <!--T:11-->
==Reinstall GRUB== <!--T:11-->
2

edits