old-www/LDP/Win+OpenSolaris+CentOS-Install/html/intro.html

269 lines
16 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><title>index</title></head>
<body>
<blockquote>
<span style="font-weight: bold; font-family: Times New Roman;"></span>
<h1><span style="font-family: Times New Roman;">1.
Introduction</span><span style="font-weight: bold; font-family: Times New Roman;"></span></h1>
<span style="font-weight: bold; font-family: Times New Roman;"></span><span style="font-family: Times New Roman;">
</span>
<h2><span style="font-family: Times New Roman;">1.1&nbsp;Purpose
of this Guide</span><span style="font-weight: bold; font-family: Times New Roman;"></span></h2>
<span style="font-weight: bold; font-family: Times New Roman;"></span><span style="font-family: Times New Roman;">This
document represented in the form of a </span><i style="font-family: Times New Roman;">Guide</i><span style="font-family: Times New Roman;">, is intended to help
those
Windows, OpenSolaris and Linux&nbsp;users who believe in the method
of
"learning by doing". Multiple-booting systems is not an exact
science. You come across a document, you read it, find it interesting,
do it
yourself, make mistakes and then finally you achieve the desired aim.
That is
how you're supposed to learn. That is how I learnt. That is how the
UNIX
experts learnt a long time ago! Learning by doing!</span>
<p style="font-family: Times New Roman;" class="Quotations">By
the end of this document, you would have a clear
understanding of the basic topics required for successfully installing
and
configuring three different&nbsp;OSes on a single hard
disk of a
computer. I've tried my level best to describe each and every topic in
a clear
and easily understandable simple language.</p>
<p style="font-family: Times New Roman;" class="Quotations">Most
multi-booting installation HOWTOs and guides&nbsp;available on the
Internet are incomplete
because either they assume too much leaving the readers to do most of
the
difficult stuff themselves or are blatantly simple. I've tried my best
to find
a perfect balance between the two!<span style="font-weight: bold; font-family: Times New Roman;"></span><br>
<br style="font-family: Times New Roman;">
</p>
<h2><span style="font-family: Times New Roman;">1.2
What is
Multiple-booting?
</span></h2>
<span style="font-family: Times New Roman;">The
Webster's
New World Computer Dictionary (9th edition)
by Bryan Pfaffenberger, defines the term "dual-booting" as: 'A
computer that enables the user to choose between two&nbsp;</span>OSes<span style="font-family: Times New Roman;">
at boot
time'. Rightly so. Considering this definition as our boilerplate, we
may frame
our own definition of a "multiple-booting" or (in short) a multi-boot
system i.e., a computer that enables the user to choose between more
than two O</span>Ses<span style="font-family: Times New Roman;"> at boot time. </span>
<p style="font-family: Times New Roman;" class="Quotations">This
document explains how three varying&nbsp;OSes
can be successfully installed and configured on the same hard disk of a
computer thus enabling it to become a "multi-boot" system.
The&nbsp;OSes chosen for this illustration include:&nbsp;Microsoft
Windows&nbsp;XP, OpenSolaris 2008.11&nbsp;and CentOS 5.2.
I would install a Microsoft Windows OS first, then proceed
installing OpenSolaris and finally round-off by installing CentOS. <a target="_blank" href="http://www.gnu.org/">GNU</a>
<a href="http://www.gnu.org/software/grub/grub.html" target="_blank">GRUB</a> is the boot loader of choice.<br>
<br>
</p>
<h2>1.3 Multi-booting Pros and
Cons</h2>
An idea or thought as: <i>Hey! Dual and multi-booting
computer systems have advantages only and absolutely no disadvantage</i>
is
wrong. Often an important question is: <i>Why would someone need
to multi-boot
a PC? Where does it make sense to multi-boot a PC?</i> The answer
to this
question is simple: <b>Multi-booting systems only make sense
where you would
like to experiment with a number of configurations (or OS in general)
than you
have computers for and more significantly where&nbsp;<span style="text-decoration: underline; color: red;">data is NOT
at risk</span>. </b><br>
<p class="Quotations">Let us consider a situation like
this: Peter is a software programmer who works from home; has a single
PC that runs Debian Linux. His significant documents
and downloaded
files from the Internet are stored on it. He now decides to learn and
practice
hacking the FreeBSD Kernel. Thus, he decides to make his PC a dual-boot
system.
<b><u>Converting one's only or in other words, the
primary
PC at home or at
work into a dual or multi-booting system is a bad choice.</u></b>
If a primary
home PC must be used as a dual or multi-booting system, it will be much
safer
to add a second hard disk and leave the first relatively untouched. A
powerful
boot loader like <a href="http://www.gnu.org/software/grub/grub.html" target="_blank">GRUB</a> will allow booting from the other hard
disk.&nbsp;</p>
<p class="Quotations">I personally have a test lab setup
at home, with multiple
PCs ranging from PI, PII, PIII to PIV running Windows XP (for playing
games), Red Hat
Enterprise Linux (for RHCE exam preparation), CentOS (used for doing
office work at home), OpenSolaris (tweaking here-n-there), Ubuntu (do
most of my daily tasks like checking mail in Evolution, surfing the
Net&nbsp;and so on). One or more of these machines which does not
have
any significant data on themselves, is multi-booted.&nbsp;<b><u>This
can be considered as an ideal
situation for playing
around with multi-booting.<o:p></o:p></u></b></p>
<b><u><span style="color: red;">NOTE:</span></u><span style="color: red;"> Multi-booting Windows with
OpenSolaris&nbsp;and CentOS&nbsp;on the same hard disk can lead
to a <span style="font-style: italic;">fatal</span> hard disk crash where
all data
contained therein could be lost! You have been warned! Backup any
significant data that you maybe having.</span></b><span style="font-family: Times New Roman;"><span style="font-weight: bold;"><br>
<br>
</span></span>
<h2>1.4 List of Assumptions<span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span></h2>
<ul>
<li>The reader
possesses an intermediate (i.e. theoretical
&amp; practical) level of experience of partitioning hard disks
utilizing
Microsoft fdisk, BSD style partition table editor, Linux fdisk and so
on.<span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span></li>
<li><span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>The
reader
understands hard disk geometries, concept of
a primary partition, an extended partition, logical disks within an
extended
partition; Linux disk naming and partitioning schemes, BSD style disk
labeling
and partitioning schemes.<span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span></li>
<li><span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>The
reader
possesses an intermediate (i.e. theoretical
&amp; practical) level of experience of compiling and configuring
custom Linux
and OpenSolaris Kernels.<span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span></li>
<li><span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>The
reader
possesses knowledge of basic UNIX commands
common to both Linux and BSD OS. E.g., mounting
filesystems,
editing configuration files etc.<span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span></li>
<li><span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>The
reader is
using an x86 or x86 compatible system.<span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span></li>
<li><span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>The
reader is
using a hard disk whose BIOS supports the
<b>Logical Block Addressing (LBA)</b> mode of
representing
data on the disk. By
using LBA mode, the 1024 Cylinder Limit on old hard disks is dealt with.</li>
</ul>
Before
proceeding any further,
make sure you browse through the <a href="faq.html">Frequently
Asked
Questions (FAQ)</a> section of the guide.<o:p></o:p><br>
<br>
<h2>1.5 Acknowledgements</h2>
I wish to offer my sincerest regards
and thanks to:<span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><br>
</span></span>
<ol>
<li><span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><b style="">Guylhem
Aznar
&lt;</b><a href="mailto:guylhem@LDP_NO_SPAM.metalab.unc.edu">guylhem at
metalab
dot unc dot edu</a><b style="">&gt;,</b>
Chief
coordinator, main contact of&nbsp;TLDP for making this guide
possible.</li>
<li><b style="">Tabatha
Persad</b>
&lt;<a href="mailto:tabatha@merlinmonroe.com">tabatha
at merlinmonroe dot com</a>&gt;,
Linux Documentation Project Review Coordinator, for technical reviews
and for
answering my million queries.</li>
<li><span style=""></span>To&nbsp;every
Open-Source community contributor&nbsp;around the world.</li>
</ol>
Additionally, whilst writing this
document, I did consult
the following books, online journals, magazines and official papers:<span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><br>
</span></span>
<ol>
<li><span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><a target="_blank" href="http://www.amazon.com/Modern-Operating-Systems-2nd-GOAL/dp/0130313580">Modern
Operating Systems</a>, <i style="">by Andrew S.
Tanenbaum</i><span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><span style="font-style: italic;"></span></span></span></li>
<li><span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><span style="font-style: italic;"></span></span></span><a target="_blank" href="http://www.amazon.com/Understanding-Linux-Kernel-Daniel-Bovet/dp/0596002130">Understanding
the Linux Kernel</a>, <i style="">by Daniel P.
Bovet,
Marco Cesati</i></li>
<li><span style=""></span>CentOS online
documentation at <a href="http://www.centos.org/docs/5" target="_blank">http://www.centos.org/docs/5</a></li>
<li><span style=""><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>OpenSolaris
online documentation at <a href="http://opensolaris.org/os/documentation/" target="_blank">http://opensolaris.org/os/documentation/</a></li>
<li>Free book authored for installing, configuring and
managing
OpenSolaris 2008.11,&nbsp;<a href="http://dlc.sun.com/osol/docs/downloads/minibook/en/820-7102-10-Eng-doc.pdf" target="_blank">http://dlc.sun.com/osol/docs/downloads/minibook/en/820-7102-10-Eng-doc.pdf</a><br><br>
</li>
</ol>
<h2><span style="font-weight: bold;"></span>1.6
Legalese</h2>
Trademarks are owned by their owners.
<p class="Quotations">Although the information given in
this document is believed
to be correct, the author will accept no liability for the content of
this
document. Use the tips and examples given herein at your own risk.</p>
<p class="Quotations"><b>Copyright (c) 2009,
Subhasish Ghosh<o:p></o:p></b></p>
<p class="Quotations">Permission is granted to copy,
distribute and/or modify
this document under the terms of the GNU Free Documentation License,
Version
2.0 or any later version published by the Free Software Foundation;
with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
copy of
the license is located at <a target="_blank" href="http://www.gnu.org/copyleft/fdl.html">www.gnu.org/copyleft/fdl.html<br>
<br>
</a><span style="text-decoration: underline;"></span></p>
<h2><span style="text-decoration: underline;"><span style="font-weight: bold;"></span></span>1.7
About the Author</h2>
<p class="Quotations">The author, currently aged 28,
possesses a decade of
hacking / administering experience on Linux (Red Hat, Fedora,
Slackware, Debian, ASP Linux, ALT&nbsp;Linux),
<a target="_blank" href="http://www.freebsd.org/">FreeBSD</a>,
<a target="_blank" href="http://www.openbsd.org/">OpenBSD</a>,
<a target="_blank" href="http://www.netbsd.org/">NetBSD</a>,
<a target="_blank" href="http://en.wikipedia.org/wiki/SunOS">Sun
OS 4.x</a>,
<a target="_blank" href="http://www.sun.com/software/solaris/10/index.jsp">Sun
Solaris</a>, <a target="_blank" href="http://www.opensolaris.org/">OpenSolaris</a>
platforms. He holds a BTech
degree in "Informatics &amp; Computer Science engineering" from <a target="_blank" href="http://www.mpei.ru/StartPage.asp?Lang=rus">Moscow
Power Engineering
Institute (Technical University)</a>; studied for an MSc at&nbsp;<a target="_blank" href="http://www.ox.ac.uk/">Oxford
University</a>. Holds MCSD &amp; MCSE certifications
from M$; currently working towards <a href="http://www.redhat.com/certification/rhce/" target="_blank">Red Hat Certified Engineer (RHCE)</a>
certification.</p>
<p class="Quotations">To read the author's Linux-based
programming articles on <a target="_blank" href="http://linux.omnipotent.net/index.php">Linux.com</a>,
click <a target="_blank" href="http://linux.omnipotent.net/articlelist.php?credit=Subhasish+Ghosh">here</a>.</p>
<p class="Quotations">The author is currently employed
with&nbsp;<a target="_blank" href="http://www.123greetings.com/">www.123greetings.com</a>
as TL - Email Deliverability Specialist.&nbsp;He
could be
reached at &lt;<a href="mailto:sghosh.oxon@yahoo.co.uk">sghosh.oxon
at yahoo dot co dot uk</a>&gt;<span style=""></span></p>
<br>
<span style="text-decoration: underline; font-family: Times New Roman;"><span style="font-weight: bold;"></span></span><span style="font-weight: bold;"></span>
<hr style="font-family: Times New Roman;"><div style="text-align: center;">
<a style="font-weight: bold;" href="index.html">Previous</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a style="font-weight: bold;" href="index.html">Home</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a style="font-weight: bold;" href="faq.html">Next</a>
</div></blockquote>
</body></html>