Skip to content

Instantly share code, notes, and snippets.

@codepainkiller
Last active September 6, 2015 22:14
Show Gist options
  • Save codepainkiller/ad8e66eb6a1b8e081407 to your computer and use it in GitHub Desktop.
Save codepainkiller/ad8e66eb6a1b8e081407 to your computer and use it in GitHub Desktop.
Instalar/Recuperar GRUB
# Desde un Live CD de Linux, acceder como super usuario
> sudo su
# Listar partciones de disco duro
> fdisk -l
# Montar la partición
> mount /dev/sda[numero_particion] /mnt/
# Instalar grub
> grub-install --root-directory=mnt/ /dev/sda
# Reiniciar computador. Listo!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment