LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-31-2004, 03:34 PM   #1
Gusman
LQ Newbie
 
Registered: Jul 2004
Location: NY
Distribution: Fedora Core 2
Posts: 1

Rep: Reputation: 0
Question Grub Help!


I installed Fedora Core 2 and let it select the partition and other info. It set grub as the boot loader. After installation, it restarted and instead of getting the grub gui all I got was GRUB in the top left corner. This was not a prompt either.
I put in the fedora disc and ran rescue. I did the grub-install command (don't remember what exactly) and everthing seemed to go fine. I then restarted and now I do at least get the grub prompt.
How do I start linux now that I am in grub. Do I need grub even though I only want 1 o/s? If I don't need it, how do I get rid of it? any help would be great, thanks.



-Chris-
 
Old 07-31-2004, 03:52 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
u need to see ur grub.conf at /boot/grub/grub.conf while in rescue mode
see the label of linux fedora core 2 from there

at the grub prompt now use this label to use linux

if u feel uncomfortable about grub use lilo instead
 
Old 07-31-2004, 04:21 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
What partition is your root partition? What partition is /boot on? Grub counts from zero so all numbers are on less than you're used to. Also, it uses numbers not letters for drives (again, counting from zero) so if your root partition, / is on /dev/hda5 grub will see that as (hd0,4) or if your root is on /dev/hdb6 that's (hd1,5) to grub. So for the sake of argument, suppose your root partition is /dev/hda5, these commands at the grub prompt should get you to boot
>root=(hd0,4)
it will answer some stuff about ext3

>kernel=/boot/vmlinuz root=/dev/hda5
it will answer some stuff about the kernel

>boot
god bless all who sail in her...
 
Old 08-01-2004, 02:44 PM   #4
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
What you need to do, is setup grub. It got mixed up somehow. When you get into your FC. Run the console as root. But instead grub-install (which only installs the grub to the mbr), you need to setup grub.

To do that, do the following:

as root in console

/sbin/grub (this will get you in the grub command line)

root (hd0,1) (where hd0 is your primary harddisk and 0 is the number of the /boot partition

setup (hd0)

This will take some steps, and tell you if there were any errors.

Once you do that, exit grub, either with exit or quit. And reboot, you should get a beautifull graphical login screen If you don't, but you will, go and install grub to the mbr with /sbin/grub-install /dev/hda

Good luck!

Peace!
 
  


Reply


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM


All times are GMT -5. The time now is 04:50 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