In a previous article we talked about the benefits of SuperGrub when it comes to recovering the bootloader when our team it hangs and refuses to start.
How to burn a cdrom for less than 400 kBs seems like a waste to me, I’ll tell you how install it in any pendrive that we have, thus being able to have a really valuable tool in a time of need.
Also the pendrive we can continue using it as before, the only thing that will vary is that it will become a bootable pendrive with a folder of few kBs occupied by Supergrub.
The steps to follow are simple:
- Download the latest version of SuperGrub for USB in .tar.gz format (forget about .iso)
- Unzip it in the pendrive.
- Get the path to the pendrive.
Notice that in the command grep I have put the same name as the folder of the pendrive (DISK_IMG) that we had in step 2.
- We run grub as root.
- We launched a
device (hd3) / dev / sdb
EYE I have used / dev / sdb (without the 1) because in step 3 I got / dev / sdb1 as the path to the flash drive. In your case, use the information you obtain
- We wrote
- And we end up writing
Well, you already have your memory stick ready to solve any problem with the boot; if you want to try it you have two alternatives
- Puncture and restart the computer
- Use qemu to simulate computer restart 😉