Ubuntu fix grub like real user
sudo su
apt-get install grub
mkdir /mnt/root
mount /dev/sda9 /mnt/root
mount /dev/sda6 /mnt/root/boot
mount -t proc none /mnt/root/proc
mount -o bind /dev /mnt/root/dev
rm /mnt/root/boot/grub/menu.lst
chroot /mnt/root
update-grub
ctrl-d
umount /mnt/root/proc
umount /mnt/root/dev
umount /mnt/root/boot
umount /mnt/root/
reboot
Tags: fix, grub, reinstall, Ubuntu, update, update-grub
This entry was posted
on Tuesday, February 9th, 2010 at 1:31 am and is filed under Ubuntu.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.