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 need help for Installing GRUB 1.93 on Slackware 10.2...
I want to install GRUB on Slack 10.2 b/c I overclocked my comp and LILO can't boot Linux when its overclocked...
Before, I was on Fedora Core 4, and GRUB was able to boot Fedora Core 4 under my overclocked PIII... So that's why I want to install GRUB...
And YES, I did some searches on Google, but its so coplicated, im not very friendly with the installation of GRUB, b/c on FC4, it was automatic...
On my comp, GRUB is compiled, now I have to use the "grub-install" script..,
So can you tell me what commands to do to install GRUB on my computer...
I want to do a dualboot Windows XP / Slackware 10.2
Windows XP is on /dev/hda1
The root (/) directory of Slackware is /dev/hda2
My kernel image is located in /boot/vmlinuz
Im using the newer 2.6.17.5 kernel...
Can you tell me what to do with teh grub.conf and all these things?
Oh and, I heard GRUB was better than LILO... Is it true?
title=Gentoo Linux 2.6.17
root (hd1,2)
kernel /boot/linux-2.6.17-gentoo-r4 root=/dev/hdb3
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
The "default 0" line tells GRUB which entry to boot as the default. 0 corresponds to the first entry, 1 to the second and so on. So here, the default is Gentoo.
"timeout x" - x is the number of seconds to wait before booting the default.
The "splashimage" line sets the background to the image specified, clearly this is optional!
Now on to the important info: GRUB counts disks and partitions from 0 using (hdx,y), where x corresponds to the disk and y the partition. So, /dev/hda would be written as hd0 and /dev/hda1 is (hd0,0). For /dev/hda2, it'd be (hd0,1).
For your Linux entry, the root "(hdx,y)" line specifies the partition on which the kernel image resides. If /boot is not on a separate partition to / itself, then this will be the same as your root partition (/dev/hda2 in your case). The "root=/dev/hdxy" in the kernel line specifies the root partition. Since I don't have /boot on a separate partition to /, I have "root (hd1,2)" and "root=/dev/hdb3", i.e. those are the same.
The kernel line specifies the image name, so you'll want "kernel /boot/vmlinuz" if that's what your image is called.
So, your Linux entry should probably look something like this:
title=Slackware Linux 10.2
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2
Your Windows entry will probably be the same as mine, since I also have mine on /dev/hda1.
After editing the file, save it and run "grub-install /dev/hda".
Darn! Multitasking again and Nylex beat me to it. I would suggest that you start by reading the GRUB manual before you start. I would never recommed doing anything to your computer unless you understand what you're doing.
Here's a link to a multi-boot menu.lst file. It is also referred to as grub.conf and usually (at least in newer distros) menu.lst is a link to grub.conf.
If you have a grub.conf file, then make a link to it called menu.lst in the /boot/grub directory. Menu.lst is actually the file that GRUB is looking for.
Newer isn't always better. You should probably ask yourself why the 0.9* versions are the ones being used by the distro maintainers. It's probably because the older ones have most of the bugs worked out. But, if you want to live on the edge at the risk of not being able to boot your machine, that's OK too.
Now, when I boot on GRUB, I see the menu with the 2 entries (Slackware 10.2 and Windows XP), but when I press the arrows to scroll select the second entry, It does't work...
I mean : The arrows doesn't work to scroll down an entry...
But, If I press E (to "edit") on an entry, in the little editor, the arrows WORK, I can scroll down a line...
OOPS...
OK after trying many versions into GRUB2, I decided to take the Legacy 0.97 version, and WOW!, its working!
Boots Linux or WinXP perfectly, and fastly...
I like GRUB alot more than LILO...
Thanx guys!
FINALLY, after 5 weeks trying to resolve my booting problems (it started with my problems with LILO), FINALLY, GRUB rescue ME!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.