Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Linux and software for Linux (http://stream-recorder.com/forum/forumdisplay.php?f=61)
-   -  

How to restore Grub2 in Ubuntu 9.10 from Live DVD

(http://stream-recorder.com/forum/showthread.php?t=5924)

Stream Recorder 02-23-2010 05:35 AM

How to restore Grub2 in Ubuntu 9.10 from Live DVD


 
Boot from Ubuntu 9.10 Live DVD or CD.

Assuming the Ubuntu partition is sda3, and /boot partition is sda4 (if you have a separate /boot partition), open terminal and run:
Code:

sudo -i
mount /dev/sda3 /mnt
mount /dev/sda4 /mnt/boot  #skip this if don't have a separate /boot partition
grub-install --root-directory=/mnt/ /dev/sda

You can find information about partitions with GParted.


All times are GMT -6. The time now is 12:10 AM.