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

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

From Manjaro
imported>Fhdk
(change disk reference to a non-existing disk)
imported>Fhdk
(modified disk/partition references to non-existing to avoid copy-paste issues)
Line 65: Line 65:




In this particular instance, '''having used the assisted preparation method to install Manjaro earlier''', the partitions for the author's Manjaro system are as follows:
In this particular instance, '''having used the assisted preparation method to install Manjaro earlier''', the partitions for the author's Manjaro system are as follows ('''Example only''' modify to match your system):


* '''/dev/sda1''': Boot partition
* '''/dev/sdy1''': Boot partition
* '''/dev/sda2''': Swap partition
* '''/dev/sdy2''': Swap partition
* '''/dev/sda3''': Manjaro system
* '''/dev/sdy3''': Manjaro system
* '''/dev/sda4''': Space for personal files.
* '''/dev/sdy4''': Space for personal files.




Line 83: Line 83:
In this instance, as the Manjaro system partition is ''/dev/sda3'', this will 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/'''sdy3''' /mnt




Line 91: Line 91:




In this instance, a separate partition --''/dev/sda1''-- has been used for the GRUB, and will be mounted using the following command:
In this instance, a separate partition --''/dev/sdy1''-- has been used for the GRUB, and will be mounted using the following command:


  mount /dev/'''sda1''' /mnt/boot
  mount /dev/'''sdy1''' /mnt/boot


{{note|Again, if you have not used a separate boot partition, then it (obviously) does not need to be mounted!}}
{{note|Again, if you have not used a separate boot partition, then it (obviously) does not need to be mounted!}}
Line 109: Line 109:
  mount -t devpts pts /mnt/dev/pts/
  mount -t devpts pts /mnt/dev/pts/
  chroot /mnt
  chroot /mnt


= Restore GRUB =
= Restore GRUB =
Cookies help us deliver our services. By using our services, you agree to our use of cookies.