Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been using LILO for a long time and it have been working without any problems. I am familiar with its config-file and so on.
But today I thought that I may try GRUB instead after I have compiled the 2.6.10-kernel.
Now, grub seems to be almost too difficult. I have installed it from source on Slackware. It came without any config-file so I first had to boot my kernel using the command-prompt. Then I found a config-file on the web that I used. It did not load when I rebooted, I had to manually load the config-file using the command "configfile" and then I got the menus that I wanted but it gave me an error about it not being able to mount. And also I saw that it used the command "splashimage" but not only did grub come without a good conf-file I can't find any splashimage.
How the **** do one install GRUB easily? I read somewhere that grub should be better then LILO both with its entirely graphical menus and being easier to install and configure.
I admit that I could install it. But it is not easy to configure since I had to find a config-file by myself. It was not graphical since it could not load the configfile by itself and when the menus appeard it was only white on black, even LILO is more graphical with a red color.
There are some files located in the directory:
/usr/local/share/grub/i386-pc
such as stage1
stage2 etc
Copy these to /boot/grub
Determine which partition has the bootloader:
Go to the /usr/local/grub-0.93/grub directory
(or whatever version yours is)
The executable file 'grub' is located there.
Enter the command 'grub' to activate the grub environment.
At the 'grub>' prompt, enter the command:
find /boot/grub/stage1
You will be given the location, such as (hd0,4).
This will be needed for the file called menu.lst.
Go to the /boot/grub directory.
Create a file named menu.lst
Edit the file to include a basic menu, such as:
default 0
timeout 20
color light-gray/blue black/light-gray
title Windows ME
rootnoverify (hd0,0)
makeactive
chainloader +1
title Slackware 10.0
root (hd0,4) or whatever
kernel (hd0,4)/boot/vmlinuz ro root=/dev/hda5
title shutdown
halt
Again, from the grub environment, do:
grub> root (hd0,4)
grub> setup (hd0)
This will install the bootloader in the MBR
To install grub into the 'boot saector' of a partition instead
of the MBR, do:
grub> setup(hd0,4)
All numbers such as those in (hd0,4) should reflect your situation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.