Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Grub Recovery Script

fdisk -l
mount /dev/sdaX /mnt
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; don
chroot /mnt
update-grub
grub-install /dev/sda
for i in /sys /proc /dev/pts /dev; do sudo umount /mnt$i; done
umount /mnt
reboot


This post first appeared on SMARTMANOJ, please read the originial post: here

Share the post

Grub Recovery Script

×

Subscribe to Smartmanoj

Get updates delivered right to your inbox!

Thank you for your subscription

×