Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-12-2009, 09:53 AM   #1
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, 02:13 PM   #2
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Google or search this forum for fix grub.
Old 11-12-2009, 02:55 PM   #3
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:

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



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 08:39 AM
Grub command prompt during install - what do I have to type? snowweb Linux - Newbie 1 09-08-2009 03:24 PM
When GRUB fails then command prompt appears then what to do sumeet inani Linux - Newbie 1 07-04-2009 04:47 PM
GRUB command prompt, which stage?? adnankhawer Linux - Newbie 4 02-23-2009 11:49 AM
how do I boot a cd from a grub command prompt? mangolicious Linux - Software 3 02-12-2006 08:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:21 PM.

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