LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2009, 08:53 AM   #1
tarun28jain
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
Unhappy 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.
 
Old 11-12-2009, 01:13 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Google or search this forum for fix grub.
 
Old 11-12-2009, 01:55 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

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

Code:
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.)
 
  


Reply

Tags
help


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 9.10 as installed inside XP only gets me to GRUB command prompt (xp ok) JRC903 Ubuntu 7 11-14-2009 07:39 AM
Grub command prompt during install - what do I have to type? snowweb Linux - Newbie 1 09-08-2009 02:24 PM
When GRUB fails then command prompt appears then what to do sumeet inani Linux - Newbie 1 07-04-2009 03:47 PM
GRUB command prompt, which stage?? adnankhawer Linux - Newbie 4 02-23-2009 10:49 AM
how do I boot a cd from a grub command prompt? mangolicious Linux - Software 3 02-12-2006 07:17 PM


All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration