5 years ago
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.
First go to download the latest version of Super Grub2 Disk.
The following version.
Recommended download (Floppy, CD & USB in one) (Valid for i386, x86_64, and x86_64-efi):
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
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.
Once the medium start you choose the option,
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.
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" ]
From Terminal enter the following commands accordingly.
A) For Bios legacy mode.
apt-get install --reinstall grub
B) For EFI - x86_64-efi.
apt-get install --reinstall grub-efi-amd64
Ready Grub2. You do not have to restart, continue your work and next time the computer will start normally.
Very very interesting. Thank you
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).