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

change disk reference to a non-existing disk
imported>Peter li
m (Peter li moved page Restore the GRUB Bootloader to GRUB/Restore the GRUB Bootloader: Its a subsection of GRUB now)
imported>Fhdk
(change disk reference to a non-existing disk)
Line 120: Line 120:
== For BIOS Systems ==
== For BIOS Systems ==


'''1.''' Install a new GRUB bootloader with the following command:
'''1.''' Install a new GRUB bootloader with the following command ('''Modify to match your system''')


  grub-install /dev/sda
  grub-install /dev/sdy
{{Note|sda is the disk device where you want to install GRUB. You can check it using ''lsblk -f'' or using GParted as explained before.}}
{{Note|sdy is the disk device where you want to install GRUB. You can check it using ''lsblk -f'' or using GParted as explained before.}}




'''2.''' Recheck to ensure the that installation has completed without any errors:
'''2.''' Recheck to ensure the that installation has completed without any errors:


  grub-install --recheck /dev/sda
  grub-install --recheck /dev/sdy




Line 137: Line 137:


All done! Now close the terminal and reboot your system to use your freshly re-installed GRUB.
All done! Now close the terminal and reboot your system to use your freshly re-installed GRUB.


== For UEFI Systems ==
== For UEFI Systems ==
Anonymous user