Tutorial Restore grub2 fast and reliable from your system in Legacy or EFI mode with Super Grub2 Disk

panpan
  8 years ago
  3

Restore grub2 fast and reliable from your system in Legacy or EFI mode with Super Grub2 Disk

The quickest and easiest way to repair Grub2 from your system in Legacy or EFI mode, using Floppy, CD, DVD, USB, is the Super Grub2 Disk. In addition, you can access Windows and other operation system to make corrections there.

 

Step 1

First go to download the latest version of Super Grub2 Disk.

http://www.supergrubdisk.org/category/download/supergrub2diskdownload/super-grub2-disk-stable/

 

Step 2

The following version.

Recommended download (Floppy, CD & USB in one) (Valid for i386, x86_64, and x86_64-efi):

https://forja.cenatic.es/frs/download.php/file/1844/super_grub2_disk_hybrid_2.02s3.iso

 

Step 3

Once you download the iso check if it is the right sum from the terminal MD5SUM as shown by my own example, where is the right sum, and thus correct the iso.

~ $ Md5sum /home/panpan/Downloads/super_grub2_disk_hybrid_2.02s3.iso

e7515b7d4e9ea90f28b7f5a534906b85 /home/panpan/Lipseis/super_grub2_disk_hybrid_2.02s3.iso

e7515b7d4e9ea90f28b7f5a534906b85

 

Step 4

You can install the iso on Floppy, CD, DVD, USB with the appropriate program. After the creation keep it in a save place and hope that it will be unnecessary. But if you need it then you simply place it and adjust the Bios to boot from: Floppy, CD, DVD, USB.

 

Step 5

Once the medium start you choose the option,

Everything

Which shows you all the installed operating systems on your computer, in which area and what is Linux or Windows. After selecting for example your operating system Linux Mint sda5, after a while you will enter in your operating system.Don't be mistaken still you do not have Grub. Now you need to install Grub2. Write down or copy these commands or visit this Linux Mint tutorial at http://community.linuxmint.com/ to find again this guide. Before you start make sure you have Internet connection.

 

Step 6

If you do not know if your computer is Legacy or EFI, then from the terminal enter the following command, where the echo will show you what it is.

[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD" ]

 

Step 7

 From Terminal enter the following commands accordingly.

A) For Bios legacy mode.

sudo su

apt-get install --reinstall grub

grub-install /dev/sda

update-grub

 

B) For EFI - x86_64-efi.

sudo su

apt-get install --reinstall grub-efi-amd64

grub-install /dev/sda

update-grub

 

Ready Grub2. You do not have to restart, continue your work and next time the computer will start normally.

Comments
SpeedyGonzalez 8 years ago

Very very interesting. Thank you


MagicMint 8 years ago

I was wondering: “Wow, there are still machines booting from a floppy!” — but no, there ain’t. Although the Super Grub2 Disk website lists as recommended download “Floppy, CD & USB in one”, the release notes of v2.02s3 state that floppies as boot media were supported up to v1.98s1 only, so _any_ mention to a ”floppy” is really obsolete!

There could also be more than one disks installed, in which case grub isn’t necessarily to be found on /dev/sda (for instance, my boot disk is /dev/sdb).