SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Hello, Everyone
In my quest for illumination on this matter, I have discovered that I can boot Slackware 8.1 using the GRUB boot-loader. I even discovered the following article http://www.linuxjournal.com/article.php?sid=4622 that describes how to install GRUB. The article even explains how to configure GRUB to boot Slackware. Please forgive me if the answer is staring me in the face, but my "problem" is that I already have GRUB installed on my system, which is a dual-boot system with GRUB and Windows XP on the first hard drive (GRUB is on the MBR) and Red Hat 8 on the second hard drive. My question is, do I have to do anything to configure GRUB, which is already installed on my MBR, to add Slackware 8.1 to the menu where I choose which OS to boot? And if I do have to do something to get Slackware 8.1 in my GRUB menu, what is it that I have to do? I assume that any answer you give me will add an entry for Slackware to my /boot/grub/grub.conf file. If I haven't given you enough information, I will be glad to answer any questions that you may have for me Thanks in advance for your help
Steven P. Ulrick
P.S.: Point of clarification: I do not have Slackware 8.1 installed on my system yet. The cd's should be arriving in a few days
Last edited by StevenPUlrick; 02-15-2003 at 07:24 AM.
First of all, thanks for your quick response By way of clarification, I assume that you are saying that Slackware will automatically be detected by GRUB and added to /boot/grub/grub.conf, and that I should not have to do anything special to cause it to be added to the choices on the GRUB boot menu?
No,Grub won't automatically add Slackware. You would have to add it to your Grub.conf. in RH. I prefer Lilo myself but if you prefer Grub that's OK. The partition naming system for Lilo is easier to me but I haven't used Grub in a while. When you install Slack you'll be given an option 1. Install Lilo to the MBR. 2. Install Lilo to your root directory or 3. Do not install. One will give you an option to mount any other partitions (your RH partition should be there). 2 or 3 will simply send you to the next screen.
A little "heads up" on the Slack install. Do the "full install-no prompt". Then,when,X won't start,my mouse doesn't work or any of the other problems arises. (It will) Type "mc" at the prompt and GNU's Midnight Commander will save you hours of frustration. It's very user friendly.
If you already have grub handling your MBR, there's nothing to it really.
Your new distro won't even require a bootloader, i.e. don't install LILO during Slack's install, and if you can't [...don't remember], just install it on the bootable partition, not on the MBR.
Edit your /boot/grub/menu.lst [...or grub.conf???, never seen or used that one] to add the new entry using your actual linux entry as a guide.
If you already know on what partition your new distro will be you might as well modify it prior to installing, it will be ready for your first reboot.
Here's an example:
Code:
untamed@Pentium4 ~
>cat /boot/grub/menu.lst
color blue/cyan yellow/magenta
title Arch-0.4
root (hd0,6)
kernel /boot/vmlinuz root=/dev/discs/disc0/part7 ro hdc=ide-scsi
title Slack 9.0beta
root (hd0,7)
kernel /boot/vmlinuz root=/dev/hda8 vga=794 ro hdc=ide-scsi
title Win2k Pro
root (hd0,0)
makeactive
chainloader +1
As you can see it's quite bare and simple as I can use one linux to rescue the other [...ahhh! chroot ], I don't need failsafe-type entries. but it should be enough to give you an idea.
i ask you this info because i have installed slack on my pc.
I have win xp, rh and i would try slack
I have just all primary partition busy( xp, 2 partiton for lrh and the extended).
So i have created a partition under the extended..and i use the rh swap partiton slack too.
I have grub and when i lunch slack it say that he couldn't find initrd image..so i ask to you your config!
Do you think that i made errors with partition or do you have idea where i mistype configuration?
I made full install slack..i use cd installation and no lilo install.
It's possible to share one" /home" partition with more than one distro. I just haven't set it up yet and the swap is shared between all three Linux systems. Simple is good.
No initrd?
Double check to see if your /etc/fstab and /boot/grub/menu.lst match, don't forget that GRUB is 0 based, so (hd0,4) is hda5.
If all else seems in order and it still fails, boot with your install cd to rescue, or chroot from R-H, and install LILO on the boot partition
#/sbin/lilo -b /dev/hda5 [...or wherever you installed Slack].
...but I just installed Arch on my old box and didn't install the boot loader and grub boots it just fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.