LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-12-2010, 09:25 AM   #1
mmce
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Rep: Reputation: 0
Unhappy GNU GRUB version 0.97


hi dears
I have a problem
when I turn on my laptop I see this on the screen:

GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]
grub>


what is it?
and what can I do?
plz help me
 
Old 11-12-2010, 03:28 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
What has recently changed.
 
Old 11-12-2010, 03:51 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,732

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
It is the grub command prompt.
If grub (the boot loader) can not find the /boot/grub/menu.lst file then it halts at the command prompt.

What version of Fedora are you running?
Edit:
I see its Fedora 13

Last edited by michaelk; 11-12-2010 at 03:53 PM.
 
Old 11-20-2010, 04:08 PM   #4
stoggy
Member
 
Registered: Jun 2008
Location: Dallas, TX
Distribution: Slackware and FC
Posts: 113

Rep: Reputation: 22
when you get to that command line on boot, you could try

Code:
setup(hd0)
root(hd0,0)
You may have to type one more line after the root(hd0,0) ... i forget ... if it just goes back to a command line, type boot and hit enter.


(hd0) - this is your first drive in grub. like /dev/sda or c: If you installed on /dev/sdb or d: you would put (hd1) and so on...
(hd0,0) - this is the first partition on the first drive.

it might boot it would depend on the problem. if the menu or boot dir is gone, your going to have to fix that. If the problem is just that grub hasn't been installed correctly you can get by it with a little push...

Last edited by stoggy; 11-20-2010 at 04:09 PM.
 
Old 11-20-2010, 05:01 PM   #5
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 54
It should be possible to boot manually from the grub prompt. Try typing:
Code:
 find /boot/grub/stage1
this should show the device(s) where grub is installed.
I can't remember if it shows them as (for instance)
/dev/sda2
or whether you get something like
(hd0,1) which is the same thing in grub1speak.
if it's the former, you will have to convert as follows:
sda1 (first disc, first partition) = (hd0,0)
sda2 (first disc, second partition) = (hd0,1)
sdb1 (second disc first partition) = (hd1,0)
sdb2 (second disc, second partition) = (hd1,1) and so on.
In the following I assume it is (hd0,1) Change the (hdx,y) and sdzz to suit your case.
You then need to type:
Code:
root (hd0,1)
kernel /boot/vml
then hit the <TAB> key Grub will show the possible kernels, or autocomplete if there's only one. Then type, on the same line,
Code:
ro root=/dev/sda2
, and hit <enter>
then type
Code:
initrd /boot/ini
<TAB> as before

make sure the version of the initrd is the same as that of the kernel!
then type
Code:
boot
and hit <return>
If all goes well, it should boot.
Sometimes, particularly with Fedora, there is a separate /boot partition.
In that case, remove "/boot" from the kernel and initrd lines. You will also need to make the "root=/dev/sdzz" point to the / (root) partition, not the /boot partition. You have to know where the / partition is.
It is also possible, when you have found the partition where grub is installed, to use
Code:
cat /boot/grub/menu.lst
, or if there's a separate /boot partition:
Code:
cat /grub/menu.lst
to get the kernel options and you can add these to the kernel line. Note that something is wrong in your menu.lst, so only copy the kernel options, not the root (hdx,y) line or the root=/dev/sdzz.
Hope this helps.
 
  


Reply



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
ifdef not working in GNU make version 3.80 jennifer29 Programming 5 12-19-2011 04:40 PM
how to determine GNU diff version on HP-UX kailash19 Other *NIX 3 04-10-2010 06:09 PM
Gnu GRUB version 0.97 on boot. ArminBeganovic Linux - Newbie 11 09-07-2009 02:24 AM
GNU compiler version used to compile a kernel cricballa Linux - Newbie 2 09-29-2007 12:28 AM
Does Debian use GRUB or GNU GRUB? michapma Debian 4 10-01-2004 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:18 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
Open Source Consulting | Domain Registration