LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-04-2005, 07:55 AM   #1
atv087
Member
 
Registered: Jan 2005
Posts: 30

Rep: Reputation: 15
Question dual boot fedora 3 and suse 9.1


Ok im using the fedora core 3 bootloader and i want to either boot from fedora or suse 9.1 their both on seperate hard drives

heres what my grub.conf looks like

# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667smp)
root (hd1,0)
kernel /vmlinuz-2.6.9-1.667smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-1.667smp.img
title Fedora Core-up (2.6.9-1.667)
root (hd1,0)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-1.667.img



This is What my grub for suse looks like

root (hd0,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d
(hd0) /boot/grub/stage2 0x8000 (hd0,1)/boot/grub/menu.lst

But when i try and combine the 2 i get all kinds of errors with grub


any ideas
 
Old 02-04-2005, 09:42 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Try adding something like this to Fedora's /boot/grub/menu.lst
Code:
title SuSE
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x31a splash=silent desktop showopts
initrd (hd0,1)/boot/initrd
 
Old 02-04-2005, 11:10 AM   #3
atv087
Member
 
Registered: Jan 2005
Posts: 30

Original Poster
Rep: Reputation: 15
Thank you soo much
that actually worked im using suse right now
 
Old 02-05-2005, 11:32 PM   #4
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Re: dual boot fedora 3 and suse 9.1

Quote:
Originally posted by atv087

....
This is What my grub for suse looks like

root (hd0,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d
(hd0) /boot/grub/stage2 0x8000 (hd0,1)/boot/grub/menu.lst

But when i try and combine the 2 i get all kinds of errors with grub


any ideas
This is wrong for SuSE.

This is what I think happened. You installed SuSE, but never successfully booted from that hard disk. It looks like SuSE sets grub up to install itself on the first boot. I have never seen these lines in a SuSE menu.lst before, so I suspect that SuSE changes the file when you boot for the first time (to finish the install). Had you finished the install by booting off SuSE's boot device, the file would have been changed.

I didn't know that "install" could be run from the configuration file. I just checked, and apparently it can. Weird.
 
Old 02-08-2005, 11:34 AM   #5
atv087
Member
 
Registered: Jan 2005
Posts: 30

Original Poster
Rep: Reputation: 15
yea it is really weird but what someone else posted ^ there it made it so my suse can dual boot with fedora core 3
now is there any way i can add windows back as like a tripple boot?
 
Old 02-08-2005, 01:49 PM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Where is Windows? If it's on /dev/hda1 (that's where Windows likes to be...)
Code:
title Windows
root (hd0,0)
chainloader +1
 
Old 02-09-2005, 08:00 PM   #7
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
If your Windows installation is anywhere but the primary master, then you will need to trick windows using the "map" command. example:

Code:
title Windows
rootnoverify (hd2,0)
map (hd0) (hd2)
map (hd2) (hd0)
chainloader +1
This example assumes Windows to be on the secondary master (hd2). Grub starts counting at zero instead of one.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse dual boot with Fedora anthonyt SUSE / openSUSE 6 11-24-2005 12:16 PM
Fedora & SuSE (and maybe others) dual boot - how? Napalm Llama Linux - Distributions 2 04-04-2005 11:29 AM
SuSE 9.2 Pro / Fedora Core 3 Dual boot iain.ross Linux - Newbie 2 12-12-2004 11:40 AM
Fedora & SuSE dual boot question herkdrvr Fedora 0 10-26-2004 03:13 AM
Dual Boot Problems Redhat 9, Fedora.........Suse 9 next patrickian Fedora 2 06-14-2004 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:31 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
Open Source Consulting | Domain Registration