You'll never walk alone

Archive for November, 2011

Nov
20

Reinstall grub from live distro

Posted by sabba

Boot from Live CD / USB

open a terminal

sudo su

mount your linux partition (in my case /dev/sda5)

mount /dev/sda5 /mnt

mount specials

mount –bind /dev /mnt/dev

mount –bind /proc /mnt/proc

mount –bind /sys /mnt/sys

chroot to your mounted linux partition

chroot /mnt

update ad install grub

update-grub

exit from chrooted partition

exit

unmount all

umount /mnt/sys

umount /mnt/proc

umount /mnt/dev

umount /mnt

reboot

About Me

    About

    Some details about you.

    Open "about_text.txt" file in the theme folder to edit this text.

Recent Comments

execution time: 0.03 secs