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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-29-2011, 05:26 AM
|
#1
|
LQ Newbie
Registered: Mar 2011
Posts: 11
Rep:
|
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.
|
|
|
04-29-2011, 05:29 AM
|
#2
|
Member
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624
Rep:
|
Quote:
Originally Posted by Yaha
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.
|
|
|
04-29-2011, 05:54 AM
|
#3
|
Member
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, Sparky, Salix64
Posts: 122
Rep:
|
Quote:
Originally Posted by Yaha
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.
|
|
|
04-29-2011, 07:20 AM
|
#4
|
LQ Newbie
Registered: Mar 2011
Posts: 11
Original Poster
Rep:
|
Quote:
Originally Posted by Sayan Acharjee
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.
|
|
|
04-29-2011, 07:22 AM
|
#5
|
LQ Newbie
Registered: Mar 2011
Posts: 11
Original Poster
Rep:
|
Quote:
Originally Posted by toothandnail
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
|
|
|
04-29-2011, 08:05 AM
|
#6
|
Member
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, Sparky, Salix64
Posts: 122
Rep:
|
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.
|
|
|
04-29-2011, 08:32 AM
|
#7
|
LQ Newbie
Registered: Mar 2011
Posts: 11
Original Poster
Rep:
|
Quote:
Originally Posted by toothandnail
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?
|
|
|
04-29-2011, 10:22 AM
|
#8
|
Member
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, Sparky, Salix64
Posts: 122
Rep:
|
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.
|
|
|
04-29-2011, 10:50 AM
|
#9
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,020
|
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.
|
|
|
04-29-2011, 11:32 AM
|
#10
|
Member
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624
Rep:
|
Quote:
Originally Posted by Yaha
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
|
|
|
04-30-2011, 05:06 AM
|
#11
|
LQ Newbie
Registered: Mar 2011
Posts: 11
Original Poster
Rep:
|
Quote:
Originally Posted by toothandnail
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
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
|
|
|
04-30-2011, 05:08 AM
|
#12
|
LQ Newbie
Registered: Mar 2011
Posts: 11
Original Poster
Rep:
|
Quote:
Originally Posted by Sayan Acharjee
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
|
|
|
04-30-2011, 06:37 AM
|
#13
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,285
|
No, you will always need two bootloaders - primarily because of the way Microsoft designs (???) its loaders.
|
|
|
04-30-2011, 08:14 AM
|
#14
|
LQ Newbie
Registered: Mar 2011
Posts: 11
Original Poster
Rep:
|
Quote:
Originally Posted by syg00
No, you will always need two bootloaders - primarily because of the way Microsoft designs (???) its loaders.
|
True, so I did.
Case closed then....
|
|
|
All times are GMT -5. The time now is 10:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|