LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 11-12-2009, 08:53 AM   #1
tarun28jain
LQ Newbie
 
Registered: Nov 2009
Posts: 1

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: Mandriva 2011 / Mageia 1 / Linux Mint 12 / CrunchBang Linux 10 Statler / Easy Peasy
Posts: 4,274

Rep: Reputation: 201Reputation: 201Reputation: 201
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: back to Arch
Posts: 16,640

Rep: Reputation: 423Reputation: 423Reputation: 423Reputation: 423Reputation: 423
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 06:57 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration