[Boot direct Windows] can't boot ubuntu10.04

Asked by Ankesh Khandelwal

   i hav installed ubuntu 10.04 & i hav win xp also. But when i start system, win xp booting automatically starts.
   ubuntu doesn't bott or system doesn't give me choice for booting.
   plz help me...

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
delance
Solved:
Last query:
Last reply:
Revision history for this message
delance (olivier-delance) said :
#1

Boot on Ubuntu Live CD, and choose option "Try".
Open a terminal (Applications->Accessories->Terminal) and type
   sudo parted -l
where "-l" is lowercase "-L".
Could ypou mount also Ubuntu partition which is on disk, search a file named grub.cfg (/media/<mounting point>/boot/grub/grub.cfg) and post this file (not one of /boot/grub/grub.cfg, please).

Revision history for this message
Ankesh Khandelwal (ankesh4283) said :
#2

Thanks Delance for your response....
But i could not understand lower part of your answer. I typed sudo parted -l and it displayed a list.
But the second part of your answer (Search file), But media folder was empty.
Please explain your suggestion...
Thanks in advance

Revision history for this message
Best delance (olivier-delance) said :
#3

1) "sudo parted -l"
To help you, I need the result of this command. Please, could you post.
2) "grub.cfg"
Have a look at https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD which explains how to mount a disk.
With "sudo parted -l" you locate ext4fs filesystem. We will suppose it is sda2.
In a terminal type:
    sudo mount /dev/sda2 /mnt
    more /mnt/boot/grub/grub.cfg
and post result of last command

Revision history for this message
Ankesh Khandelwal (ankesh4283) said :
#4

 Thanks Mr. Delance
Your suggestion still not worked but the link, that you gave, has solved my problem...
Now I am using UBUNTU 10.04....
Thank You once again...:-)

Revision history for this message
Ankesh Khandelwal (ankesh4283) said :
#5

Thanks delance, that solved my question.