LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 08-07-2005, 06:14 PM   #1
bkz81
Member
 
Registered: May 2005
Posts: 78

Rep: Reputation: 15
Lightbulb Would like some triple boot information.


Hello all. I would like to know how to go about triple booting Windows XP, SUSE 9.1, and Mandrake 10.2. I have two hard drives both 20GB's. I only have windows xp installed so far. I have the primary 20GB HD partitioned in half with the rest blank and the other hard drive blank as well. Does anybody know the proper steps i should take before installing linux and once i install the other linux how would i set that up, to give me a triple boot option on start up? Thank you for your time on this matter to all.
 
Old 08-07-2005, 06:27 PM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Re: Would like some triple boot information.

Quote:
Originally posted by bkz81
Hello all. I would like to know how to go about triple booting Windows XP, SUSE 9.1, and Mandrake 10.2. I have two hard drives both 20GB's. I only have windows xp installed so far. I have the primary 20GB HD partitioned in half with the rest blank and the other hard drive blank as well. Does anybody know the proper steps i should take before installing linux and once i install the other linux how would i set that up, to give me a triple boot option on start up? Thank you for your time on this matter to all.
How much do you know about Grub, Lilo, and the MBR?
 
Old 08-07-2005, 06:29 PM   #3
bkz81
Member
 
Registered: May 2005
Posts: 78

Original Poster
Rep: Reputation: 15
Lightbulb re: triple boot situation.

not much about grub or lilo, is there some advance setup knowledge, i would have to know? I know mbr is the core of the boot up record.
 
Old 08-08-2005, 06:34 AM   #4
Fritz_Monroe
Member
 
Registered: Nov 2004
Location: Maryland, USA
Distribution: Mint 13
Posts: 272

Rep: Reputation: 30
Don't be too intimidated by this, it's not nearly as difficult as it would seem, I could do it and I'm a newbie to linux. I've only done this with Win98, so I'm not going to go into great detail as it could be different.

You already have Win installed, so that's the first step. Now you need to boot off one of the linux CDs and get into cfdisk to partition the rest of the drives. Once that's complete, you can install your first distro. When it's finisted and is ready to install GRUB or LILO, you can either send it to a floppy or to the MBR. When you install the second distro, you won't install LILO or GRUB. This means you will need to manually edit the lilo.conf or whatever GRUB uses. Just go to the bottom and add in the section about the new distro. You can just copy it from the first distro's section changing the drive info.

Do some googling on some of this to get details. Hope this helps some. Sorry for being kind of vague, since I've only done this with Win98, Slackware and Vector, I don't want to steer you wrong.

F_M

edit: Forgot to mention that after you edit and save the lilo.conf file, you will need to use the lilo command for the changes to take affect.

Last edited by Fritz_Monroe; 08-08-2005 at 06:39 AM.
 
Old 08-08-2005, 12:27 PM   #5
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
Regarding partitioning: each distro should have a disjoint set of partitions, with the exception of /home.

Once you know enough about the distros and how you're going to use them, you may want to increase the partition intersection set (i.e. have a shared /opt or //local). For this reason, I recommend you investigate which FSes your favorite partition editor is capable of resizing.

hth --Jonas
 
Old 08-08-2005, 02:12 PM   #6
bkz81
Member
 
Registered: May 2005
Posts: 78

Original Poster
Rep: Reputation: 15
Unhappy Re: Triple boot situation.

Wow this is very confusing lol. Maybe i shouldn't even bother with the triple boot then, well this is what i'm doing so far. I have installed mandrake, then suse with no boot loader, so now i would have to just configure the lilo config file right?
 
Old 08-08-2005, 02:38 PM   #7
Fritz_Monroe
Member
 
Registered: Nov 2004
Location: Maryland, USA
Distribution: Mint 13
Posts: 272

Rep: Reputation: 30
That sounds about right. Just remember to do lilo after you are finished with the lilo.conf file.

As for sharing partitions, I used 1 /home partition between the 2 distros. But I found that I rarely used anything but Slackware, so I whacked the Vector off the partition and it's now a FAT partition.

Good luck and these people around the forums are incredibly helpful with this type of issue.

F_M
 
Old 08-08-2005, 02:53 PM   #8
bkz81
Member
 
Registered: May 2005
Posts: 78

Original Poster
Rep: Reputation: 15
Unhappy Re: Triple boot situation.

what do you mean do lilo? is that a command in mandrake for that? yeah i think i messed this up big time.

This is what i have so far. The bottom part with "SUSE" is a part that i just copied and pasted, but doesn't boot up into suse it just froze. Hope this would help.

message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.6.11-6mdk
label="Mandrake_LE_2005"
root=/dev/hda5
initrd=/boot/initrd.img
append="acpi=ht resume=/dev/hda6 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda5
initrd=/boot/initrd.img
append="acpi=ht resume=/dev/hda6"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda5
initrd=/boot/initrd.img
append="failsafe acpi=ht resume=/dev/hda6 devfs=nomount"
read-only
other=/dev/hda1
label="windows_xp"
table=/dev/hda
image=/boot/vmlinuz
label="SUSE9.1"
root=/dev/hdb1
initrd=/boot/initrd.img
append="acpi=ht resume=/dev/hdb1 splash=silent"
vga=788
read-only

