LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-17-2002, 08:37 AM   #1
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Rep: Reputation: 30
Question Problems using grub to multiboot


OK, I've been searching this site for a solution but cant find one so I thought I'd ask.
I am trying to boot, Mandrake8.2, 9.0, Slackware8.1 and windows using Grub, all 4 OS's are installed.
Here's my setup, I have a 6.4 Gig partition with windows and MKD8.2 on HDA, I also have a 60 gig drive with MKD9 and Slackware on HDB, both drives are IDE, I also have a SCSI drive but that isnt an issue here, it's booting MDK9 that's the main problem.
Here's my Grub menu.lst file:
-----------------------------------------------------------------------
timeout 10
color black/cyan yellow/cyan
i18n (hd0,4)/boot/grub/messages
keytable (hd0,4)/boot/uk.klt
altconfigfile (hd0,4)/boot/grub/menu.once
default 0

title Mandrake8
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 devfs=mount hdd=ide-scsi vga=788
initrd (hd0,4)/boot/initrd.img

title Mandrake9
kernel (hd1,4)/boot/vmlinuz root=/dev/hdb5 devfs=mount hdd=ide-scsi vga=788
initrd (hd1,4)/boot/initrd.img

title Slackware
kernel (hd1,5)/boot/vmlinuz root=/dev/hdb6 vga=normal ro
initrd (hd1,5)/boot/vmlinuz-ide-2.4.18

title linux-nonfb
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 devfs=mount hdd=ide-scsi
initrd (hd0,4)/boot/initrd.img

title failsafe
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 devfs=nomount hdd=ide-scsi failsafe
initrd (hd0,4)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

title floppy
root (fd0)
chainloader +1
-------------------------------------------------------------------------
I know there is no way the Slackware entry will work, I'm more concerned with booting MDK9, though if anyone can tell me how to fix the Slack entry I'd appreciate it, here's how I have the partitions set up:

MDK8.2 =/dev/hda5 --> Boot's no problem
Win98 =/dev/hda1 --> Boot's no problem
MDK9.0 =/dev/hdb5 --> Dosent boot, gives me an error saying it cant find the files, dosent say which files!
Slackware8.1 =/dev/hdb6 --> Doesnt boot but I have a bootdisk for it so I'll worry about that later.

Can anyone see what I'm doing wrong? am I even correct with the (hd1,4) for booting off /dev/hdb5 ??
From searching through posts I seen /etc/grub.conf mentioned, well I havent got a grub.conf, am I supposed to have one?
Thanks for any replies.

Cheer's
amp2000
 
Old 10-17-2002, 05:15 PM   #2
shadfiel
LQ Newbie
 
Registered: Oct 2002
Location: Vancouver, Canada
Distribution: Red Hat, Suse, Gentoo, Mandrake
Posts: 15

Rep: Reputation: 0
I have no idea if this will work, but what happens if you try to copy you mdk 9 kernel to say hda5/boot/vmlinuz-mdk9

Then change you mdk9 section to:
kernel (hd0,4)/boot/vmlinuz root=/dev/hdb5 devfs=mount hdd=ide-scsi vga=788

This will still have root looking at hdb5 and only your boot partition will be on a different drive.

As for the menu.lst and grub.conf, I don't think there's a difference. I have a feeling Red Hat just put in the grub.conf to make it consistent with other programs like lilo or something.

What's the exact error message you get when you try to boot into mdk9?
 
Old 10-18-2002, 12:40 PM   #3
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Original Poster
Rep: Reputation: 30
Thumbs up

Thanks shadfiel, that worked, I can boot MDK9 now no probs

Here's my MDK9 entry in Grub for anyone having a similar problem,

title Mandrake9
kernel (hd0,4)/boot/vmlinuz-2.4.19-16mdk root=/dev/hdb5 devfs=mount hdd=ide-scsi vga=788
initrd (hd0,4)/boot/initrd-2.4.19-16mdk.img

Cheer's
amp2000
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Multiboot question PacMansRancor Linux - Newbie 4 09-22-2004 12:40 AM
Grub ?????? [Multiboot] UsualTuxpect Linux - Software 4 09-13-2004 12:37 AM
SuSE 9.1 multiboot GRUB Problem???? orco Linux - Newbie 2 05-05-2004 06:48 AM
multiboot (GRUB) problem GoK Linux - Newbie 15 07-24-2003 08:03 AM
GRUB multiboot zokik Linux - General 7 06-25-2003 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:45 PM.

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
Open Source Consulting | Domain Registration