LinuxQuestions.org
Visit Jeremy's Blog.
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 01-29-2008, 03:23 PM   #1
channi3
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Rep: Reputation: 0
Question [GRUB 0.97] No Grub.conf or Menu.lst


Hi, I'm trying to install GRUB to manage my dual-boot system.

I'm very new to this, so searching around on How-To guides, this is what I've done:

1) Downloaded grub-0.97.tar.gz into root
2) #tar zxvf grub-0.97.tar.gz (extract files)
3) #cd grub-0.97 (goes to folder)
4) #./configure (something happens...)
5) #make
6) #make install
7) #grub-install /dev/hdb

After that, I browse to my GRUB folder (/boot/grub..), but i dont see the grub.conf or the menu.lst, and i know you need one of them to configure GRUB

Dont know if this helps but these are the files in the folder:

default
device.map
e2fs_stage1_2
fat_stage1_5
ffs_stage1_5
iso9660_stage1_5
jfs_stage1_5
minix_stage1_5
reiser_stage1_5
stage1
stage2
ufs2_stage1_5
vstafs_stage1_5
xfs_stage1_5

Have i missed something out?
Thanks
 
Old 01-29-2008, 03:45 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,491

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Yep - start typing ...
When you do things manually, you do it yourself. How is the packager (of that tarball) to know your system ???.

Use menu.lst - grub.conf was just an ugly hack that has (fortunately) now been killed.
 
Old 01-29-2008, 04:03 PM   #3
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Quote:
I'm trying to install GRUB to manage my dual-boot system.
...
7) #grub-install /dev/hdb
...
Installing to hdb is more like installing to nowhere, is there another bootloader in hda that chainloads GRUB?
 
Old 01-29-2008, 07:05 PM   #4
channi3
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Original Poster
Rep: Reputation: 0
oops forgot to mention, I'm using vmware to test out this system, and the partitions are labeled as hdb1 and hdb2, so the MBR should be in hdb right?

i've restarted the system, but it doesn't give me any operating systems to choose from,just the GRUB shell.

how do i create a config file? so that the choices appear when i start the system.

thanks
 
Old 01-29-2008, 07:33 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
Read Chapter 5 of the Grub manual (Configuration). It lists the minimum entries to make in the menu.lst, in the order they should be in the file.

Other that than, you could mount the bootable partitions and search for a /boot/grub/menu.lst in the other OSs.

If you're lucky, you will find one that you can copy and edit to fit your needs.
 
Old 01-31-2008, 08:43 PM   #6
channi3
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Hey it worked!, i tried grub.conf first but that failed, so i renamed the file to menu.lst and its now working perfectly.

But when i try to add a splashimage, it doesn't work. The version of grub i have is 0.97, and By looking around on the net, i discovered that GRUB 0.97 doesnt support splashimages, and its needs to be patched.

So i look around the net, and find this:
http://linuxfromscratch.org/pipermai...attachment.obj

it has a compressed file, when i've extracted the files in linux, i get aload of *.patch files.

What do i do with them, in-order to patch my installed GRUB?

Thanks
 
  


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 menu.lst/grub.conf file with multiple partitions dasy2k1 Linux - General 1 04-19-2007 09:42 AM
/grub/menu.lst file disappeared but computer still boots (grub) rrrssssss Linux - General 5 04-08-2007 10:02 AM
grub.conf vs. menu.lst netstv Linux - General 3 11-24-2004 07:19 PM
grub.conf vs menu.lst linmix Linux - Software 2 08-26-2004 04:17 PM
grub.conf is menu.lst??? zombyLINUX Linux - General 4 03-31-2004 09:12 PM


All times are GMT -5. The time now is 05:24 AM.

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