grub problem

Asked by jags

hi,
I am new to ubuntu. recently i have installed fiesty fawn on my comp which already has win xp. the entire installation process was ok. at the end of installation process i was told to remove the cd and restart the system. when i rebooted there was no options to select from winxp or ubuntu. it directly goes to the win xp. did reinstalled 3 times. but the same problem.
why i am not getting boot options from winxp and fawn why it is directly going into the winxp.
please help.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Amir Moulavi (amir-moulavi) said :
#1

It's because of grub installation. You should boot up with a live CD and then if you remember the structure of your hard disk partitioning, first mount the partition which is your /:

# sudo mount /dev/hxx /mnt

Replace hxx with yours (if you don't know type "sudo fdisk -l" to find out which partition you should mount). Note that you should mount the / partition. Then chroot to it:

# sudo chroot /mnt /bin/bash

When you did successfully, then do:

# mount -t proc none /proc
# mount -t sysfs none /sys

And finally install the grub by executing:

# grub-install /dev/hxx

This will install grub to your hard disk. Then type exit to quit the chrooted environment and restart the computer.

Revision history for this message
ex-xp64 (ex-xp64) said :
#2

If grub-install doesn't work, then you might want to check your /boot/grub/menu.lst for errors.

try using SuperGrub CD to boot ubuntu.

Can you help with this problem?

Provide an answer of your own, or ask jags for more information if necessary.

To post a message you must log in.