0

I am new to linux so I used to use both Windows Xp and Ubuntu.But due to problem in Windows,I re-installed Windows,but While re-starting the system, OS choice menu lost from Boot, Windows automatically opens, and ubuntu lost..,How can I find it..?

5
Contributors
7
Replies
8
Views
8 Years
Discussion Span
Last Post by james chaco
0

Using the live CD boot Ubuntu and go to desktop. Then open terminal(from accessories) and type following:

// Spaces are crucial be careful about them where they are and where they are not.

sudo grub

find /boot/grub/stage1 ( u'll get something like "(hd0, 11)" )

root (hd0,11) here the number 11 should be different for you

setup (hd0)

0

When I Type "sudo grub"
Following Output came out,But finally it had given error:

[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub> find /boot/grub/stage1
(hd0,6)

grub> root(hd0,6)

Error 27: Unrecognized command

grub> root(hd0,6)

Error 27: Unrecognized command

grub>

0

That stuff works and Ubuntu came to boot.But While I choose Ubuntu from boot,it says ---: Error:Unknown Partition,Please help me to came out of here.

0

The same problem occured to me also. All I did was boot into the live cd and Opened the console,

changed to super user mode(sudo su) and reinstalled grub.

First u have to mount the ubuntu partition. In my case it is

mount /dev/sda5 /media/

and then

grub-install --root-directory=/media/ hd0

and then I reboot.

0

First thing happened to me is while I type mode(sudo su) OR mode (sudo su) [including and excluding space between mode and braces] ,It came same output:
ubuntu@ubuntu:~$ mode(sudo su)
bash: syntax error near unexpected token `sudo'

And second Problem is to give directory of the logical drive.In places menu it shows five drives(MUSIC,EMPTY,14.1GB Media( Lost Ubuntu),15.7GB Media(Win Xp),New Volume).You gave directory like /dev/sda5 /media/ I can't understand.What can i do.

0

Using the live CD boot Ubuntu and go to desktop. Then open terminal(from accessories) and type following:

// Spaces are crucial be careful about them where they are and where they are not.

sudo grub

find /boot/grub/stage1 ( u'll get something like "(hd0, 11)" )

root (hd0,11) here the number 11 should be different for you

setup (hd0)

I also have same problem but the smallest difference is that I'm using vista home basic along with ubuntu.
Now when i tried the above commands "find /boot/grub/stage1" gave an error saying "File not found" ,what can i do next.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.