LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub for second distro (https://www.linuxquestions.org/questions/linux-newbie-8/grub-for-second-distro-226298/)

thom 09-03-2004 04:38 PM

Grub for second distro
 
I know something like this has been answered, but I can't figure what I'm doing wrong.
I have 2 hard drives. One which is divided between windows and Slackware. The second drive has SuSe 9.1 which I installed here last.
How can I get to boot into Slackware? Windows boots fine.
Slack is on hda3
/dev/hdb2 / reiserfs acl,user_xattr 1 1
/dev/hda3 /boot reiserfs user,noauto,acl 0 0
/dev/hda2 swap swap pri=42 0 0
/dev/hdb1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0

Obviously I don't need 2 swap partitions, not sure what to do about this.
The matter at hand is I have hda3 mounted as /boot (is this correct) Also it is not mounted automatically.
Second: what would my Grub entry look like maybe: I have tried:
###Don't change this comment - YaST2 identifier: Original name: Slackware###
title Slackware
kernel (hd0,3)/boot/vmlinux root=/dev/hda3

But on boot sytem can't find partition.
thanks

Tinkster 09-03-2004 04:41 PM

If Slack is on hda3, why is suse identifying that
as it's boot - mountpoint? How big is it, what do
you see in boot when SuSE is up?


Cheers,
Tink

thom 09-03-2004 05:26 PM

I added the boot entry by mistake. I was doing it in Yast hazardly.
Still I'm not sure how to get the slack in Grub.

cheers!

Tinkster 09-03-2004 05:39 PM

You'll need to install slacks lilo into it's /
partition (boot it of the 2nd CD) and then
tell grub to chain-load (as if it were XP).


Cheers,
Tink

thom 09-03-2004 05:50 PM

Thanks Tink.

It looks like I'm going to have to reinstall SuSE 9.1 as I missed some packages. (nevermind why)
One last question: What if anything should I enter for the slack partition on a fresh install so I can boot it?
It is hda3 on my first drive, windows is hda1 on the first hard drive of my 2 drives. It's not "/" right?
Also can I use the same swap partition for SuSE on my install as what I created for SLack already?

feel like I got Alzheimers.

Tinkster 09-04-2004 02:48 PM

As I said above ... you'll need to chainload
one of them. Either have grub for suse reside in
SuSE's / and Slacks lilo in hda's MBR, or the other
way round ... unless you decide to put aside a
partition between 30 ~ 100 MB as /boot for both
to share, in which case Grub can handle them
both directly.


Cheers,
Tink


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