re-installing grub on system
ok,
So i had my laptop set up with Ubuntu 10.10 and Win 7 with grub as the boot loader. Windows recently died and had to be re-installed (the disk would not even consider repairing it). This had lead to grub not being the boot loader. I know it is difficult to install grub after windows, but i want to protect my Linux partition which is still good. how can i install grub now on the system? thanks for any help, Larry |
Quote:
Grub2 Ask if there is something you do not understand. |
1) boot from livecd
2) open terminal (applications->accessories->terminal) 3) switch to root (sudo su -) 4) mkdir /mnt/recover 5) mount /dev/sda1 (or whatever your / partition is) 6) mount --bind /proc /mnt/recover/proc 7) mount --bind /sys /mnt/recover/sys 8) mount --bind /dev /mnt/recover/dev 9) chroot /mnt/recover 10) grub-install /dev/sda (or whatever drive your / partition is on, usually /dev/sda) 11) reboot |
All times are GMT -5. The time now is 04:27 AM. |