Leia em Português - Brasil.
[ ABOUT ]
"Recover Grub" is a Python script that allows the recovery of Grub Linux in a more automatic way, not needing the user remember and enter complicated commands.
[ REQUIREMENTS ]
[ COMPATIBILITY ]
[ USAGE ]
A - Insert the CD / DVD (or Bootable Pendrive) from a Linux distribution on the machine and boot.
B - With the internet active, download the "Recover Grub". To do this, execute the command below:
# curl -L git.io/recover_grub -o recover_grub.py
# wget git.io/recover_grub
C - With "Recover Grub" in hand, the next step is to give permission for the file "recover_grub.py" and choose the device on the machine where the distribution Linux is installed.
# chmod +x recover_grub.py
# python recover_grub.py device
D - After choosing, the "Recover Grub" will enter the chroot section for you to run the Grub recovery command. The command is:
# python recover_grub.py start
E - The "Recover Grub" is very intuitive, after finishing, it will say to quit the chroot with the "exit" command and then restart the machine.
Run the commands:
[ DEVELOPER ]
Preparing machine for development:
A - Create a virtual machine:
git clone https://github.com/williamcanin/recover-grub.git; cd recover-grub python -m venv venv
B - Enable virtual machine:
To run the Recover Grub tests, do:
$ make tests
The Python module used for testing is the unittest.
[ LICENSE ]
MIT License MIT
Since 2016 © Recover Grub. William C. Canin. All rights reserved. ®*