LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 07-04-2007, 11:45 AM   #1
phil66
Member
 
Registered: Apr 2005
Location: texas
Distribution: Windows XP Ubuntu 7.10 Gutsy
Posts: 56

Rep: Reputation: 15
Triple boot Window XP ubuntu and PCLinuxOS


I have 2 sata hard drives,a 250gb for Windows XP Home Edition HD 0

The other one is a 80 gb sata harddrive with Ubuntu Dapper HD 1

Boot loader is Grub /MBR

When I install PCLinusOS I want to use 40gb of HD 1 and install the bootloader to the bootsector and chainload PCLinuxOS from the grub menu.lst

My current Ubuntu partitions are
sdb1 linux
sdb2 extended
sdb3 empty
sdb4 empty
sdb5 swap

When I install PCLinuxOS will it install to sdb3 or to a new partition

When I edit grub to chainload I will use hd1,? What should the ? in hd1 number be

Windows chainloader as follows
Title Windows XP
root (hdo,1)
save default
make active
chainloader +1

Do I need to have the save default and make active in the PCLinuxOS chainloader

What am I forgetting to address during the install. I would like to make this as smooth as possible

This will be my first chainload so all help I can get will be appreciated

Ray
 
Old 07-05-2007, 05:34 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
When I install PCLinuxOS will it install to sdb3 or to a new partition
- Depends on the setup. I'm pretty sure it asks you where you'd like to put it. If you want it to sdb3 specifically, you may need to select a "manual partitioning" option during the setup.

Quote:
When I edit grub to chainload I will use hd1,? What should the ? in hd1 number be
- If I remember this correctly, and I probably do, GRUB starts the numbering from zero. That means: first disk is disk number zero, second disk is disc number one and so on -- and first partition on a disk is partition number zero, second partition is partition number one etc. This means that the first partition of the first disk is (hd0,0) and second partition of the first disk (hd0,1) whereas second disk's first partition is (hd1,0). Got it? So, if it's sdb3, in GRUB you write it as (hd1,2. hd1 because it's second partition (first would be zero) and partition number two (2) because it's the third partition (first = 0, second = 1, third = 2). Of course this all depends on which partition the /boot of PCLinuxOS eventually is, but you said you'd like to put it on sdb3 so that's how it would go. If you decide to put it someplace else, just put the GRUB entry correctly like adviced.

Quote:
Do I need to have the save default and make active in the PCLinuxOS chainloader
- Option "savedefault" means that if you boot an operating system that has the mentioned option in it's configuration, GRUB remembers that it's the default one to boot, until you boot another OS with "savedefault" option too, or if you just set some fixed number from the list. This sounds complicated, so let's put it this way: the first entry in the boot list is entry number zero (GRUB starts to list numbers from zero, remember?). Second entry (from the top, of course) is number one. Third entry is number two and so on. You can set a certain time in GRUB (by setting some value to the option "timeout"), after which GRUB automatically boots a default choice from the list. If you don't specify what the "default" option's value is (leave it off the file completely), it's the same as if it was zero - which means the first entry in the list. If you specify "default 0", it's the same. If you specify "default 1", GRUB would then boot the second entry from the top, if the waiting time ran out (or, if the time is not set, this doesn't do anything). Now in addition to specifying some fixed OS from the list you can set GRUB to boot the last OS that was saved as default - in this case you set "default saved" (IF I'm right -- you may want to check this!). That means GRUB will boot the last entry you booted that has the option "savedefault" in it.

You can then have let's say 10 entries in your list, boot whatever you want and have two entries where there is "savedefault" in their configuration. If either of those is booted once, it's booted every time after that (no matter what other operating systems you boot otherwise) except if you boot the other option which also has "savedefault" set - after that boot, that new "savedefault" OS is the one that GRUB boots by default. The other entries where there is no "savedefault" don't count. And if you only have one of those that is saved as the default choice, it's the one that's booted always unless you chooce otherwise. Got it? This is very good if you have for example Windows on the machine, want it to be the default to boot unless touched, maybe because somebody else uses that and doesn't want to hazzle around with Linux stuff. You may have some tool automatically update GRUB's list every time you remove or add new kernels or boot entries, and it doesn't matter where in the list that Windows section (for example) would be (it can move up and down the list if it's automatically updated), it's still the default boot choice because it's "savedefault"ed. Got the idea?

I don't have much knowledge about "chainloading", I have had the image that it's needed when GRUB chainloads another bootloader that loads some OS. In Windows' case it's probably needed? I've never used it, but then again, I don't dual-boot, I use one OS that can do everything I need

Check this site out, in addition to the official GRUB website:

http://www.troubleshooters.com/linux..._Booter_Floppy
 
Old 07-10-2007, 10:29 AM   #3
phil66
Member
 
Registered: Apr 2005
Location: texas
Distribution: Windows XP Ubuntu 7.10 Gutsy
Posts: 56

Original Poster
Rep: Reputation: 15
Triple boot

Triple boot enabled

Thanks for the help

Ray
 
  


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
a triple boot pickle suse ubuntu winxp marblz Linux - Software 8 07-06-2007 04:36 PM
Triple boot: XP, FC6 and Ubuntu: Error! huxflux Linux - Software 8 04-24-2007 07:54 PM
triple boot os, ubuntu, win98, and winxp. only 2 hdd angelus_2012 Ubuntu 1 03-18-2007 12:14 AM
Triple boot with XP/Linux Ubuntu on hdd ... katy98 Linux - Newbie 6 10-11-2006 09:02 AM
Triple boot problem XP - Suse - Ubuntu eeenigma Linux - Distributions 5 07-10-2006 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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