LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-15-2004, 03:40 PM   #1
technician
Member
 
Registered: Jul 2003
Location: Wisconsin
Distribution: Slackware 10
Posts: 50

Rep: Reputation: 15
Unhappy Trouble with GRUB


I'm having trouble getting GRUB to display my options in /boot/grub/grub.conf (I'm using GRUB .94). Here's what I have listed in grub.conf:

++++

#
# Sample boot menu configuration file
#

# Boot automatically after set time (in seconds).
timeout 30

# By default, boot the second entry.
default 1

# Fallback to the first entry.
fallback 0

title Windows 2000
unhide (hd0,0)
hide (hd0,0)
rootnoverify (hd0,0)
chainloader +1
makeactive

# For booting Linux
title Slackware 9.1
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hdb1

++++

I'm using Windows 2000 and Slackware 9.1 (each on it's own HDD). I have GRUB installed to a floppy for testing purposes, and it boots to the "grub>" prompt instead of showing me the choices menu.

Windows 2000 is installed on my MASTER ide drive by itself (which I would assume hd0 is), and Slackware is installed on my SLAVE ide drive by itself (hd1).

I'm not sure that I'm doing the configuration file correctly, so if someone could show me the light I'd appreciate it.
 
Old 02-15-2004, 07:26 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Read http://www.linuxfromscratch.org/view...er08/grub.html
That file looks fine to me, except it should be called /boot/grub/menu.lst not grub.conf
Code:
cp /boot/grub/grub.conf /boot/grub/menu.lst
grub
root hd(1,0) #tells it where to find menu.lst
setup hd(0) #install it on the MBR
quit
 
Old 02-15-2004, 11:18 PM   #3
technician
Member
 
Registered: Jul 2003
Location: Wisconsin
Distribution: Slackware 10
Posts: 50

Original Poster
Rep: Reputation: 15
Well, I tried the suggestions you mentioned (along with visiting that link), but I don't seem to be any further along. I'm still booting right to a "grub>" prompt off the floppy I installed GRUB to.

I guess I'll have to play around with the settings some more, I must be missing something somewhere...it's almost like GRUB either doesn't like my menu.1st file or it can't find it.

Thanks for you ideas though, some of that I hadn't done before ("root (hd1,0)").
 
Old 02-16-2004, 04:55 AM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Not menu.1st , menu.lst , it's l for letter not a number one. Copy and paste from a browser avoids typos
 
Old 02-16-2004, 05:21 AM   #5
shobhit
Member
 
Registered: Sep 2003
Location: kolkata
Distribution: Fedora 7
Posts: 60

Rep: Reputation: 15
booting from a floppy will give you the grub prompt only. to get the menu you have to setup the grub on your mbr.
grub.conf and menu.lst are same (symbolic links).

run: as root
/sbin/grub
find /boot/grub/grub.conf (this will give you the hd(x,y) where your grub is located on your hd)
root hd(x,y)
setup hd(0) (yes thats 0 only).
next time boot from your hdd (not floppy), you should see the menu.
 
Old 02-16-2004, 11:37 PM   #6
technician
Member
 
Registered: Jul 2003
Location: Wisconsin
Distribution: Slackware 10
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks guys! I renamed it to menu.lst, and installed it at the MBR. Things are working great now.
 
  


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
Grub Trouble RedNovember Linux - Software 13 02-20-2006 11:09 PM
GRUB trouble laubster Linux - General 2 01-05-2005 04:47 AM
Grub trouble p1az Linux - General 4 10-03-2003 01:20 PM
Grub trouble mcm8327 Linux - General 2 07-04-2003 09:00 AM
Trouble with GRUB SilverSnake Linux - Software 16 12-06-2002 01:00 PM


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