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

no edit summary
imported>Verityproductions
imported>Verityproductions
Line 30: Line 30:




'''2.''' List your partitions. This is necessary in order to identify the partition your Manjaro system is installed on. If you have used a seperate boot partition, it will be necessary to identify this as well. For a list of your paritions, enter the command:
'''2.''' List your partitions. This is necessary in order to identify the partition your Manjaro system is installed on. If you have used a separate boot partition, it will be necessary to identify this as well. For a list of your paritions, enter the command:


  sudo blkid
  sudo blkid
Line 37: Line 37:
In this particular instance, the partitions for the author's Manjaro system are as follows:
In this particular instance, the partitions for the author's Manjaro system are as follows:


* '''/dev/sda1''': Seperate boot partition
* '''/dev/sda1''': Boot partition
* '''/dev/sda2''': Swap partition
* '''/dev/sda2''': Swap partition
* '''/dev/sda3''': Manjaro system
* '''/dev/sda3''': Manjaro system
Line 51: Line 51:




In this instance, as the Manjaro system partition is ''/dev/sda3'', this will first be mounted, using the following command:
In this instance, as the Manjaro system partition is ''/dev/sda3'', this will be mounted using the following command:


  mount /dev/'''sda3''' /mnt
  mount /dev/'''sda3''' /mnt




'''IF''' you have used a seperate partition for your GRUB bootloader, then this must also be mounted. The syntax to mount a partition used to boot is:
'''IF''' you have used a seperate partition for your GRUB bootloader, then this must also be mounted. The syntax to mount a separate partition used to boot is:


  mount /dev/'''[partition used for GRUB]''' /mnt/boot
  mount /dev/'''[partition used for GRUB]''' /mnt/boot