LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-29-2011, 05:26 AM   #1
Yaha
LQ Newbie
 
Registered: Mar 2011
Posts: 11

Rep: Reputation: 0
Triple boot: Windows 7, Windows XP, Red Hat Linux 5.3


If possible, I would like to install three OS in one disk split into any partitions possible, Win 7 & XP and Red Hat Linux.
Can I do that and if so, how?
Thank you all in advance...

P.S. So far I tried installing Win7 first, then Win XP and then Linux (without a grub bootloader, so I can keep the Windows 7 one). No luck, as I couldnt find a way to make the Linux OS readable by EasyBCD.
 
Old 04-29-2011, 05:29 AM   #2
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
Quote:
Originally Posted by Yaha View Post
If possible, I would like to install three OS in one disk split into any partitions possible, Win 7 & XP and Red Hat Linux.
Can I do that and if so, how?
Thank you all in advance...

P.S. So far I tried installing Win7 first, then Win XP and then Linux (without a grub bootloader, so I can keep the Windows 7 one). No luck, as I couldnt find a way to make the Linux OS readable by EasyBCD.
Hi,
You should keep GRUB to boot into your desired OS, GRUB is always better than Windows bootloader and your Windows bootloader will never recognize the linux OS on the system.
 
Old 04-29-2011, 05:54 AM   #3
toothandnail
Member
 
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, Sparky, Salix64
Posts: 85

Rep: Reputation: 7
Quote:
Originally Posted by Yaha View Post
If possible, I would like to install three OS in one disk split into any partitions possible, Win 7 & XP and Red Hat Linux.
Can I do that and if so, how?
Thank you all in advance...

P.S. So far I tried installing Win7 first, then Win XP and then Linux (without a grub bootloader, so I can keep the Windows 7 one). No luck, as I couldnt find a way to make the Linux OS readable by EasyBCD.
What version of EasyBCD have you tried? I'm using the EasyBCD NeoGRUB option to multi-boot, which has worked fine booting Vista (which I need for cutomer support, unfortunately), Salix, Vector Linux and Fedora.

Paul.
 
Old 04-29-2011, 07:20 AM   #4
Yaha
LQ Newbie
 
Registered: Mar 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Sayan Acharjee View Post
Hi,
You should keep GRUB to boot into your desired OS, GRUB is always better than Windows bootloader and your Windows bootloader will never recognize the linux OS on the system.
OK, how do I do that once I didnt install it at the first place? How do I install the grubloader and to which partition?

Below is the whole setup of my partitions
1. System Reserved (Active, System)
2. Win 7 OS (Boot)
3. /boot, ext3 (part of an extended partition)
4. LVM (part of an extended partition)
5. Data Storage (NTFS)
6. Win XP OS

Last edited by Yaha; 04-29-2011 at 07:26 AM.
 
Old 04-29-2011, 07:22 AM   #5
Yaha
LQ Newbie
 
Registered: Mar 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by toothandnail View Post
What version of EasyBCD have you tried? I'm using the EasyBCD NeoGRUB option to multi-boot, which has worked fine booting Vista (which I need for cutomer support, unfortunately), Salix, Vector Linux and Fedora.

Paul.
I am using EasyBCD 2.0.2.
Below is the Display Mode of the bootloader setup on EasyBCD

There are a total of 3 entries listed in the bootloader.

Default: Microsoft Windows 7
Timeout: 5 seconds
EasyBCD Boot Device: C:\

Entry #1
Name: Microsoft Windows 7
BCD ID: {current}
Drive: C:\
Bootloader Path: \Windows\system32\winload.exe

Entry #2
Name: Microsoft Windows XP
BCD ID: {8aa469e4-6ce4-11e0-bfcd-001e101f1ed9}
Device: \Device\HarddiskVolume1
Bootloader Path: \NST\ntldr

Entry #3
Name: NeoSmart Linux
BCD ID: {8aa469e5-6ce4-11e0-bfcd-001e101f1ed9}
Drive: C:\
Bootloader Path: \NST\AutoNeoGrub0.mbr
 
Old 04-29-2011, 08:05 AM   #6
toothandnail
Member
 
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, Sparky, Salix64
Posts: 85

Rep: Reputation: 7
I'm using 2.02.117. I have two entries in the bootloader. One is identical to your #1 entry. The other (which I have set as the default) is:

Code:
Entry#1
Name: NeoGrub Bootloader
BCD ID: (default)
Drive C:\
Bootloader Path \NST\NeoGrub.mbr
In C:\NST, I have a menu.lst file which follows the normal rules for legacy Grub. As a sample:

