Ankur Lachhiramka wrote:
> heyy no problem for that. There is a very standard process for this problem...
> U gota insert the Ubuntu cd again and select the option "try Ubuntu
> without making any change to ur pc" this will get in ubuntu in trail
> mode.
> then u gota start the terminal and then type some commands...
>   
The commands are:

1) Try to mount the partition where you have installed ubuntu, hope you 
know by its number, let it be sdax

$ sudo mount   /dev/sdax   /mnt

2) chroot into this directory

$ sudo chroot /mnt

3) Now open grub inside the chrooted environment

$ grub

4) Try to find where GRUB is installed

grub> find  /boot/grub/stage2

5) You would get some output like (hdx,y) which means GRUB is on hard 
disk hdx and partition number y

Now type the two commands

grub> root  (hdx,y)


grub> setup (hdx)

And its done.....

hdx should come to hd0 in most of the cases. Please ignore "$" and 
"grub>" wen typing the commands, they are just shell and grub prompts

Regards,
Manish

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to