LinuxQuestions.org
Help answer threads with 0 replies.
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 03-16-2009, 08:33 PM   #1
clemkonan
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Rep: Reputation: 0
How to Triple Boot


I am running Linux Mint 6 Felicia along with Windows XP, finally pcLos 2009 is out so I installed it choosing the option use existing free space, unfortunately grub is only giving me two option Mint and PCLOS .

How do I get the boot loader to give me the third option and whats a good boot loader to use?

A few instructions to get me there would be appreciated
 
Old 03-16-2009, 09:22 PM   #2
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
You need to add any additional OS's into the menu.lst file located in /boot/grub/menu.lst

Guessing grub is installed on your Mint partition you need to add the other OS to this file... First I need more info on which OS is not showing up in grub.

From there its easy to add and customize grub.

Last edited by manwithaplan; 03-16-2009 at 10:00 PM.
 
Old 03-16-2009, 10:07 PM   #3
clemkonan
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Original Poster
Rep: Reputation: 0
TRiple Booting

Sorry my XP installation is missing
 
Old 03-16-2009, 10:43 PM   #4
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
OK this should be easy from here... Boot to your Mint partition and open up a terminal and type this command:

Code:
sudo fdisk -l
From there you should see an output similar to this:
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4045ba19

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          14      112423+  83  Linux
/dev/sda2              15        2522    20145510   83  Linux
/dev/sda3            2523        7035    36250672+  83  Linux
/dev/sda4           11734       60801   394138710    7  HPFS/NTFS
Before we can add Xp we need to know which drive and partition XP is installed on. I am assuming that you have XP installed on a separate drive.

First run the command above and post the output.

Then I'll tell you what is needed to add to your menu.lst file.
 
Old 03-17-2009, 07:00 AM   #5
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
I think manwithaplan has you on the right track. Just remember that "dual booting" is just a term to indicate multiple operating systems on one box. Your "triple booting" is the same as dual booting, just with 3 OSs.
 
Old 03-17-2009, 07:14 PM   #6
clemkonan
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Triple Booting

Nope all three operating systems are on the same HD is this a problem?
Also, provided I am not complicating your response where or when is the virtual box option a better approach assuming I want to try different Linux flavours and I don't want the kids internet activity bringing home viruses, etc.
 
Old 03-17-2009, 10:11 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,486

Rep: Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485
If I understand your situation, you originally had Linux Mint and xp on your drive and were able to boot both using the Mint Grub bootloader??

You then installed PCLinux and still have Mint and xp but can not boot xp but can boot Mint and Pclinux??

Assuming this is accurate, you probably installed the PCLinux bootloader to the master boot record, overwriting the Mint bootloader which was previously booting your system.

It would help if we knew which system you were using to boot, Mint or PCLinux. The splash screen on boot is distinctive and you should be able to tell by that. It would be beneficial to run the "fdisk -l" command as root (sudo In Mint) and post the output here showing your actual partition information.
 
Old 03-17-2009, 11:47 PM   #8
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Shouldn't be a problem... Just need to know the fdisk layout so I can help you with adding the XP entry into grub...

Yancek is right about the grub install. You'll most likely need to boot into PCLinux and edit grub from there. I seemed to overlook that. Still an easy fix.

run this command and cut and paste the output:

Code:
sudo fdisk -l
 
Old 03-23-2009, 09:38 PM   #9
clemkonan
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Original Poster
Rep: Reputation: 0
How ToTriple Boot

The splash screen is PC linus OS

Output is:

[root@localhost clement]# sudo fdisk -l

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x11c911c9

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 392 3148708+ 7 HPFS/NTFS
/dev/hdb2 393 19457 153139612+ f W95 Ext'd (LBA)
/dev/hdb5 393 1411 8185086 83 Linux
/dev/hdb6 1849 4398 20482843+ 7 HPFS/NTFS
/dev/hdb7 4399 19080 117933133+ 83 Linux
/dev/hdb8 19081 19457 3028221 82 Linux swap / Solaris
/dev/hdb9 1412 1522 891576 82 Linux swap / Solaris
/dev/hdb10 1523 1848 2618563+ 83 Linux

Partition table entries are not in disk order
[root@localhost clement]#
 
Old 03-23-2009, 09:52 PM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,486

Rep: Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485
In your PCLinuxOS /boot/grub/menu.lst file add the following entry for xp:

title xp
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

Curious that your only drive is "hdb"??
 
Old 03-24-2009, 01:29 PM   #11
clemkonan
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Could I solve the problem using GAG boot loader is it better and what issue If I only have 1 drive "hdb" I do not understand the significance. I think this is a 500 Gb disk should I be breaking it up into 3 or 4 drives?
 
Old 03-24-2009, 10:54 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,486

Rep: Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485
Quote:
If I only have 1 drive "hdb" I do not understand the significance
The significance is that naming conventions for Linux usually refer to hard drives with letters such as 'sda' (first hard drive), 'sdb' (second hard drive), then partitions are sda1 (first hard drive, first partition), sda2 (first hard drive, second partition).

In you last post, you ask if you should be breaking up your 500GB hard drive into separate 'drives'. When we refer to drives, we mean an actual physical hard drive. So no, you can't divide your hard drive into more drives but you can make a number of partitions. This is a frequent point of confusion for windows users because the windows 'C:\' partition is also referred to as a 'drive' because windows is usually sold/installed as the only partition on a drive.

So back to the initial point, if you have only one hard drive, it should be named 'sda' or 'hda', the 'a' being important as the first letter of the alphabet which is how the drives are named. You have only one drive and it is named 'sdb' which would seem to indicate it is the second drive so I was curious about where the other drive is. USB, external?? no longer attached?

Also, just re-read your earlier post and your fdisk output shows the sdb drive as 160GB (take a look) and your last post states "I think this is a 500 Gb disk". Which is it. This isn't really that complicated but you're not giving enough info. Post your menu.lst file from PCLinux.
 
Old 03-25-2009, 08:16 PM   #13
clemkonan
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Original Poster
Rep: Reputation: 0
ok, my USB stick was installed so I am thinking that explains why we are getting hdb, similarly I should have examined the file its 160 GB.

This leaves me asking where is my menu.lst file located in pclos. I will start looking
 
Old 03-25-2009, 11:16 PM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,486

Rep: Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485
Quote:
This leaves me asking where is my menu.lst file located in pclos.
/boot/grub/menu.lst

You need to log in as root user to edit this file.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing goblinX in triple boot laptop... no boot in the other linux OS amalgam Linux - Newbie 2 02-14-2008 01:08 PM
Can't boot to windows XP with triple boot setup chickenjoy Linux - Newbie 3 12-18-2007 06:25 AM
LXer: Triple Boot with Boot Camp LXer Syndicated Linux News 0 04-16-2006 05:03 PM
from dual boot to triple and quadruple boot theory_prof Linux - Newbie 10 10-06-2005 01:28 PM
triple boot system/boot disk noODle Linux - Software 4 12-23-2001 10:55 AM

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

All times are GMT -5. The time now is 05:39 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