LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [GRUB 0.97] No Grub.conf or Menu.lst (https://www.linuxquestions.org/questions/linux-software-2/%5Bgrub-0-97%5D-no-grub-conf-or-menu-lst-617214/)

channi3 01-29-2008 02:23 PM

[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

syg00 01-29-2008 02:45 PM

Yep - start typing ... :p
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.

Emerson 01-29-2008 03:03 PM

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?

channi3 01-29-2008 06:05 PM

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

bigrigdriver 01-29-2008 06:33 PM

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.

channi3 01-31-2008 07:43 PM

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


All times are GMT -5. The time now is 06:32 AM.