LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   install instructions for grub... (http://www.linuxquestions.org/questions/linux-software-2/install-instructions-for-grub-85831/)

questionasker 08-26-2003 07:55 AM

install instructions for grub...
 
i had slack installed, and it wants to ise lilo. but i want grub.
so i got the grub .tgz (version 0.93). i extract then do ./config, make , make install, but doesnt seem to be completely installed. is there more to it then this, or am i just doing it wrong? thanks for all the help.

leonscape 08-26-2003 08:05 AM

First make sure there is a directory in /boot called grub.

Also try simply typing grub into a console it should to all sorts of BIOS tests and then leave you with a grub prompt to quit type quit.

Then if you can give me details of your HD's and your lilo.conf I can tell you how to setup grub on your system.

questionasker 08-26-2003 08:17 AM

when i type grub in console, it say command not found.

i got one 10.2 gig hd.

linux ext3- 8 gig (made bootable in fdisk)
linux swap 300 megs (yeah i know very big)
free space about 2 gig

arent you suppose to be able to install to superblock on first partition?

leonscape 08-26-2003 08:47 AM

The command not found means grub may not be installed properly.

which version of grub did you install?

hfawzy 08-26-2003 08:51 AM

.. or maybe grub is not located in a directory listed in his PATH ?

leonscape 08-26-2003 08:54 AM

Just another though, you did do this as root?

(Grub is GNU they [usually] never install anything out of standard path)

questionasker 08-26-2003 09:32 AM

yes i was root.
yes in right path.

i got it installed, when i boot, comes to grub shell.
when i type boot, it says kernel not specified. i type kernel, to tell it where, but says invalid argument?

leonscape 08-26-2003 09:41 AM

We need to make a file called menu.lst in /boot/grub

This is what I guess your should look like (just as an example)

#Standard Settings
timeout 10
default 0
# For booting current kernel
title Linux VERSION
root (hd0,0)
kernel /vmlinuz-VERSION root=/dev/hda1

replace VERSION with whatever your current kernel number is usually its along the lines of 2.4.21 or similar.

To boot from the Grub Shell type the last two lines.
root (hd0, 0)
kernel /vmlinuz-VERSION root=/dev/hda1

questionasker 08-26-2003 12:48 PM

forget this, ill post again l8tr

Skyline 08-26-2003 01:00 PM

The GRUB Manual:

http://www.gnu.org/manual/grub/html_mono/grub.html


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