[ Ubuntu-BD ] can not find the Ubuntu

Shahriar Tariq shahriar at linux.org.bd
Sat Jun 21 22:41:46 BST 2008


On Sun, Jun 22, 2008 at 12:46 AM, nasir khan <nasir8891 at gmail.com> wrote:

> i was using the ubuntu8.04 and windows in the same pc.but some days ago i
> have to reinstall the windows.now i could not found any option to change my
> OS.
>
> please give me a solution.
> --
> [saikat]
> --
>

you need to reinstall your grub.

*There is no gui solutions (at least not known to me) so dont ask for one.*

*Method 1*

boot into your live cd

in the terminal run


* sudo update-grub*

reboot

this should solve the problem and find your Linux root..


*Alternate method 1*

*sudo grub


grub> find /boot/grub/stage1*

*this will return a result like (hd0,*) as in (hd0,1) (hd0,2)
here hd0 is the drive no and * is the partition no that your Linux root
system resides.
*
*grub> root (hd0,*)


grub> setup (hd0)


grub> quit*


now reboot

you will find your grub...

now try to boot into your linux system it should work just fine...



*Alternate Method 2*
for extreme cases like me if you get error 17 while trying to boot into your
linux system in grub

then use your live cd again to boot into ubuntu

in terminal run


*gksudo gedit /boot/grub/menu.lst*


*this will open your grub menu list

turn all root (hd0,*) to the correct root location*

-
Thanking you
Shahriar


More information about the ubuntu-bd mailing list