Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Recover Grub An image

Python application GitHub release (latest SemVer) Build Status

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 ]

Python 3.+

[ COMPATIBILITY ]

Linux systems.

[ 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

ou

# 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:

# exit
# reboot

[ 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:

. venv/bin/activate

Tests:

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. ®*

About

🐛 🐍 Recover Grub is a Python script to recover the grub on Linux.

Topics

Resources

License

Sponsor this project

Packages

No packages published