Code:
title Salix 13.2 (64-bit)
root (hd0,5)
kernel /boot/vmlinux root=/dev/sda06 ro vga=870
boot
For help installing NeoGrub (from EasyBCD, have a look here: http://neosmart.net/wiki/display/EBCD/NeoGrub

Can't help with booting XP - one version of Windows is more than I really want..... But the NeoSmart wiki has a lot of information on booting multiple copies of Windows.

Paul.
 
Old 04-29-2011, 08:32 AM   #7
Yaha
LQ Newbie
 
Registered: Mar 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by toothandnail View Post
I'm using 2.02.117. I have two entries in the bootloader. One is identical to your #1 entry. The other (which I have set as the default) is:

Code:
Entry#1
Name: NeoGrub Bootloader
BCD ID: (default)
Drive C:\
Bootloader Path \NST\NeoGrub.mbr
In C:\NST, I have a menu.lst file which follows the normal rules for legacy Grub. As a sample:

Code:
title Salix 13.2 (64-bit)
root (hd0,5)
kernel /boot/vmlinux root=/dev/sda06 ro vga=870
boot
For help installing NeoGrub (from EasyBCD, have a look here: http://neosmart.net/wiki/display/EBCD/NeoGrub

Can't help with booting XP - one version of Windows is more than I really want..... But the NeoSmart wiki has a lot of information on booting multiple copies of Windows.

Paul.
Thanks Paul for this tip.
I will give it a try, although I am just a newbie in Linux world. Just in case I wont make it, if I had to start all over again to install all these 3 OS, what would you recommend as a procedure to follow? In what order and is Grub bootloader to be the one I shall use for sure?
 
Old 04-29-2011, 10:22 AM   #8
toothandnail
Member
 
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, Sparky, Salix64
Posts: 85

Rep: Reputation: 7
If you do end up having to install again, I would partition the disk to suit your needs - Windows always seems to need a primary partition, but Linux doesn't care. Once you have the basic partitions set up, install Win 7. I would then install EasyBCD (and its NeoGrub component), since that should make it easier to set everything else up later.

Not sure about installing XP - I've never tried having two versions of Windows on the same box. So that one I can't give you any suggestions on. Linux will happily install to logical partitions in an extended partition, which make life easier.

When it comes to installing Linux, if you can, skip the install of whatever bootloader is offered by the distribution - NeoGrub will work fine, so long as you can collect enough information to configure the menu.lst in C:\NST. One thing to watch is that Grub (and NeoGrub) number partitions from zero, where Linux numbers partitions from 1 - that is why the example I gave of a Grub menu item has (hd0,5) while the 'root=' uses /dev/sda6. Both mean the same thing, just a different numbering convention.

For a Linux install, I normally like to use three paritions - a / (root), a /home and a swap partition. That way, if I have to reinstall the distro, my user data is safe in the partition mounted as /home.

If you have specific questions, post them - if I can't answer them, I'm sure someone else on hee will have the knowledge to help out.

Paul.
 
Old 04-29-2011, 10:50 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
If you do reinstall, you would be much better off installing xp before windows 7. windows 7 should detect and boot xp but to do the reverse will take some manual configuration on your part as older windows bootloaders have difficulty booting newer windows systems. You can find a lot of information on this at the support.microsoft site. You can install windows on a logical partition but that system will install boot files on a primary because windows needs boot files on a primary.

Grub usually detects windows installs and puts entries in its menu. You will likely get an entry for windows and a second menu to select from the windows bootloader, windows 7 and xp.

EasyBCD usually works pretty well for multiboot scenarios with Linux. Not sure what happened in your case.
 
Old 04-29-2011, 11:32 AM   #10
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
Quote:
Originally Posted by Yaha View Post
OK, how do I do that once I didnt install it at the first place? How do I install the grubloader and to which partition?

Below is the whole setup of my partitions
1. System Reserved (Active, System)
2. Win 7 OS (Boot)
3. /boot, ext3 (part of an extended partition)
4. LVM (part of an extended partition)
5. Data Storage (NTFS)
6. Win XP OS
You need to install GRUB where your boot resides. use fdisk -l and you'll get a * with one filesystem, that will be your boot partition, install GRUB in that partition.

Have a look at this site, though its only for UBUNTU but you can apply a similar approach for REDHAT also,

https://help.ubuntu.com/community/Re...tallingWindows
 
Old 04-30-2011, 05:06 AM   #11
Yaha
LQ Newbie
 
Registered: Mar 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by toothandnail View Post
If you do end up having to install again, I would partition the disk to suit your needs - Windows always seems to need a primary partition, but Linux doesn't care. Once you have the basic partitions set up, install Win 7. I would then install EasyBCD (and its NeoGrub component), since that should make it easier to set everything else up later.

Not sure about installing XP - I've never tried having two versions of Windows on the same box. So that one I can't give you any suggestions on. Linux will happily install to logical partitions in an extended partition, which make life easier.

When it comes to installing Linux, if you can, skip the install of whatever bootloader is offered by the distribution - NeoGrub will work fine, so long as you can collect enough information to configure the menu.lst in C:\NST. One thing to watch is that Grub (and NeoGrub) number partitions from zero, where Linux numbers partitions from 1 - that is why the example I gave of a Grub menu item has (hd0,5) while the 'root=' uses /dev/sda6. Both mean the same thing, just a different numbering convention.

For a Linux install, I normally like to use three paritions - a / (root), a /home and a swap partition. That way, if I have to reinstall the distro, my user data is safe in the partition mounted as /home.

If you have specific questions, post them - if I can't answer them, I'm sure someone else on hee will have the knowledge to help out.

Paul.

Thank you Paul, and everyone for the responds.
I eventually managed to make it worked but cant tell whether I will be facing any issues in the coming future. Here 's what happened.

All this time I had Windows 7 installed first, then Windows XP. And that was long ago. If I remember well, what happened after Win XP installation, I needed to do some adjustments to my Win 7 bootloader, because Win XP took charge of everything. Both options of EasyBCD and Win7 installation CD (fixmbr, fixboot, rebuild bcd..etc) helped to bring back the correct bootloader configuration so that I can have a dual boot of both Windows OS.

The tricky part, in my case, was when I needed to install Linux. Due to lack of knowledge and only by collecting info online, I tried to install Linux without including grub bootloader. By doing so, I ended up kind of blocked because I couldnt find a way to collect the Linux boot info needed for the menu.lst file asked by EasyBCD. So, what I did, after having backed up all my partitions, I reinstalled Linux OS including the grub bootloader. It worked fine. Only thing now I have to bootloaders. Grub and Win 7. I have no idea whether that can be a problem any time soon. And once I managed to have Linux running, I was able to note down the necessary boot info needed for the Neogrub configuration. So, now I can boot any of the 3 OS by using any of the 2 bootloaders. I assume one of the two is unnecessary but at least it is eventually working for me. Shall I considered the problem [solved] or do I need to try to get rid one of the two before doing so?

---------- Post added 04-30-11 at 12:07 PM ----------

Quote:
Originally Posted by yancek View Post
If you do reinstall, you would be much better off installing xp before windows 7. windows 7 should detect and boot xp but to do the reverse will take some manual configuration on your part as older windows bootloaders have difficulty booting newer windows systems. You can find a lot of information on this at the support.microsoft site. You can install windows on a logical partition but that system will install boot files on a primary because windows needs boot files on a primary.

Grub usually detects windows installs and puts entries in its menu. You will likely get an entry for windows and a second menu to select from the windows bootloader, windows 7 and xp.

EasyBCD usually works pretty well for multiboot scenarios with Linux. Not sure what happened in your case.
Thanks
 
Old 04-30-2011, 05:08 AM   #12
Yaha
LQ Newbie
 
Registered: Mar 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Sayan Acharjee View Post
You need to install GRUB where your boot resides. use fdisk -l and you'll get a * with one filesystem, that will be your boot partition, install GRUB in that partition.

Have a look at this site, though its only for UBUNTU but you can apply a similar approach for REDHAT also,

https://help.ubuntu.com/community/Re...tallingWindows
Thanks
 
Old 04-30-2011, 06:37 AM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
No, you will always need two bootloaders - primarily because of the way Microsoft designs (???) its loaders.
 
Old 04-30-2011, 08:14 AM   #14
Yaha
LQ Newbie
 
Registered: Mar 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
No, you will always need two bootloaders - primarily because of the way Microsoft designs (???) its loaders.
True, so I did.
Case closed then....
 
  


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
Windows,Solaris, Red Hat triple boot issues saagar Linux - Newbie 1 05-23-2009 01:51 AM
Dual Boot --- Red Hat Enterprise Linux 5 and Windows XP Freezeburn991 Linux - Newbie 5 11-30-2008 08:53 PM
Adding windows to a triple boot after linux ashuping Linux - Newbie 5 03-23-2008 01:07 AM
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 07:03 AM
Windows XP, Red hat 8.0 and Mandrake 10.1 triple booting latinboy Linux - Software 6 02-17-2005 09:12 PM


All times are GMT -5. The time now is 06:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration