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

imported>Petsam
imported>Petsam
Line 35: Line 35:
==Use mhwd-chroot==
==Use mhwd-chroot==


'''1.''' First, use an application called ''gparted'', which should be in Menu > System > GPartEd. This will provide a simple visual illustration of the partitions on your hard drive(s).
'''1.''' Start by identifying the partition where your Manjaro installation controling the active Grub menu resides and needs repairing. If you are in Graphical mode you can use an application called ''GPartEd'', which should be in Menu > System > GPartEd. This will provide a simple visual illustration of the partitions on your hard drive(s).


Alternatively, you can use  
To do the same thing from terminal or TTY you can use this command


  lsblk -f
  lsblk -f


to list all your partitions.


'''2.''' [https://github.com/manjaro/manjaro-tools mhwd-chroot] is a tool to easily chroot into an installed Linux installation from a live boot of a Manjaro Installation Media.
{{tip|If it is not installed in your live media you can install it in terminal with


'''2.''' [https://forum.manjaro.org/index.php?topic=21472.0 mhwd-chroot] is a tool to easily chroot into an installed Linux installation from a live boot of a Manjaro Installation Media. Install it with


  sudo pacman -S mhwd-chroot
  sudo pacman -S mhwd-chroot }}


Start mhwd-chroot from your Start Menu or in your terminal one of the following commands:
Start mhwd-chroot from your Start Menu (System -> Chroot) or in your terminal with:


  sudo mhwd-chroot
  sudo mhwd-chroot


sudo mhwd-chroot-shell
You will be presented with a terminal. Wait until it shows a list with the available system partitions on your computer and choose the one you want to repair.
 
Next, choose the root partition of your existing Manjaro installation.
 


== Manually Identify and Prepare the Installed Partition(s) ==
== Manually Identify and Prepare the Installed Partition(s) ==
Anonymous user