-   Linux - Newbie (
-   -   grub command prompt problem (

tarun28jain 11-12-2009 08:53 AM

grub command prompt problem
i have 2 windows linux fedora and windows xp.when i booted comp one day then instead of asking which os to start a command prompt appears with GRUB written on it.Now how should i fix this problem to get gui interface back without any loss of data.

{BBI}Nexus{BBI} 11-12-2009 01:13 PM

Google or search this forum for fix grub.

pixellany 11-12-2009 01:55 PM

Boot up from any Linux Live CD, open a terminal and do this:


fdisk -l  ##this tells us what all your drives and partitions are.  find the one containing the Linux OS**---let's assume it is sda2.
mkdir /mnt/linux
mount /dev/sda2 /mnt/linux
cd /mnt/linux/boot/grub
sed '/^#/d' menu.lst    ##Post the output of this here

**specifically, we need the partition containing /boot. If there is only one linux partition, then that's it. Otherwise, when you mount the partition, look to see if /boot is there. If not, try a different one. (If there are 2 Linux partitions, /boot is almost certainly on the smaller one.)

All times are GMT -5. The time now is 08:37 PM.