Code Monkey home page Code Monkey logo

recover-grub's Introduction

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

recover-grub's People

Contributors

williamcanin avatar

Stargazers

1chuck avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.