LinuxQuestions.org
Help answer threads with 0 replies.
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


Closed Thread
  Search this Thread
Old 12-10-2005, 07:28 PM   #1
cheetahman
Member
 
Registered: Feb 2005
Distribution: SuSE Linux 10/Windows XP
Posts: 208

Rep: Reputation: 30
Is this a good Tribooting Tutorial I wrote


Here is the tutorial I made with the info I got from budman7 and smolloy

It can help anybody including me and should be sticked

How to Triboot a Computer

Distro 1= Prime Distro example (Windows)
Distro 2= The 2nd distro to be installed, this can be any distro (This controls the bootloader)
Distro 3= The 3rd distro to be installed, this can be any distro

Things to do Before You Start

Backup Computer
Run Defraging tools
Scan for Spyware
Scan for Viruses
Run chkdsk

These are good steps for Window's users and can be used in Linux also

This guide focuses primarly on the GRUB bootloader to Triboot

You can also use the Knoppix Live cd or the partitioner that comes with your distro these include Diskdruid in Fedora Core,Qtparted in SuSE and Kdrak in Mandriva and GParted (Gnome Partition Editor)in the GNOME desktop. There are also partition tools that you can use that do the same thing but in text mode are Parted,fdisk,cfdisk

Steps 1-6 can be skipped if you are using Knoppix or any other live cds to resize and modify the partitions

Download A Copy of Slax

This is very important because this is the Live cd we are going to use to partition the hardrive to get it ready to Triboot.

Here is the site you can get it from incase you don't have it http://slax.linux-live.org/download.php

Then download SLAX Standard Edition

Additional software for SLAX is provided in the form of compressed modules. The usage is very simple, just add your downloaded module to /modules/ directory on the CD to include it in SLAX permanently, or use "uselivemod" command in SLAX to activate the module on the fly, while running SLAX.

Download these modules and follow the instructions above for Linux or If you are a Windows user download MySLAX Creator at

http://myslax.bonsonno.org/download.php

Ntfsprogs-http://slax.linux-live.org/modules.php?id=544
QTParted-http://slax.linux-live.org/modules.php?id=298

Step 1:Bootup the Custom Slax Cd you have made then make sure the computer can bootup the cd.

You can check it by going into the bios by selecting F1 at bootup then go to computer check and change it from there.

Step 2:Once Slax is running you must now Unmount all partitions.

You do this by going into My Computer you will then see all of the partitions.Right click on one of them it will then give you the option to unmount.Select it and it will then be unmounted you must do this for all of the partitions.

You must do this for all of the drives or else the computer can't be partitioned

Step 3:Click on the KDE logo then go to run application and type qtparted in lowercase then hit run or click QTParted in the menu

Step 4:This will now startup QTparted

The drive I am going to resize is a NTFS partition.

Step 5:Now we begin the process of resizeing the hard drive

1.Select the /dev/hda for IDE or /dev/sda for a SCSI drive on the left, then you should see its info on the right

2.Select the NTFS partition and right-click on it, then select Resize.

3.Next you'll see the Resize Partition dialog.

4.Enter the size you want for your existing Prime Distro to be resized and then click OK.

This can be done in Gigabytes or Megabytes

5.After clicking OK you'll see an updated view of your partitions. Note that nothing has actually changed yet; you must select File then Commit to apply the changes.

6.Just click Yes on the confirmation dialog.

7.You'll see the progress dialog and when it's done click the OK button

8.Now Select File then Quit to exit QTParted

9.You should now boot into the Prime Distro it will then detect the partition that you have made but it will be unformatted.

Now boot back into QTParted the way you did before and Delete Distro 2 and the Swap Partition by right clicking it and hitting delete

Now you should have the Prime Distro and a bunch of free space.

Here is how you would go on to create the extended partition with two partitions inside of it that contain the two distros that will be added to the triboot.

With QTparted this will be quite simple and you don't really need a guide. The mepis guide that you linked to is quite detailed, and if you read that you will get the general idea of how qtparted operates.

Basically you will want to click on any free space you have, and choose the option to create a partition (it will be an icon somewhere near the upper left of the screen). Then choose the option to make it an extended partition, and move the slider at the top to choose the size you want (in this case 8GB).

After you've done this you'll be able to click inside this partition and choose to create another partition. This time make it a logical partition, and format it as ext3 (if that is indeed what you want). Also make sure to set its size to 4GB. Once you've finished this, repeat for the remainder of the partition, to create the second logical ext3 partition inside the extended partition.

If you want to make a swap partition, then put this before (to the left) of the extended partition. In fact it might be best to do this before you create the extended partition. The process to do this is basically the same as before -- click on some empty space, choose "create a new partition", set the size, type, etc., and that's it.

It really is quite easy and I'm sure you'll have no problems. Just be sure to defragment and chkdisk any windows partitions you intend to move or resize, and everything should go smoothly.

