LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-10-2004, 07:40 PM   #1
MunCH
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Red Hat 9, Slackware
Posts: 79

Rep: Reputation: 15
Re: Dual booting Redhat 9 and Slack 9.1


Hi all, well I have usually always dual booted with windows and a linux distro, but I decided to give XP the flick, and some how I have come unstuck. I usually had XP @ hda1, then a 200Mb /boot in hda2 then linux installed at hda3. However I put a 200Mb /boot sector @hda1
installed Redhat 9 on hda2 with grub, then I installed slack on hda3 without a boot loader, and I'm having a bit of trouble getting grub to boot slackware, everything I have tried so far hasnt worked, heres my grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8smp)
root (hd0,0)
kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/ hdb=ide-scsi
initrd /initrd-2.4.20-8smp.img
title Red Hat Linux-up (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdb=ide-scsi
initrd /initrd-2.4.20-8.img
title Slackarse Linux 9.1 (2.4.22)
root (hd0,2)
kernel /vmlinuz root=/dev/hda3 hdb=ide-scsi

#############################################

I have seen some posts with +chainloader and things like that, I wouls really like to get grub going before I recompile my kernels.

Thanks a bunch for your help

MunCH
 
Old 06-10-2004, 08:02 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
I don't use grub (lilo here), but the last line of the Slackware area (maybe it doesn't like being called Slackarse) kernel /vmlinuz.........
looks wrong to me since it is in /boot/vmlinuz, maybe try that edit and see.
 
Old 06-10-2004, 08:34 PM   #3
MunCH
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Red Hat 9, Slackware
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks ringwraith, you saved my day again

Cheers, I'll give it a shot

MunCH
 
Old 06-11-2004, 06:02 AM   #4
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 380

Rep: Reputation: 37
What error does GRUB return when you try to boot slackware.

Isn't it a bit dangerous sharing the boot partition between RH and Slackware. If I remember correctly doesn't an instalation of RH set up a symbolic link to it's kernel as vmlinuz thus overwriting your slack kernel.




AK
 
Old 06-11-2004, 04:40 PM   #5
MunCH
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Red Hat 9, Slackware
Posts: 79

Original Poster
Rep: Reputation: 15
aikempshall, I didnt install a boot loader when I installed slackware, but anyway I get this error:

root (hd0,2)
file system type is ext2fs,
partition type 0x83
kernel /vmlinuz root=/boot/vmlinuz bdb= ide-scsi
Error 15: file not found

Press any key to continue.....

Cheers

MunCH
 
Old 06-11-2004, 05:01 PM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Like ringwraith said, that should be
Code:
title Slackarse Linux 9.1 (2.4.22)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 hdb=ide-scsi
 
Old 06-11-2004, 06:20 PM   #7
MunCH
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Red Hat 9, Slackware
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks Andrew, I did try that with no luck.

Cheers

MunCH
 
Old 06-11-2004, 10:36 PM   #8
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
Munch, look more carefully at the lines. you changed the root= not the kernel location. Use exactly what Andy wrote.
 
Old 06-12-2004, 01:50 AM   #9
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 380

Rep: Reputation: 37
When MUNCH wrote that <I installed slack on hda3 without a boot loader> my guess is that Slackware was installed in one partition (hda3) , boot and all, in which case my favoured writing of GRUB would be

title slackware
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 hdb=ide-scsi

as /root is on the third partition /dev/hda3
and the kernel is in the boot directory of the third partition

Also If I've got two distros on a machine I would want to have a swap partition.

Can Munch see the Slackware /boot/vmlinuz on /dev/hda3 from RH by using mount?

AK
 
Old 06-12-2004, 03:29 AM   #10
MunCH
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Red Hat 9, Slackware
Posts: 79

Original Poster
Rep: Reputation: 15
aikempshall, I did try ringwraiths suggestion, though it didnt work to start with, now it does lol

though I omitted the hdb=ide-scsi because my dvd-r wasnt working, anyway it works now, thanks a lot guys, I'll paste the grub.cof file once I boot into redhat again incase anyone has a similar problem.

Cheers

MunCH

OK, not sure why this didnt work first time around:

title Slackware Linux 9.1 (2.4.22)
root (hd0,2)
kernel /boot/vmlinuz ro root=/dev/hda3

Last edited by MunCH; 06-12-2004 at 05:41 AM.
 
Old 06-12-2004, 07:55 AM   #11
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
Glad it worked out Munch. From the outputs you posted above, it just looks like you mistyped the first time. Now if ony we can wean you away from RH, we will then own your soul ;-)
 
Old 06-13-2004, 04:23 AM   #12
MunCH
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Red Hat 9, Slackware
Posts: 79

Original Poster
Rep: Reputation: 15
Mwah ha ha ha , I seem to break my linux installations all to easily, I might just leave redhat on till I get RHEL WS, and do all my kernel compiling and experimental stuff on slack, havent mastered that puppy as yet, again thank you for your help.

MunCH
 
  


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
Problems dual booting FC4 and Slack 10.2 bmccorm2 Linux - General 3 11-01-2005 11:13 AM
Dual booting Slack 10/Win XP k4ution Slackware 14 11-20-2004 08:34 AM
WinXP Slack Dual Booting on a 200GB Seagate Barracuda kurtwisener Slackware 1 10-18-2004 01:23 AM
Dual Booting Slack with a new kernel compile? biledaemon Slackware 4 11-16-2003 11:23 AM
Dual Booting Problems with Slack 8.0 and WinME Ontrose Linux - Software 7 07-29-2001 07:18 AM


All times are GMT -5. The time now is 11:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration