Sunday, July 17, 2011

Mint10 Grub2 GRUB_TIMEOUT mistakenly set to 0



A few days ago, I repaired my grub, as earlier something was wrong with its settings. I mistakenly set the GRUB_TIMEOUT to zero (0). As a result, I'm no longer can boot into my Linux Mint10. Today, I tried to reinstall the grub, but unfortunately the new installed grub didn't replace the old grub. I then tried to edit the grub, set the time out to 10, but I can't run "sudo update-grub' through live CD.

I searched for solution where then I found this post. I tried, and yes.... I can boot back into my Mint10. Yeehaaaa !!

Here are the summary of the steps taken:


mkdir /mnt
mount /dev/sda9 /mnt
mount -o bind /dev /mnt/dev
mount -o bind /proc /mnt/proc
chroot /mnt/ubuntu bash

then...

update-grub
exit
umount /mnt/proc
umount /mnt/dev
umount /mnt
reboot