Good luck.

When installing the Operating System it will give you the most common options which are Reiserf and Ext3.

Also many distros support Custom Partioning which will give you more formatting Options.

A file system is added to the computer whenever you install an Operating System to it.

Below are some examples of filesystems that can be formatted or resized.

Windows
NTFS
FAT

Linux
Ext2
Ext3
ReiserFS

Its also a good idea to add Swap if you have a low memory computer which will use the Swap as temporary ram also the Swap partition should be formatted as Swap.

If the swap is inside the extended partition, you will have to delete the swap first.

Step 7:Now Install Distro 3 by Booting the install cd as if you were going to boot Slax and Install bootloader to root partition.

Step 8:Install Distro 2 using swap already created from installing Distro 3 and putting GRUB on the MBR which will make GRUB the bootloader that is controlled by Distro 2.

GRUB can be put anywhere but for this tutorial we are going to be put on the MBR so Distro 2 becomes the bootloader.

When installing other operating systems

Distro 2 should now make an entry in GRUB for both the Prime Distro and Distro 3.

The computer should now be restarted I you will be shown the Distro 2 GRUB Bootloader which contains the Prime Distro,Distro 2 and Distro 3.

The computer can now Triboot

Make sure you don't put Swap for Distro 2 on the partition where you are going to install Distro 2 to. By default Distro 2 should make a Swap partition or detect a Swap that is on the computer and mount it.

For Installing new linux distros install to the partition so Distro 2 Grub doesn't get overwritten

A Big Thanks to budman7 and smolloy for supplying the info

Here are two other sites that are a guide with pictures.

http://ca.geocities.com/zachandloric...windowsxp.html

http://mepis.org/docs/partitioning-your-hard-drive/
 
Old 12-10-2005, 08:36 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Why would we sticky this when we have a perfectly good Tutorials section? I would suggest you submit it there.
 
Old 12-10-2005, 11:01 PM   #3
cheetahman
Member
 
Registered: Feb 2005
Distribution: SuSE Linux 10/Windows XP
Posts: 208

Original Poster
Rep: Reputation: 30
Its there now
 
Old 12-11-2005, 05:08 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,596

Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by cheetahman
Here is how you would go on to create the extended partition with two partitions inside of it that contain the two distros that will be added to the triboot.
Just a note: It's worth considering creating at least one primary partition and an extended partition. This way you will be able to install a *BSD distro, they require a primary partition. It's good enough to install a Linux, too, of course.
 
Old 12-11-2005, 05:26 AM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Think I will write one when I reach 100 systems in the box. There are over 90 now. Booting is a lot easier than most folks think. We should simplify it.

All my Dos, Windows, Linux, BSD, Solaris and Darwin can be booted by one lousy Grub floppy. We can't get anything simpler than that can we?

Doesn't add up when we keep talking dual-boot and tri-boot in Linux.

On the BSD installation I wouldn't dive in so quickly as the Unix systems of BSD and Solaris use slices internally which resemble to the logical partitions of an extended partition. Linux will report error of one partition not ending the partition boundary on another because slices and logical partitions are bootable addresses but the PC standard allows only one extended partition. I urge caution for users installing BSD and Solaris to coexist with an extended partition or with themselves. I am testing a disk with 3 BSD and one Solaris by hidding the remaining 3 while booting to anyone of the four.
 
Old 12-11-2005, 06:37 AM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,596

Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by saikee
On the BSD installation I wouldn't dive in so quickly as the Unix systems of BSD and Solaris use slices internally which resemble to the logical partitions of an extended partition. ...
Well, I didn't tell to install *BSD, but creating a second primary partition

(1) won't hurt if you want to install a Linux distro
(2) prepares you to install a *BSD in case you want to do this later

It was somewhat difficult for me to create a second primary partition when I needed one. If I had known this before, I could have created it very easily during partitioning.
Like when you buy an appartment -- you should think BEFORE how big it should be, how many rooms it should have to fit your needs ... else you have to move again
 
Old 12-11-2005, 07:05 AM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Please direct all further comments to http://www.linuxquestions.org/questi...d.php?t=371993 - I have reported this thread for closure.
 
Old 12-11-2005, 12:40 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Closed per the above.
 
  


Closed Thread


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
Is this a good Tribooting Tutorial I wrote cheetahman Linux - Newbie 7 09-25-2005 12:51 PM
good samba tutorial niteshadw Linux - Newbie 1 04-20-2005 12:41 PM
looking for very good tutorial cintaputih Programming 1 02-12-2005 07:19 AM
Anyone have good Posfix how-to or tutorial? unhappyStar Linux - Networking 2 08-15-2004 03:17 AM
need pointing to a good tutorial salparadise Linux - Networking 1 04-19-2004 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:49 AM.

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