Last edited by bkz81; 08-08-2005 at 03:02 PM.
 
Old 08-08-2005, 03:13 PM   #9
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
The main points to remember:

1. Always install any Microsoft OS first.
2. When installing the *first* GNU/Linux distro, install GRUB (or LILO, my preference is for GRUB) to the MBR
3. On subsequent distro installs, always install GRUB (or LILO) to the boot sector of the root partition. This refers to the root partition of the distro you're installing *NOT* THE MBR.
4. Unless you have a seperate, small /boot partition, you're always going to have to boot into the *first* GNU/Linux distro to edit /boot/grub/menu.lst in order to point GRUB at new installations. You do this using the following syntax:

title Slackware-10.1
root (hd0,9)
chainloader +1

Obviously, you would change (hdx,x) to represent the partition the distro is installed on.

The reason your lilo.conf above isn't working is that you installed SuSE with no bootloader. Do it again, but this time install LILO (or GRUB) to the boot sector of the root partition.

Last edited by mugstar; 08-08-2005 at 03:16 PM.
 
Old 08-08-2005, 04:19 PM   #10
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
why not just run lilo/grub instead of reinstalling the OS?

my two cents --Jonas
 
Old 08-08-2005, 04:31 PM   #11
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
There's no boot loader installed on the SuSE partition. How would the LILO installed under Mandrake pick up that the SuSE partition should be bootable? There's no bootloader to chainload.

I s'pose the OP could mount the SuSE partition, chroot into it and then install a bootloader to the boot sector of the root partition, but that's beyond me...

Or! Create a GRUB boot floppy under Mandrake, use that to boot SuSE and then install a bootloader to the boot sector of the root partition...?

I've just noticed that in your lilo.conf
Code:
image=/boot/vmlinuz
label="SUSE9.1"
root=/dev/hdb1
initrd=/boot/initrd.img
append="acpi=ht resume=/dev/hdb1 splash=silent"
vga=788
read-only
shouldn't the image=/boot/vmlinuz line come after label="SUSE9.1" ?
 
Old 08-08-2005, 04:50 PM   #12
bkz81
Member
 
Registered: May 2005
Posts: 78

Original Poster
Rep: Reputation: 15
Thumbs up Re: Triple boot situation.

Thank you all for the feed back on this problem. I am currently right now as i type this install mandrake again. Now the part where i get stuck is when i go to install SUSE on my secondary slave, how do i go about setting this up to boot up with the other two OS's? I know someone metioned putting the root partition into the boot section but how?
 
Old 08-08-2005, 04:50 PM   #13
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
I figured just mount the partition w. the suse lilo.conf (that writes to the suse root boot sector) and run (whatever) lilo w. that config file.

Dunno how I would go about grub though.
 
Old 08-08-2005, 08:28 PM   #14
bkz81
Member
 
Registered: May 2005
Posts: 78

Original Poster
Rep: Reputation: 15
Talking what a Miracle!!!!

wow what a miracle i just pulled off! i finally was able to get mandrake and Suse to see eachother during bootup along with xp . I just guess the hd numbers lol. Man this triple boot thing in linux is a very big pain in the A**! It would be great if there was a CBT on how to triple boot systems with linux and windows.

This is what i did below for the mandrake section. Very luck to guess what numbers to put in there.

# Modified by YaST2. Last modification on Mon Aug 8 09:26:56 2005


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd1,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd1,1)/boot/vmlinuz root=/dev/hdb2 vga=0x317 splash=silent desktop resume=/dev/hdb1 showopts
initrd (hd1,1)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: Mandrake 10.2###
title Mandrake 10.2
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 vga=0x317 splash=silent desktop resume=/dev/hda0 showopts

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd0,0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
root (fd0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd1,1)/boot/vmlinuz root=/dev/hdb2 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
initrd (hd1,1)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: Memory Test###
title Memory Test
kernel (hd1,1)/boot/memtest.bin
 
Old 08-08-2005, 08:31 PM   #15
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,327

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
Whew! Let's back up a minute... what are you trying to accomplish, that you have concluded that "triple booting" is the only way to accomplish it? Step completely away from the question of "how do I do this?" and ask... "what is the problem that you have decided this is necessary to do in order to solve?" (Betcha it isn't...)
 
  


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
from dual boot to triple and quadruple boot theory_prof Linux - Newbie 10 10-06-2005 01:28 PM
Triple boot kirth Linux - General 4 10-07-2004 09:24 PM
Triple Boot? Mr Tickle Linux - Newbie 11 05-03-2004 05:16 PM
Triple Boot BittaBrotha Slackware 2 06-14-2002 09:29 AM
triple boot system/boot disk noODle Linux - Software 4 12-23-2001 10:55 AM


All times are GMT -5. The time now is 02:09 PM.

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