LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-03-2004, 05:38 PM   #1
thom
Member
 
Registered: Feb 2002
Location: Washington DC
Distribution: SuSE 9.1/Slackware 10
Posts: 193

Rep: Reputation: 30
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
 
Old 09-03-2004, 05:41 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 09-03-2004, 06:26 PM   #3
thom
Member
 
Registered: Feb 2002
Location: Washington DC
Distribution: SuSE 9.1/Slackware 10
Posts: 193

Original Poster
Rep: Reputation: 30
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!
 
Old 09-03-2004, 06:39 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 09-03-2004, 06:50 PM   #5
thom
Member
 
Registered: Feb 2002
Location: Washington DC
Distribution: SuSE 9.1/Slackware 10
Posts: 193

Original Poster
Rep: Reputation: 30
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.
 
Old 09-04-2004, 03:48 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will 3rd distro be added to grub? wargod2293 Linux - Newbie 2 09-25-2005 10:38 PM
Installing grub without a distro squimmy Linux - Newbie 8 07-20-2005 02:28 PM
Grub over lilo (Changing distro) PPisHere Linux - Software 3 07-10-2005 01:44 PM
grub + booting a knoppix like distro kcorupe Fedora 7 12-17-2004 10:08 PM
Adding another Distro to Grub revenger681 Linux - Newbie 6 03-30-2004 03:05 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration