User Tools

Site Tools


tutoriais:como_reinstalar_o_grub2_no_linux

This is an old revision of the document!


Como reinstalar o GRUB2 no Linux

Supondo que a particao de boot esteja em sda1

sudo mount /dev/sda1 /mnt
sudo mount -t proc none /mnt/proc
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /sys /mnt/sys
sudo mount -t devpts devpts /mnt/dev/pts
sudo chroot /mnt
sudo update-grub
sudo grub-install /dev/sda

http://linuxandfriends.com/how-to-reinstall-grub2-chroot-into-a-linux-partition/

tutoriais/como_reinstalar_o_grub2_no_linux.1457962013.txt.gz · Last modified: 2019-03-15 10:03 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki