<?xml version="1.0"?>
<article id="index"><articleinfo id="linuxwindows"><title>Linux + Windows HOWTO</title><authorgroup><author><firstname>Jonathan</firstname><surname>Katz</surname><affiliation><address format="linespecific">			<email><ulink url="mailto:jkatz@in.net">jkatz@in.net</ulink></email>
		</address></affiliation></author><author><honorific>Dr</honorific><firstname>Robert</firstname><othername>J.</othername><surname>Meier</surname><affiliation><address format="linespecific">			<email><ulink url="mailto:robert.meier@fanucrobotics.com?subject=Re%3ALinux%2BWindows%2DHOWTO">robert.meier@fanucrobotics.com</ulink></email>
		</address></affiliation></author><author><firstname>Greg</firstname><surname>Ferguson</surname><affiliation><address format="linespecific">			<email><ulink url="mailto:jgferg@hoop.timonium.sgi.com">gferg@hoop.timonium.sgi.com</ulink></email>
		</address></affiliation></author></authorgroup><othercredit role="converter"><firstname>Eric</firstname><surname>Womack</surname><affiliation><orgname>Las Vegas Data LLC.</orgname><address format="linespecific">			<email><ulink url="mailto:eric@lasvegasdata.com">eric@lasvegasdata.com</ulink></email>
		</address></affiliation><contrib>Conversion from HTML to DocBook 4.1 (SGML)</contrib></othercredit><date>2001-12-28</date><revhistory><revision><revnumber>0.1.1</revnumber><date>2001-12-28</date><revremark>Conversion to SGML</revremark></revision><revision><revnumber>0.1.0</revnumber><date>1999-11-04</date><revremark>Collected from LDP</revremark></revision><revision><revnumber>0.0.2</revnumber><date>1999-10-21</date><revremark>First draft of Linux+Windows-HOWTO</revremark></revision><revision><revnumber>0.0.1</revnumber><date>1995-11-01</date><revremark>Wrote Linux+Win95</revremark></revision></revhistory><abstract><para>	This HOWTO is aimed at assisting those who wish to use the features of both Windows and Linux on the same host.</para></abstract></articleinfo><sect1 id="overview"><title>Overview</title><sect2 id="audience"><title>Intended Audience</title><para>	Nancy just bought a new computer.  It came preloaded with Windows 98. Nancy wants to run accounting software supported by Windows 98 and mathematical research software. Nancy is an accountant and donates her time as the accountant for the local chapter of a charitable organization.  The charitable organization requires the chapters to use standard software that they have chosen.  This software is only supported on Windows 98, so Nancy must have Windows 98 to donate her accounting services.  Nancy also teaches mathematics and personally pursues research mathematics.  She is not a programmer amd doesn't want to waste unnecessary time doing system administration nor working with inflexible software.  She believes that octave, c++ and the best research software is supported by unix.  As a unix dialect she wants linux.</para><para>	Lisa is shopping for a new computer to replace her aging host.  Her computer will be preloaded with RedHat 6.2 linux.  Lisa is a professional programmer, who plans to run a server and firewall on her old computer.  Lisa wants a low maintenance machine that reliability does her bidding.  Occasionally she needs to read and write files for Macintosh and/or Windows users.  She plans to remove Windows 95 from her old computer and run a dedicated server and firewall under linux.  In accordance with her Microsoft End User License Agreement she will transfer Windows 95 to her new computer.  Since she plans to spend most of her time in linux, it isn't worth buying a second Windows license to run Windows on both hosts.</para><para>	Oscar is a system administrator for a large corporation that uses Windows NT and Irix workstations.  One of the Windows NT workstations has just crashed and won't boot.  Oscar has to recover critical data from the host which was not backed up.  He needs tools to script searches and filter files.  Oscar wants to use the panolpy of unix commands to low-level examine the hard disk in his search for the lost corporate assets.  Last year Oscar configured a "dual booter" but he no longer remembers the details.</para><para>	Tom is a graduate school teacher.  Tom also teaches continuing education at the local community house.  Nancy is a friend of Tom and asked for his help with her new computer.  Tom is happy to oblige and this HOWTO is one of the consequences.</para></sect2><sect2 id="how"><title>How to Use This HOWTO</title><para>	 This HOWTO is focused on a general step-by-step procedure.  You should first read which character among the intended audience  that you most nearly match.  Follow along as Tom helps each characters configure their systems.  Before doing more than skimming, you should at least skim the critical concepts.  Some of the words used may be unfamiliar, obsolete, or applied differently, so it is important to understand their usage in this HOWTO.  Please write the maintainer with your experience good or bad.</para></sect2><sect2 id="concepts"><title>Concepts</title><para>	Understanding this HOWTO depends on understanding its use of the following concepts.</para><itemizedlist><listitem><para>Disk and Format</para></listitem><listitem><para>Partition and Filesystem</para></listitem><listitem><para>Operating System</para></listitem></itemizedlist></sect2></sect1><sect1 id="procedure"><title>Procedure</title><sect2 id="reference"><title>Reference</title><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>Backup your software and data</para></listitem><listitem><para>Compile a catalog of hardware component models and software versions.</para></listitem><listitem><para>Attach new disks.</para></listitem><listitem><para>Compact the existing software and data.</para></listitem><listitem><para>Repartition the disk.</para></listitem><listitem><para>Format the new partitions.</para></listitem><listitem><para>Load the new operating systems.</para></listitem><listitem><para>Install the boot manager (uc).</para></listitem><listitem><para>Cross mount the devices.</para></listitem></orderedlist><sect3 id="backup"><title>Backup</title><para>	Installing linux on Nancy system will involve repartitioning.  Any time you repartition a hard disk you run a significant risk of losing data on the disk.  More precisely repartitioning does not actually cause data loss, but does tend to discover data that was lost piror.</para><para>	Tom warned Nancy that she should backup everything before starting.  Familiar with pluming repair, Tom knew that whey you shut off the water for 10min to replace a dripping faucet, you often find that the pipes in the floor were rusted and leaking.  Nancy knew nothiing of plumbing, but she had a good book collection and had moved several times.  She knew that bookshelves often break when you move them.</para><para>	Since Lisa is buying a new computer, she has nothing yet to backup.  When Oscar asked for the backups of the crashed computer he was met with the usual blank expressions.  His job is essentially ot make a backup of the otherwise lost data.</para><para>	This version of this HOWTO does not detail how to backup.  If you wish to see more information on backing up or if you wish to provide information please contact the maintainer.</para></sect3><sect3 id="catalog"><title>Catalog</title><para>	During installation, the size of disks, and other accurate specifications will be necessary.  Entry of slightly wrong values will result in subtle problems that may not show up immediately but will often be chronic, frustratingly difficult to diagnose, and maybe impossible to fix.</para><para>	Windows and your linux distribution may not support the same hardware.  You should see the Hardware Compatibility HOWTO for a list of what is known to be compatible or incompatible.</para><para>	In general Windows is the more restrictive with exception of WinModems/WinPrinters/....  Any hardware supported by Windows will usually be supported by linux, though not necessarily included in your distribution.  Much hardware, especially the old and the cutting edge, may be supported by linux but not by Windows.  If not included in your distribution, you can usually download linux drivers and or modules from the Internet.</para><para>	Winmodems, Winprinters, Winscanners, etc. are not supportable under linux.  These devices are actually firmware that depend on proprietary Windows software.  In the United States it is illegal to sell a linux distribution that supports these devices.</para><para>	Lisa has dealt with software long enough to know the value of specifications.  Even before purchasing a computer, Lisa has already created a log.  For each computer being considered from each prospective vendor, Lisa has a list of each component, its model and capabilities.</para><para>	Tom knows that one of the least expensive means to support reliability in any complex system (computer, airplane, car, etc.) is by keeping accurate maintenance records.  Many (if not most) of the compatiblity problems reported by Tom's students would be prevented if accurate records were kept and consulted.</para><para>	Tom usually recommends avoiding WinModems, etc. because their performance limitations are too severe for most people..</para><para>	Oscar's company keeps records on the hardware components of each  computer.  Before trying to fix any problem, Oscar examines the log and often finds that intractible problems becomre easily solved when you know the model details.</para></sect3><sect3 id="attach"><title>Attach</title><para>	One of the useful features of linux is the wide range of diagnostic and repair tools that it supports.  The easy ability to write scripts also makes it easy to write worms and do other recovery operations.</para><para>	Oscar has easy access to a spare hard drive.  He checked the Hardware Compatibility HOWTO to select a hard drive model.</para><itemizedlist><listitem><para>Oscar grounds himself with a wrist strap to avoid accidental electrostatic damage.</para></listitem><listitem><para>He opens the case according to the service manual.</para></listitem><listitem><para>He slides the disk into the secondary drive slot and attaches an IDE cable.</para></listitem><listitem><para>Oscar closes the case and ungrounds himself.</para></listitem></itemizedlist><para>This version of this HOWTO does not detail how to attach new drives.  If you wish to see more information on attaching or if you wish to provide information please contact the maintainer.</para></sect3><sect3 id="compact"><title>Compact</title><para>	Most new computers preloaded with Windows are delivered with a single FAT32 partition that occupies the entire disk.  Before loading a second operating system on a shared disk, it must be split into at least two partitions, since Windows and some linux distributions will not tolerate another operating system on the same partition.</para><para>	Software is normally stored distributed across the disk partition.  Before splitting a partition, all the data must be moved to the start of the partition, so that when the partition is split, the old software and data won't be lost.   Tom warns Lisa, Nancy, and especially Oscar that compacting is not reversible.  If the partition is error-free, no active files will be lost, but disconnected (deleted) files may be lost.  If the partition has errors, tools exist that can often (but not always) recover disconnected files before compaction.  After compacting , the disconnected files are probably unrecoverable.</para><para>	The fips included in tomsrtbt-1.6.335 is 0.9e and Tom has used it directly with Windows 95.  Windows98 requires fips-2.0 or later which (at press time) was not included in the archived tomsrtbt distributions.</para><para>	Nancy is unafamiliar with open source code and the Internet, so Tom offers to create her fips disk.</para><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>Download fips-2.0 and expand in the directory $FIPSROOT</para><para>(This may require privelege depending on Tom's linux configuration)</para><para>(The address will probably change by the time you read this.)</para><screen format="linespecific">bashent FIPSROOT=/opt/packages/fips-2.0
bashent mkdir -p $FIPSROOT/original
bashent cd $FIPSROOT/original
bashent wget ftp://sunsite.icm.edu.pl/pub/Linux/sunsite.unc.edu/system/installl/fips-2.0.zip
bashent cd $PIPSROOT
bashent unzip -d oritinal/fips-2.0.zip
			</screen></listitem><listitem><para>Insert and mount the startup disk from Nancy.</para><para>(This may require priveleges depending on Tom's linux configuration)</para><screen format="linespecific">bashent mkdir -p /floppy
bashent mount -t vfat /dev/fd0 /floppy
			</screen></listitem><listitem><para>Follow the instructions for fips.  At press time, this means copy 3 files to the startup disk.</para><screen format="linespecific">bashent cp restorrb.exe fips.exe errors.txt /floppy
			</screen></listitem><listitem><para>Unmoun the floppy and return it to Nancy.</para><screen format="linespecific">bashent umount /floppy
			</screen></listitem></orderedlist><para>Nancy's new machine was delivered preloaded with Windows 98 on a single partition occupying the entire disk.  The installation was already compact, but Nancy used scandisk and defrag anyway just to be safe.   When splitting the partition with fips, it warns that the physical partition length does not equal the logical partitin length.  Tom explains that this is expected since her disk has more than 1024 cylinders.  Tom suggests that Nancy record the current partition info in case it is needed to recover from a disaster.  Following Tom's suggestion, Nancy reduces the first partition to approximately 30% of the total disk size.</para><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>Create a statup disk and give it to Tom.</para><para>		<guimenu moreinfo="none">[Start]</guimenu><guisubmenu moreinfo="none">[Settings...\Control Panel] [[Add/Remove Programs] [Startup Disk] [Create Disk ...]</guisubmenu>
		</para></listitem><listitem><para>Verify that the disk has no detectible errors.</para><para>(There may still be hiddent errors.)</para><para>		<guiicon moreinfo="none">[My Computer] </guiicon><guiicon moreinfo="none">{(C:\)} </guiicon><guimenu moreinfo="none">[Properties ...] [Tools] [Error-checking status\Check now ...] [Type of test\Thorough] [Start]</guimenu>
		</para></listitem><listitem><para>Fis any errors reported.</para></listitem><listitem><para>Defragment the disk to remove blank areas and deleted files.</para><para>		<guiicon moreinfo="none">[My computer] </guiicon><guiicon moreinfo="none">{(C:\)} </guiicon><guimenu moreinfo="none">[Properties ...] [Tools] [Defragmentation status\Defragment now ...]</guimenu>
		</para></listitem><listitem><para>Insert the fips startup disk from Tom and restart the computer.</para><para>		<guimenu moreinfo="none">[Start] </guimenu><guisubmenu moreinfo="none">[Shutdown...] [Restart] [OK]</guisubmenu>
		</para></listitem><listitem><para>When the computer reboots, split the partition.</para><screen format="linespecific">A:\ent fips
Save current partition info: yes
New partition start: 501
		</screen></listitem></orderedlist></sect3><sect3 id="repartition"><title>Repartition</title><para>	A normal linux installation requires at least two partitions.  It usually improves performance to more partitions.  Most bioses support no more than 4 primary partitions.</para><para>	Tom recommends that the disk be divided into 4 partitions.</para><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>~33% Windows bootable</para><para>Windows requires residency on the first primary partition</para></listitem><listitem><para>~33% linux bootable</para><para>On most computers, bootable partitions must reside entirely below 1024 cylinders.</para></listitem><listitem><para>~64M swap</para><para>A filesystem optimized for memory caching improves performance.</para></listitem><listitem><para>~33% data</para><para>The last partition may be used by either or both operating systems if is compartible.</para></listitem></orderedlist><para>	The Windows bootable partition must be one of the filesystems supported by Windows.  Likewise the linux bootable partition must be one of the filesystems supported by linux.  The swap partition must have a filesystem supported by the operating system that will use it.  The last partition will be used for data, and can have any filesystm.</para><para>	At press time, the above division is safe for most computers.</para><para>	Nancy is unafamiliar with open source and the Internet, so Tom lends her one of his diagnostic disks with tomsrtbt..</para><para>	tomsrtbt is a small distribution of linux on a single floppy disk that loads into RAM.  Since it does not occupy nor run on the hard disk it is superb for situations where the hard disk will be modified (e.g. repartitioning).</para><para>	Tom stresses that repartitioning is simple but must be done with meticulous care, since everything else depends on it.  Like ignoring a crack in the foundation of a house, partition table errors may not become apparent for a long time, when it will be difficult or impossible to correct.</para><para>	Nancy will be using her system primarily with Windows, so Tom recommends that her data partition use FAT32   From the compoent catalog that Tom prepared for her computer, Nancy knows that her hard disk has 1661 cylinders.</para><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>0001-0501 Windows FAT32 bootable</para></listitem><listitem><para>0502-1002 linux ext2 bootable</para></listitem><listitem><para>1003-1011 linux swap</para></listitem><listitem><para>1012-1661 data FAT32</para></listitem></orderedlist><para>	Lisa will be using her system primarily with linux, so her data partition will use ext2   The data partition will then be unavailable to Windows, but will be more easily used from linux.  Lisa's hard disk has 787 cylinders.</para><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>0001-0262 Windows FAT32 bootable</para></listitem><listitem><para>0263-0525 linux ext2 bootable</para></listitem><listitem><para>0526-0779 linux swap</para></listitem><listitem><para>0780-0787 data ext2</para></listitem></orderedlist><para>	Nancy uses the tomsrtbt disk provided by Tom and fdisk on it to edit her partition table.</para><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>Insert the tomsrtbt disk and restart the computer.</para></listitem><listitem><para>Read the fdisk instructions and list of known partition types</para><screen format="linespecific">bashent /bin/fdisk
fdiskent m
fdiskent l
		</screen></listitem><listitem><para>Read and record the partition table</para><para>(After fips, her disk has two partitions.)</para><screen format="linespecific">fdiskent p
		</screen></listitem><listitem><para>Since her disk has more than 1024 cylinders, update the cylinder count known to fdisk with an advanced command</para><screen format="linespecific">fdiskent x
fdisk expertent c 1661
fdisk expertent r
		</screen></listitem><listitem><para>Delete the 2nd partition which was created by fips.</para><screen format="linespecific">fdiskent d
... partition[1-2]? 2
		</screen></listitem><listitem><para>Add the new 2nd partition for linux</para><screen format="linespecific">fdiskent n
... partition ...? 2
... extended ... primary ... type? p
... start ...? 502
... end ...? 1002
		</screen></listitem><listitem><para>Add the new 3rd partition for swap</para><screen format="linespecific">fdiskent n
... partition ...? 3
... extended ... primary ... type? p
... start ...? 1003
... end ...? 1011
		</screen></listitem><listitem><para>Add the new 4th partition for data</para><screen format="linespecific">fdiskent n
... partition ...? 4
... extended ... primary ... type? p
... start ...? 1012
... end ...? 1661
		</screen></listitem><listitem><para>Reprint the partition table and check carefully for errors.</para><para>(delete and add the partitions if there are any errors)</para><screen format="linespecific">fdiskent p
		</screen></listitem><listitem><para>Set the type (filesystem to be used) on each partition.</para><screen format="linespecific">fdiskent t
... partition ...? 2
... type ...? 83
fdiskent t
... partition ...? 3
... type ...? 82
fdiskent t
... partition ...? 4
... type ...? 0c
		</screen></listitem><listitem><para>Record and repriint the partition table and check carefully for errors.</para><para>If unsatisfied quit.</para><screen format="linespecific">fdiskent q
		</screen></listitem><listitem><para>If satisfied, write the partition table.</para><screen format="linespecific">fdiskent w
		</screen></listitem></orderedlist><para>	Nancy records the new partition table in her computer log.</para><screen format="linespecific">Disk /dev/hda: 255 heads, 63 sectors, 1661 cylinders
Units = cylinders of 16085 * 512 bytes

   Drive  Boot  Start  End  Blocks         Id   System
/dev/hda1 *        1     501  402451+ 0c  Win95 FAT32 (LBA)
/dev/hda2        502  1002  402482  83 Linux Native
/dev/hda3       1003  1011  72292     82 Linux Swap
/dev/hda4       1012  1661  5221125 83 Linux Native</screen></sect3><sect3 id="format"><title>Format</title><para>	In order to use any hard disk effectively, it must be formatted.  After formating, whther successful or not, all the old data in that partition is lost (the cost of recovery goes up 10-100x).</para><para>	Tom warns that Formatting is the only operation that is neither idempotent nor reversible.  The tool provided by the intended operating system should be used to format the partitions intended for that partition.  Use format under Windows to format FAT32 partitions.  Use</para><para>	Nancy formats the data partition under Windows.</para><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>Restart the computer in Windows</para></listitem><listitem><para>Format the partition</para><para>		<guimenu moreinfo="none">			[[My Computer]] {(D:)} [Format ...] [Format type\Full] [Start] Nancy uses the tomsrtbt disk provided by Tom to format the linux and swap partitions under linux.
		</guimenu>
		</para></listitem><listitem><para>Insert the tomsrtbt disk and restart</para></listitem><listitem><para>Check for bad blocks and format the linux partition.</para><screen format="linespecific">bashent mke2fs -c /dev/hda2
		</screen></listitem><listitem><para>Check the filesystem</para><screen format="linespecific">bashent e2fsck /dev/hda2
		</screen></listitem><listitem><para>Check for bad blocks and make the swap file system</para><screen format="linespecific">bashent mkswap -c /dev/hda3
		</screen></listitem></orderedlist><para>	(untested) Lisa formats only linux partitions using tomsrtbt in the same manner as Nancy.</para><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>Insert the tomsrtbt disk and restart</para></listitem><listitem><para>Check for bad blocks and format the linux partition.</para><screen format="linespecific">bashent mke2fs -c /dev/hda2
		</screen></listitem><listitem><para>Check the filesystem</para><screen format="linespecific">bashent e2fsck /dev/hda2
		</screen></listitem><listitem><para>Check for bad blocks and make the swap file system</para><screen format="linespecific">bashent mkswap -c /dev/hda3
		</screen></listitem><listitem><para>Check for bad blocks and make the data partition</para><screen format="linespecific">bashent mke2fs -c /dev/hda4
		</screen></listitem><listitem><para>Check the filesystem</para><screen format="linespecific">bashent e2fsck /dev/hda2
		</screen></listitem></orderedlist></sect3><sect3 id="ipload"><title>Initial Program Load</title><para>	Now is when the operating system(s) becomes a part ot the computer.  All prior steps laid the foundation.  This is the first time when the detail and accuracy of the catalog will be especially useful.  Follow the installation instructions provided with your distribution.   This HOWTO does not detail how to load the distribution because the distribution instructions will provide the best instructions.</para><para>	Though linux is available at no cost,Tom recommends purchasing a distribution with hardcopy instructions and support tools..  The price of a good distribution is well worth it.  In Tom's opinion, asking friends is the best way to choose a linux distribution.  A distribution that satisfies your friends with similar interests will probably satisfy you.</para><para>	Tom knows that Nancy got a newly released graphics card with which he has no experience.  He warns Nancy that the X configuration may not work.  When she calls him, he uses the expert options of yast which tell him that though her card is not listed by manufacturer and model it used the mach64 X server.  Now familiar with yast, Nancy installs the mach64 x server and removes the svga X server.  Tom stays to talk Nancy through X installation.  Nancy's monitor is not named in the configuration list, but with the model known from the catalog, a quick visit to the manufacturer's website provides the scan rate limits.</para><para>	Tom knows that the configurability of linux frightens many new users and so he has often recommended RedHat to first-time users because of its commercial technical support and default configuration settings.  He lets Nancy know that though she should try to consider each question before answering, she need fear a mistake because she can reverse almost any configuration decision later.   Most packages managment tools offer to load and save configurations files (e.g. /etc/linuxrc).</para><itemizedlist><listitem><para>Keep a list of the configuration questions and each answer to them.</para></listitem><listitem><para>When in doubt, add a package to linux, and note that it was in doubt.</para></listitem><listitem><para>A month after installation, go back and remove any packages that you haven't used, and log the removal.</para></listitem><listitem><para>Expect to discover some linux configuration errors by loss.</para></listitem><listitem><para>Change the linux configuration when you find that it is different from your desires.</para></listitem><listitem><para>When in doubt, do not add a package to Windows.</para></listitem></itemizedlist><para>	Tom knows that some differences between Windows and linux force some compromises.</para><itemizedlist><listitem><para>Set the hardware clock to local time.</para><para>Windows displays time, timestamps file operations, and synchronizes with the netowrk from the same clock.</para><para>Linux uses separate clocks for each of these.  On a linux only system, the hardware clock is usually set to UTC (Universal Time Coordinate), the network standard.  The network and file operations clock are usually just views of the hardware clock by linux.  For display, linux usually shifts the hardware clock according to the timezone and date.</para><para>Since Windows supports only one clock, you must decide (unless you live in Greenwich England) whether to set the hardware clock to local time or UTC.</para><para>If you use UTC, you will have to mentally convert the time displayed by Windows to local time.</para><para>If you use local time, some network activity may become confused.  International email problems are most commonly reported.  Mail sent from Berlin at 1300 local time may be stored a second later in New York at 1200 UTC where it awaits a channel to its San Francisco destination.  To save space, the New York host may delete mail that could not be sent in a reasonable time of 30min.  If the Berlin mail was unclear that ti was sent at 1300 Berlin time, or if the New York host is unwilling to do the conversion, the email may be lost as undliverable after 1 hour (1300 - 1200).</para></listitem></itemizedlist><para>	Since Nancy is an accountant, Tom recommends that she use the SuSE distribution.  SuSE comes with the ApplixWare suite of office software.  Nancy has already read the installation chapters of the book that accompanied her SuSE distribution.   yast from SuSE lets her store her configuration choices in a file which she includes in her computer log.</para><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>Nancy makes sure she has the catalog (and Tom's phone number) handy.</para></listitem><listitem><para>She inserts the SuSE  CDROM and reboots the computer.</para></listitem><listitem><para>She selects installation options (English, Color, ...)</para></listitem><listitem><para>She examines the hardware detected for her system and confirms that it matches her own catalog.</para><para>Both the hard disk and CD-RW were detected.</para><para>Both the sound and graphics cards were detected.</para><para>Both the PCI and USB buses were detected.</para></listitem><listitem><para>Following the instructions from SuSE, she starts YaST, the system configuration tool.</para></listitem><listitem><para>Already partitions, Nancy declines YaST's offer to repartition her disk.</para></listitem><listitem><para>Already formatted by Windows, Nancy declines YaST's offer to format her Window's partitions.</para></listitem><listitem><para>Though already formatted, Nancy accepts the offer to reformat her swap and linux partitions.</para></listitem><listitem><para>Set the mount points for the partitions.</para><screen format="linespecific">[CREATING FILESYSTEMS]
/dev/hda1     no    vfat /WinC Win95 FAT32
/dev/hda2 ... check ext2 /     Linux
/dev/hda4     no    vfat /WinD Win95 FAT32
		</screen></listitem><listitem><para>Nancy now selects the packages she wants.</para><para>Nancy includes the nonstandard packages that she knows she wants (e.g. CD writing).</para><para>Nancy excludes the standard packages that she knows she doesn't want (e.g. tape drive support).</para><para>Nancy selects packagas for her specific hardware (e.g. X server) using her catalog.</para><para>She indicates that the hardware clock is set to local time.</para><para>Nancy saves a copy of her configuration and puts in her log.</para></listitem></orderedlist><para>	(uc) This subsection of this HOWTO is not yet written.</para></sect3><sect3 id="bmload"><title>Boot Manager Load</title><para>	If you have two or more operating systems on a computer, you must have a means of selecting which operating system is loaded.</para><para>	Before installing a boot manager, Tom recommends that Nancy and Lisa make a boot disk (and master boot record backup).  He also recommends that each test their boot disks before installing the boot manager.  This is done so that the computer can be booted and the master boot record restored to the hard disk if the boot manager installation fails</para><para>	Because of its configurability and robustness, Tom recommends lilo to most users..  Most linux distributions support multiple linux versions on the same partition.  This means that you can install and test an upgrade to the operating system without the trouble of a lengthy reinstallation.  When  the upgrade is satisfactory (or not) you can remove versions no longer useful.</para><para>	During installation, SuSE offers to make a boot disk, and master boot record backup, before installing lilo.</para><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>Create a rescue floppy.</para><screen format="linespecific">[CREATE A BOOT DISK?/YES]
		</screen></listitem><listitem><para>Nancy write-protects the disk and puts in her log.</para></listitem><listitem><para>Nancy installs lilo</para><screen format="linespecific">[LILO INSTALLATION ...]
Windows /dev/hda1
SuSE    /dev/hda2 /boot/vmlinuz
		</screen></listitem></orderedlist><para>Windows installation overwrites the master boot record with one that loads Windows.  After installing Windows, Lisa must reinstall lilo.  To make this easier she uses loalin under Windows to load her existing linux and then uses linus to configure and install lilo..</para></sect3><sect3 id="mount"><title>Mount</title><para>	(uc) This subsection of this HOWTO is not yet written.</para></sect3></sect2></sect1><sect1 id="choices"><title>Choices</title><sect2 id="architecture"><title>Architecture</title><para>	The following is a summary of the architecture choices that you should consider.   Your choice will probably depend most on your compuer expertise level, value of existing data, and expected division of usage between Windows and linux.</para><table frame="all"><title>Architecture</title><tgroup cols="5"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><colspec colname="column4"></colspec><colspec colname="column5"></colspec><spanspec namest="column1" nameend="cons" spanname="column5" align="center"></spanspec><thead><row><entry>Separate for linux and Windows</entry><entry>Shared by linux and Windows</entry><entry>Support</entry><entry>Pros</entry><entry>Cons</entry></row></thead><tbody><row><entry></entry><entry>address space</entry><entry>Not Supported.  Windows must be the only operating system in its partition.</entry><entry></entry><entry></entry></row><row><entry>address space</entry><entry>partition</entry><entry>Not covered by this HOWTO.  VMWare under Windows</entry><entry>No need to disturb the current configuration.  Linux can be loaded on the emulated system.</entry><entry>linux is slow.</entry></row><row><entry>address space</entry><entry>partition</entry><entry>Not covered by this HOWTO.  VMWare under linux</entry><entry>No need to disturb the current configuration.  (unverified) Windows can be loaded on the emulated system.</entry><entry>Windows is slow</entry></row><row><entry>address space</entry><entry>partition</entry><entry>Not covered by this HOWTO.  DosLinux</entry><entry>No need to disturb the current configuration.</entry><entry></entry></row><row><entry>address space</entry><entry>partition</entry><entry>Not covered by this HOWTO.  Armed distribution (unverified)</entry><entry>No need to disturb the current configuration.</entry><entry></entry></row><row><entry>partition</entry><entry>disk</entry><entry>Windows requires that Windows reside in the first primary partition</entry><entry>Works with standard mail-order home computers from the major dealers.</entry><entry>Requires more installation effort.</entry></row><row><entry>disk</entry><entry>host</entry><entry></entry><entry>Minimizes risk to existing system and data.  Requires less installation effort.</entry><entry>Normally requires a second computer and extra disks.</entry></row><row><entry>host</entry><entry>network</entry><entry>Not covered by this HOWTO.  Classes, books, and online help is readily available.</entry><entry>Minimizes installation effort.</entry><entry>Requires at least two computers equipped with network interface cards.  Data is not directly available to the other operating system.</entry></row></tbody></tgroup></table></sect2><sect2 id="filesystems"><title>Filesystems</title><para>	Your choice of filesystem is usually constrained by the hard disk manufacturer, your choice of Windows version, and your choice of linux distribution.</para><table frame="all"><title>Filesystems</title><tgroup cols="4"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><colspec colname="column4"></colspec><spanspec namest="column1" nameend="column4" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Type</entry><entry>Code</entry><entry>Support</entry><entry>Description</entry></row></thead><tbody><row><entry>DOS6</entry><entry>0x06</entry><entry>Windows 95  Windows 98  Windows NT  linux</entry><entry>IBM DOS default filesystem  Names limited to eight characters + 3 character type</entry></row><row><entry>NTFS</entry><entry>0x07</entry><entry>Windows NT  linux read-only</entry><entry>Windows NT default filesystem  Names have arbitrary length  Names cannot include special characters</entry></row><row><entry>FAT32 LBA</entry><entry>0x0c</entry><entry>Windows 95  Windows 98  Windows NT  linux</entry><entry>Windows95/98 default filesystem  Names have arbitrary length  Names cannot inlcude special characters</entry></row><row><entry>swap</entry><entry>0x82</entry><entry>linux</entry><entry>linex default memory cache filesystem</entry></row><row><entry>ext2</entry><entry>0x83</entry><entry>linux</entry><entry>linux default filesystem  Names have arbitrary length  Names can contain arbitrary characters  Tends to suffer little external fragmentation.  Scales well over several magnitudes of size.  Runs quickly on semirandom access systems.</entry></row></tbody></tgroup></table></sect2><sect2 id="distribution"><title>Linux Distribution</title><para>	Your choice of distribution will depend mostly on friends' recommendations, your level of computer expertise, and easy availability of packages.  Most distributions will happily reside on the same disk, so there is no reason not to try several distributions until you find the one that is best for you.</para><table frame="all"><title>Distributions</title><tgroup cols="5"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><colspec colname="column4"></colspec><colspec colname="column5"></colspec><spanspec namest="column1" nameend="column5" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Distro</entry><entry>Publisher</entry><entry>Source</entry><entry>Pros</entry><entry>Cons</entry></row></thead><tbody><row><entry>RedHat</entry><entry>Red Hat, Inc.</entry><entry>http://www.redhat.com/</entry><entry>Easy to install.  Home-user-friendly  Commercial support available  Large number of bundled packages.  Tolerates unbundled packages.</entry><entry>Does not tolerate multiple versins on same partition.</entry></row><row><entry>Slackware</entry><entry>Walnut Creek CDROM</entry><entry>http://www.slackware.org</entry><entry>Largest number of bundled packages.  Professional-user-friendly  Easiest software development  New packages most often appear here first.  Tolerates unbundled packages  Tolerates multiple versions on same partition</entry><entry>Moderate computer expertise required.</entry></row><row><entry>SuSE</entry><entry>SuSE Gmbh</entry><entry>http://www.suse.com/</entry><entry>Easy to install.  Business-user-friendly  Aimed at business users  Commercial support available  Tolerates unbundled packages.  Tolerates multiple versions on same partition</entry><entry></entry></row></tbody></tgroup></table></sect2><sect2 id="bakuptools"><title>Backup Tools</title><table frame="all"><title>Backup Tools</title><tgroup cols="3"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><spanspec namest="column1" nameend="column3" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Tool</entry><entry>Requirements</entry><entry>Description</entry></row></thead><tbody><row><entry>Norton Ghost</entry><entry>Windows 95/98/NT network drive</entry><entry>Easy to use  Makes and restores images of disks or partitions.  No selection or deselection of files/directories.  No index generated.</entry></row><row><entry>tob</entry><entry>linux tape drive</entry><entry>Easy to use  Easy to configure  Selects or deselects files/directories to backup or restore  Generates index of backups searchable to find archived files</entry></row><row><entry>yast (untested)</entry><entry>backup tool</entry><entry>Graphical interface for system administration tools  Included with SuSE linux</entry></row></tbody></tgroup></table></sect2><sect2 id="compacttools"><title>Compaction Tools</title><table frame="all"><title>Compaction Tools</title><tgroup cols="3"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><spanspec namest="column1" nameend="column3" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Tool</entry><entry>Requirements</entry><entry>Description</entry></row></thead><tbody><row><entry>fips</entry><entry>Windows95  Included in tomsrtbt-1.6.335</entry><entry>Splits a FAT16 or FAT32 partition into two partitions without destroying data so that the new partition can be loaded with a d different operating system</entry></row><row><entry>fips</entry><entry>Windows98  Windows98 requires at least version 2.0  Run under Windows98</entry><entry>Splits a FAT16 or FAT32 partition into two partitions without destroying data so that the new partition can be loaded with a d different operating system</entry></row></tbody></tgroup></table></sect2><sect2 id="reparttools"><title>Repartitioning Tools</title><table frame="all"><title>Repartitioning Tools</title><tgroup cols="3"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><spanspec namest="column1" nameend="column3" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Tool</entry><entry>Requirements</entry><entry>Description</entry></row></thead><tbody><row><entry>fdisk</entry><entry>Included in tomsrtbt-1.6.335</entry><entry>Supports editting of a partition table.  Two-tiered menu system.  The first level includes read and normal operations.  The second level lets you fix inconsistencies.</entry></row><row><entry>fdisk</entry><entry>Included with Windows 95 and Windows 98</entry><entry>Does not permit creattion of partitios associated with filesystems not supported by Wirdows, nor selecting a bootable partition other than the first primary partition.</entry></row><row><entry>yast (untested)</entry><entry>backup tool</entry><entry>Graphical interface for system administration tools  Included with SuSE linux</entry></row></tbody></tgroup></table></sect2><sect2 id="formattools"><title>Formating Tools</title><table frame="all"><title>Formating Tools</title><tgroup cols="3"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><spanspec namest="column1" nameend="column3" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Tool</entry><entry>Requirements</entry><entry>Description</entry></row></thead><tbody><row><entry>e2fsck</entry><entry>Included in tomsrtbt-1.6.335</entry><entry>Checks an ext2 filesystem for errors</entry></row><row><entry>format</entry><entry>Included with Windows 95 and Windows 98</entry><entry>Creates a vfat filesystem on a chosen partition</entry></row><row><entry>mke2fs</entry><entry>Included in tomsrtbt-1.6.335</entry><entry>Creates an ext2 filesystem on a chosen partition.</entry></row><row><entry>mkswap</entry><entry>Included in tomsrtbt-1.6.335</entry><entry>Creates a swap filesystem on a chosen partition.</entry></row></tbody></tgroup></table></sect2><sect2 id="bootmanagers"><title>Boot Managers</title><table frame="all"><title>Boot Managers</title><tgroup cols="3"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><spanspec namest="column1" nameend="column3" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Tool</entry><entry>Requirements</entry><entry>Description</entry></row></thead><tbody><row><entry>lilo</entry><entry>linux</entry><entry>Configures which operating system is booted.  lilo itself if very robust and configurable.  Some care is required, since lilo is usually used to overwrite the master boot record, lest one carelessly loose the ability to boot Windows automatically.</entry></row><row><entry>loadlin (uc)</entry><entry>Windws 95 or 98</entry><entry>Started from Windows in dos mode.  (Can be placed as shortcut in Windows)  Replaces linux with Windows in memory.  Since loadlin does not overwrite the master boot record, a failed installation should not be able to risk Windows.</entry></row></tbody></tgroup></table></sect2></sect1><sect1 id="experience"><title>Actual Experiences</title><subtitle>Adding linux to New Computer Preloaded with Windows 98</subtitle><para>	Nancy is unfamiliar with keeping a log, so Tom prepared it for her as he unboxed and assembled her new computer.   tom also knows that it is far easier to remove the computer case once and record all the model numbers, chipsets, and model types than it is to later open the case to get a single model number or to guess the information that will be later needed.  During the computer service life, only 10% of the numbers collected will ever be used, but there is no easy way to predict which 10%.</para><para>	The following is an extract from Nancy's log.  Identidation numbers have been changed and some irrelevant data has been removed.  Most of the data came from the invoice that accomapanied the computer and the specifications [Start\Run...\] Open: c:\DELL\DOCS\EDOCS.EXE [OK] that were provided on the computer.</para><sect2 id="configuration"><title>Configuration</title><para>	A hardcopy of critical portions of this information, master disks, and backup disks is kept in a white binder, located physically close to this host, labelled Nancy System Administration Log.</para><sect3 id="hardware"><title>Hardware</title><table frame="all"><title>Hardware</title><tgroup cols="3"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><spanspec namest="column1" nameend="column3" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Date</entry><entry>Bay or Slot</entry><entry>Contents</entry></row></thead><tbody><row><entry>1999-10-21</entry><entry>Primary Hard Disk Bay</entry><entry>Hard Disk</entry></row><row><entry>1999-10-21</entry><entry>Secondary Hard Disk Bay</entry><entry>empty</entry></row><row><entry>1999-10-21</entry><entry>Diskette Drive Bay</entry><entry>Floppy Disk</entry></row><row><entry>1999-10-21</entry><entry>Drive Cage Top 5.25" Bay</entry><entry>CD Writer</entry></row><row><entry>1999-10-21</entry><entry>Drive Cage Bottom 5.25" Bay</entry><entry>empty</entry></row><row><entry>1999-10-21</entry><entry>Drive Cage Top 3.5" Bay</entry><entry>empty</entry></row><row><entry>1999-10-21</entry><entry>Drive Cage Bottom 3.5" Bay</entry><entry>empty</entry></row><row><entry>1999-10-21</entry><entry>Dimm Socket Bank 0</entry><entry>RAM</entry></row><row><entry>1999-10-21</entry><entry>Dimm Socket Bank 1</entry><entry>empty</entry></row><row><entry>1999-10-21</entry><entry>Dirmm Socket Bank 2</entry><entry>empty</entry></row><row><entry>1999-10-21</entry><entry>Primary EIDE Bus</entry><entry>Hard Disk</entry></row><row><entry>1999-10-21</entry><entry>Secondary EIDE Bus</entry><entry>CD Writer</entry></row><row><entry>1999-10-21</entry><entry>ISA Expansion Slot</entry><entry>empty</entry></row><row><entry>1999-10-21</entry><entry>PCI Expansion Slot 1</entry><entry>empty</entry></row><row><entry>1999-10-21</entry><entry>PCI Expansion Slot 2</entry><entry>Modem</entry></row><row><entry>1999-10-21</entry><entry>PCI Expansion Slot 3</entry><entry>empty</entry></row><row><entry>1999-10-21</entry><entry>PCI Expansion Slot 4</entry><entry>Sound</entry></row><row><entry>1999-10-21</entry><entry>PCI Expansion Slot 5</entry><entry>empty</entry></row><row><entry>1999-10-21</entry><entry>AGP Port</entry><entry>Graphics</entry></row></tbody></tgroup></table></sect3><sect3 id="components"><title>Components</title><table frame="all"><title>Components</title><tgroup cols="3"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><spanspec namest="column1" nameend="column3" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Date</entry><entry>Component</entry><entry>Action</entry></row></thead><tbody><row><entry>1999-10-21</entry><entry>Case</entry><entry>Tower  Mfr Dell  Model Dimension XPS Txxx  M/N MMS  Mfr Date mmddyy  P/N 01968D Rev A04  S/N nnnaa  DP/N 000338D Rev A00  DS/N xxxxx-xxx-xxxx  FCC Class B</entry></row><row><entry>1999-10-21</entry><entry>Dell Dimension XPS Txxx Refrence and Troubleshooting Guide</entry><entry>Mfr Dell  Model MMS  P/N 8868D Rev. A01</entry></row><row><entry>1999-10-21</entry><entry>Central Procssing Unit</entry><entry>procssor: 0  vendor_id: GenuineIntel  cpu family: 6 (Pentium III)  model: 7  model name: 00/07  stepping: 3  cpu MHZ: 448.971025  cache size: 512 KB  fdiv_bug: no  hlt_bug: no  sep_fug: no  f00f_bug: no  coma_bug: no  fpu: yes  fpu_exception: yes  cpuid level: 2  wp: yes  flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat  bogomips: 447.28  FCC Class B</entry></row><row><entry>1999-10-21</entry><entry>System Battery</entry><entry>CR2032 3.0V</entry></row><row><entry>1999-10-21</entry><entry>System Board</entry><entry>DP/N AA722396-109 Rev. A01  S/N xxxxxxxx-xxxxx-xxx-xxxx  FCC Class B</entry></row><row><entry>1999-10-21</entry><entry>Hard Disk</entry><entry>Primary Hard Disk Bay  Primary EIDE Bus  FCC Class B  Capacity 13.6 GB  RPM 7200RPM  LBA 26.712.000 SECTORS  CYL 1661  DeskStar  Mfr IBM Disk Storage Products KFT.  Model DPTA-371360 IDE/ATA  MLC F42312  P/N 31L9151  DP/N 0003570T-47710-9A2-31TJ  Rev A00</entry></row><row><entry>1999-10-21</entry><entry>Floppy Disk</entry><entry>Diskette Drive Bay  FCC Class B  Mfr Sony  Model MPF920  S/N xxxxxxxx  DP/N 0003884D Rev A00  DS/N xxxxx-xxx-xxxx</entry></row><row><entry>1999-10-21</entry><entry>CD Writer</entry><entry>Drive Cage Top "5.25" Bay  Secondary EIDE Bus  FCC Class B  Jumpers  Reserved  Reserved  R Audio Out  Gnd  Gnd  L Audio Out  CSEL (closed)  SLAVE (open)  MASTER (open)  ATAPI Cable (40-pin keyed)  Power Supply (IBM 4-pin)CDR 4x  CDRW 4x  Read 24x  Mfr Sony  Model CD-R/RW ATAPI  M/N CRX100E  S/N xxxxxx  DP/N 0002064P Rev A00  DS/N xxxxx-xxx-xxxx</entry></row><row><entry>1999-10-21</entry><entry>RAM</entry><entry>Dimm Socket Bank 0  FCC Class B  16Mx 64 MB SDRAM  Non-ECC  PC100-222-620  168-pin  Mfr Toshiba  M/N THMY6416H1EG-A0  S/N xxxxxx/xxxxxxx</entry></row><row><entry>1999-10-21</entry><entry>Modem</entry><entry>PCI Expansion Slot 2  J8 -ent Sound Telephone Audio Out  FCC Class B  56K  See CD 3Com U.S.Robotics  Modem CD-ROM  USRobotics V.90/56K  Model 0727  Mfr 3Com  Product 3CP3298-DEL  SN xxxxxxxxxxxx  DP/N 00046XVP Rev A00  DS/N xxxxx-xxx-xxxx</entry></row><row><entry>1999-10-21</entry><entry>Sound</entry><entry>Montego II  PCI Expansion Slot 4  CD IN -ent CD Writer Audio Out  TAO -ent Modem J8  FCC Class B  Mfr Turtle Beach  Model A3D 320V  DP/N 0005931D Rev A00  DS/N xxxxx-xxx-xxxx</entry></row><row><entry>1999-10-21</entry><entry>Graphics</entry><entry>AGP Port  FCC Class B  Mfr ATI Technologies Inc  P/N 1024980311010171  S/N xxxxxxxxxxxxxxxxxxxxxxxxxx.  DP/N 0000320D Rev A00  DS/N xxxxx-xxx-xxxx</entry></row><row><entry>1999-10-21</entry><entry>Power Supply</entry><entry>FCC Class B  DP/N 0009228C Rev N02  DS/N xxxxx-xxx-xxxx</entry></row><row><entry>1999-10-21</entry><entry>Monitor</entry><entry>FCC Class B  17" (15.3" visible)  Color 1024x768  See CD Displays by Dell  Ultrascan P780 Color Monitor  Mfr Dell Computer, Inc.  Model UltraScan P780  P/N 6271R  S/N xxxxxxxxxxx</entry></row><row><entry>1999-10-21</entry><entry>Speakers</entry><entry>Right Analog Input -ent Sound ((( )))  FCC Class B  Mfr Harmon/Kardon  Right M/N HK195  Right P/N 3862A201  Right DP/N ZL001-98U Rev B  Right DS/N xxxxx-xx  Left M/N HK195  Left DP/N ZL001-98URev B  Left DS/N xx-xx  Adapter M/N A41411C  Adapter P/N HK195-01T  Adapter Input 60Hz 22W  Adapter Output 15VAC 1.1A</entry></row><row><entry>1999-10-21</entry><entry>Keyboard</entry><entry>QuietKey  PS/2 Keyboard Connector  FCC Class B  Mfr Dell  DP/N 0004939R Rev A00  DS/N xxxxx-xxx-xxxx</entry></row><row><entry>1999-10-21</entry><entry>Mouse</entry><entry>MS IntelliMouse  PS/2 Mouse Connector  FCC Class B  Mfr Microsoft Inc.  Model IntelliMouse 1.1A PS/2  S/N xxxxxxxxx  DP/N 03235E Rev A00</entry></row><row><entry>1999-10-21</entry><entry>Microphone</entry><entry>-ent Sound Mic In  FCC Class B</entry></row></tbody></tgroup></table></sect3><sect3 id="table-bios"><title>BIOS</title><table frame="all"><title>BIOS</title><tgroup cols="3"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><spanspec namest="column1" nameend="column3" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Date</entry><entry>Component</entry><entry>Action</entry></row></thead><tbody><row><entry>1999-10-21</entry><entry>Setup Procedure</entry><entry>Restart  When Dell splash screen appears,  [del] Dell Dimension XPS T450 Setup</entry></row><row><entry>1999-10-21</entry><entry>Main\BIOS Version</entry><entry>A05</entry></row><row><entry>1999-10-21</entry><entry>Main\Processor Type</entry><entry>Pentium(R) III</entry></row><row><entry>1999-10-21</entry><entry>Main\processor Speed</entry><entry>450 MHz</entry></row><row><entry>1999-10-21</entry><entry>Main\Cache RAM</entry><entry>512KB</entry></row><row><entry>1999-10-21</entry><entry>Main\Service Tag</entry><entry>zzzzz</entry></row><row><entry>1999-10-21</entry><entry>Main\System memory</entry><entry>128 MB</entry></row><row><entry>1999-10-21</entry><entry>Main\L2 Cache ECC Support</entry><entry>Auto</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Peripheral Configuration\Plug ent Play O/S</entry><entry>No</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Peripheral Configuration\Reset Configuration Data</entry><entry>No</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Peripheral Configuration\NumLock</entry><entry>Auto</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Peripheral Configuration\Serial Port A</entry><entry>Auto</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Peripheral Configuration\Parallel Port</entry><entry>Auto</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Peripheral Configuration\Mode</entry><entry>ECP</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Peripheral Configuration\Legacy USB Support</entry><entry>Enabled</entry></row><row><entry>1999-10-21</entry><entry>Advanced\IDE Configuration\IDE Controller</entry><entry>Both</entry></row><row><entry>1999-10-21</entry><entry>Advanced\IDE Configuration\Primary IDE Master</entry><entry>IBM-DPTA-371360-(PM)</entry></row><row><entry>1999-10-21</entry><entry>Advanced\IDE Configuration\Primary IDE Slave</entry><entry>None</entry></row><row><entry>1999-10-21</entry><entry>Advanced\IDE Configuration\Secondary IDE Master</entry><entry>CD-RW CRX100E- (SM)</entry></row><row><entry>1999-10-21</entry><entry>Advanced\IDE Configuration\Secondary IDE Slave</entry><entry>None</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Diskette Options\Diskette Controller</entry><entry>Enabled</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Diskette Options\Diskette A</entry><entry>1.44/1.25 MB 3.5"</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Diskette Options\Diskette Write Protect</entry><entry>Space Available</entry></row><row><entry>1999-10-21</entry><entry>Advanced\DMI Event Logging\Event log validity</entry><entry>Valid</entry></row><row><entry>1999-10-21</entry><entry>Advanced\DMI Event Logging\View DMI event log</entry><entry>No unread events</entry></row><row><entry>1999-10-21</entry><entry>Advanced\DMI Event Logging\Clear all DMI event logs</entry><entry>No</entry></row><row><entry>1999-10-21</entry><entry>Advanced\DMI Event Logging\DMI event logging</entry><entry>Enabled</entry></row><row><entry>1999-10-21</entry><entry>Advanced\DMI Event Logging\Mark DMI events as read</entry><entry>No unread events</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Video Configuration\ISA Palette Snooping</entry><entry>Disabled</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Video Configuration\AGP Aperature Size</entry><entry>64MB</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Video Configuration\Default Primary Video Adapter</entry><entry>AGP</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Resource Configuration\C800-CBFF</entry><entry>Available</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Recource Configuration\CC00-CFFF</entry><entry>Available</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Recource Configuration\4000-43FF</entry><entry>Available</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Recource Configuration\4400-47FF</entry><entry>Available</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Recource Configuration\4800-4BFF</entry><entry>Available</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Recource Configuration\4C00-4FFF</entry><entry>Available</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Recource Configuration\IRQ 3</entry><entry>Available</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Recource Configuration\IRQ 4</entry><entry>Available</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Recource Configuration\IRQ 5</entry><entry>Reserved</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Recource Configuration\IRQ 7</entry><entry>Available</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Recource Configuration\IRQ 10</entry><entry>Available</entry></row><row><entry>1999-10-21</entry><entry>Advanced\Recource Configuration\IRQ 11</entry><entry>Available</entry></row><row><entry>1999-10-21</entry><entry>Power\Power Management</entry><entry>Enabled</entry></row><row><entry>1999-10-21</entry><entry>Power\Inactivity Timer</entry><entry>Off</entry></row><row><entry>1999-10-21</entry><entry>Power\Hard Drive</entry><entry>Enabled</entry></row><row><entry>1999-10-21</entry><entry>Power\VESA Video Power Down</entry><entry>Standby</entry></row><row><entry>1999-10-21</entry><entry>Boot\Boot-time Diagnostic Screen</entry><entry>Disabled</entry></row><row><entry>1999-10-21</entry><entry>Boot\QuickBoot Mode</entry><entry>Disabled</entry></row><row><entry>1999-10-21</entry><entry>Boot\First Boot Device</entry><entry>Removable Devices</entry></row><row><entry>1999-10-21</entry><entry>Boot\Second Boot Device (obsolete)</entry><entry>Hard Disk</entry></row><row><entry>1999-10-21</entry><entry>Boot\Second Boot Device</entry><entry>ATAPI CD-ROM Driv</entry></row><row><entry>1999-10-21</entry><entry>Boot\Third Boot Device (obsolete)</entry><entry>ATAPI CD-ROM Driv</entry></row><row><entry>1999-10-21</entry><entry>Boot\Third Boot Device</entry><entry>Hard Disk</entry></row><row><entry>1999-10-21</entry><entry>Boot\Fourth Boot Device</entry><entry>Network Drive</entry></row><row><entry>1999-10-21</entry><entry>Boot\Hard Drive\1</entry><entry>IBM-DPTA-371360-(PM)</entry></row><row><entry>1999-10-21</entry><entry>Boot\Hard Drive\2</entry><entry>Bootable Add-In Card</entry></row><row><entry>1999-10-21</entry><entry>Boot\Removable Devices\1</entry><entry>Legacy Floppy Drive</entry></row></tbody></tgroup></table></sect3><sect3 id="firmware"><title>Firmware</title><table frame="all"><title>Firmware</title><tgroup cols="3"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><spanspec namest="column1" nameend="column3" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Date</entry><entry>Component</entry><entry>Action</entry></row></thead><tbody><row><entry>1999-10-21</entry><entry>Partition Table</entry><entry>tomsrtbt-1.6.335 (linux-2.0.35)  bashent/bin/fdisk  fdiskent p  Disk /dev/hda: 255 heads, 63 sectors, 1024 cylinders  Units = cylinders of 16085 * 512 bytes  Drive  Boot  Start  End  Blocks         Id   System  /dev/hda1 *        1     1662 13349983+ 0c  Win95 FAT32 (LBA)  Partition has different physical/logical endings  phys = (1022, 254, 63)  logical = (1661, 254, 63)</entry></row><row><entry>1999-10-22</entry><entry>Partition Table</entry><entry>Windows98 Startup Disk +fips.exe  A:\ent fips  (Ignore warning about physical != logical length)  Save current partition info: yes  (saved as rootboot.000)  New partition start: 501  tomsrtbt-1.6.335 (linux-2.0.35)  bashent/bin/fdisk -v  fips Version 2.8  bashent/bin/fdisk  fdiskent p  Disk /dev/hda: 255 heads, 63 sectors, 1661 cylinders  Units = cylinders of 16085 * 512 bytes  Drive  Boot  Start  End  Blocks         Id   System  /dev/hda1 *        1     501  402451+ 0c  Win95 FAT32 (LBA)  /dev/hda2        502  1002  402482  83 Linux Native  /dev/hda3       1003  1011  72292     82 Linux Swap  /dev/hda4       1012  1661  5221125 83 Linux Native </entry></row><row><entry>1999-10-21</entry><entry>Windows Operating System</entry><entry>DESC KIT,DOC/DSK,W98,OSR1,ENG  Language English (United States)  Keyboard United States 101  First and Middle Jo'an K.  Last Name Meier  Country Code United States of America  Area Code 336  Access Code No  Touch Tone Yes  Time Zone (GMT-05:00) United States Eastern  Daylight Savings Time Automatic  Mfr Microsoft  Model Windows98 2nd Ed  Product Key G74XD-KMV7J-XJC3X-PYBG6-DHPP6  S/N xxxxxxxxxx  DP/N 08001T Rev. A00</entry></row><row><entry>1999-11-03</entry><entry>linux Operating System</entry><entry>SuSE-6.2.0-2  reboot CDROM1  linuxrc v0.91 (kernel 2.2.10)  linuxrcent ... language ... English  ... display ...? Color display  ... keyboard ... English (US)  Main menu  System Information  Harddisks / CD-ROMS  (Hard Disk and CD-ROM found)  Processor  (no bugs)  Start Installation / System  Start Installation  Source: CD-ROM  Yast v1. 01 Install Linux from scratch  [SELECT SWAP PARTITION] /dev/hda3  ... format ... yes  [PARTITION HARDDRIVES/Do not Partition]  CREATING FILESYSTEMS:  /dev/hda1     no    vfat /WinC Win95 FAT32  /dev/hda2 ... check ext2 /     Linux  /dev/hda4     no    vfat /WinD Win95 FAT32  Create/Change Configuration  Xserver = svga (otherwise unrecognized)  [SELECT KERNEL/Standard (E)IDE Kernel]</entry></row><row><entry>1999-11-05</entry><entry>Root password</entry><entry>In sealed envelope in hardcopy log.</entry></row><row><entry>1999-11-05</entry><entry>X11</entry><entry>XFree86-3.3.4</entry></row><row><entry>1999-11-05</entry><entry>X11 mouse</entry><entry>bashent yast  [System Administration/X86 Configuration/SaX]  [Mouse]  Vendor: Microsoft  Name: Intellimouse PS/2  Port: PS/2  Buttons: 3  [Expert]  Protocol: IMPS/2  Device: /dev/psaux [OK]  [Apply]</entry></row><row><entry>1999-11-05</entry><entry>X11 keyboard</entry><entry>bashent yast  [System Administration/X86 Configuration/SaX]  [Keyboard]  Model: Dell 101-key PC  Language: U.S. English  [Apply]</entry></row><row><entry>1999-11-05</entry><entry>X11 Graphics Card</entry><entry>bashent yast  [System Administration/X86 Configuration/SaX]  [Card]  Vendor: ATI  Model: XPERT98  [Expert]  Server: XF86_mach64  Memory: 8192k  DAC: 207  [Apply]</entry></row><row><entry>1999-11-05</entry><entry>X11</entry><entry></entry></row><row><entry>1999-11-05</entry><entry>TimeZone</entry><entry>EST5EDT  Hardware Clock set to local time</entry></row><row><entry>1999-11-05</entry><entry>Network</entry><entry>Hostname: xxxxxxx  Domain: xxxx.xxx  No network card  [TCP IP CONFIGURATION/Loopback only1</entry></row><row><entry>1999-10-21</entry><entry>Partition 1 Filesystem</entry><entry>C:  FAT32</entry></row><row><entry>1999-11-02</entry><entry>Partition 2 Filesystem</entry><entry>omsrtbt-1.6.335 (linux-2.0.35)  bashent /bin/mke2fs -c /dev/hda2  bashent /bin/e2fsck /dev/hda2</entry></row><row><entry>1999-11-02</entry><entry>Partition 3 Filesystem</entry><entry>tomsrtbt-1.6.335 (linux-2.0.35)  bashent /bin/mkswap -c /dev/hda3</entry></row><row><entry>1999-10-21</entry><entry>Partition 4 Filesystem</entry><entry>D:  FAT32  [[My Computer]] {(D:)} [Format ...] [Format type\Full] [Start]  [Close]  ScanDisk reported no errors in a thorough test.</entry></row></tbody></tgroup></table></sect3><sect3 id="software"><title>Firmware</title><table frame="all"><title>Firmware</title><tgroup cols="3"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><spanspec namest="column1" nameend="column3" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Date</entry><entry>Component</entry><entry>Action</entry></row></thead><tbody><row><entry></entry><entry></entry><entry></entry></row></tbody></tgroup></table></sect3></sect2></sect1><appendix id="appendix"><title>Appendix</title><sect1 id="faq"><title>Frequently Asked Questions</title><qandaset><qandaentry><question id="faq-fips"><para>After running fips, why does Windows report that I still have only one partition?</para></question><answer><para>Windows 98 does not recognize the effect of fips-0.9e.  fips-2.0 has successfully been used to split a Windows98 partition.  According to an unreliable source, Windows 98 reads partition data from the first 512 bytes of the partition itself and considers this more reliable data than the partition table.</para></answer></qandaentry><qandaentry><question id="faq-tool"><para>Why does my tool report an error that physical length does not match the logical length of the partition?</para></question><answer><para>This means that the partition table is inconsistent, and may be inaccurate.  Modifying a disk with an inaccurate partition table usually requires an expert to reduce the almost certain chance of data loss.</para><para>The severity of this message is dependent on the size of the disk.  Due to historical limitations, most (but not all) computer BIOSs only support disks with less than 1024 cylinders.  Booting the operating system depends on the bios, therefore (on such systems), the entire operating system must fit within this 1024 cylinders..  For the same historical reasons, the partition table format only supports reporting disk sizes of 1024 or less cylinders.  Many disks today have more than 1024 physical cylinders but by convention the partition table records exactly 1024 cylinders.  The operating system still needs to know where the actual partitions begin an end beyond the first 1024 cylinders and this is recorded in the partition table.</para><para>A large disk with more than 1024 cylinders will have a logical size (sum of partition sizes) that exceeds 1024 and matches the actual size, though the partition table reports a physical size of exactly 1024 cylinders.  In the case of a large disk, this message is essentially useless.</para></answer></qandaentry><qandaentry><question id="faq-versionwindows"><para>How do I know what version of Windows I have?</para></question><answer><para>One or more of the following should tell you what version of Windows you have.</para><itemizedlist><listitem><para>C:\entver</para></listitem><listitem><para>{My Compuer} [Properties] [General]</para></listitem><listitem><para>[Start] [Run...] Open: command [OK]</para></listitem><listitem><para> [Start\Run...] Open: ver [OK]</para></listitem><listitem><para> [Start\Run...] Open: cmd ver [OK]</para></listitem></itemizedlist></answer></qandaentry><qandaentry><question id="faq-versionlinux"><para>How do I know what version of linux kernel I have?</para></question><answer><para>bashent uname -a</para></answer></qandaentry><qandaentry><question id="faq-distrobution"><para>How do I know what version of linux distribution I have?</para></question><answer><para>The question may have no meaningful answer.  Since unix dialects (e.g. linux) use many interchangeable parts, it makes little difference to this HOWTO what distribution you have.  The applications loaded on most linux hosts varies with time and the tastes of the owner, so that they seldom match any distribution for more than a very brief period.</para><para>Most distributions are loosely classed by the package manager that they use.</para><itemizedlist><listitem><para>pkgtool - slackware</para></listitem><listitem><para>rpm - RedHat</para></listitem></itemizedlist><para>bashent uname -a</para></answer></qandaentry><qandaentry><question id="faq-mistake"><para>If I make a mistake can I start over?</para></question><answer><para>In general, no.  For this reason, meticuluous care is required, especially at certain stages.  Some of the operations are idempotent. An idempotent operation is one which either fails and has no effect, or succeeds and has no effect after its first success.  Some of the operations are reversible.  A reversible operation has an inverse operation so that you can return things to what they were and start over.</para><para>Formatting is especially dangerous because it is neither idempotent nor reversible.  If formatting succeeds, the original data is lost.  If formatting fails, the original data is probably lost (since indices are usually destroyed early).</para><table frame="all"><title>Distributions</title><tgroup cols="5"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><colspec colname="column3"></colspec><colspec colname="column4"></colspec><colspec colname="column5"></colspec><spanspec namest="column1" nameend="column5" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Operation</entry><entry>Idempoten</entry><entry>Reversible</entry><entry>Inverse Operation</entry><entry>Caveat</entry></row></thead><tbody><row><entry>Backup</entry><entry>Yes</entry><entry>Yes</entry><entry>Destroy the backup</entry><entry>Try reading the backup lest it be corrupt</entry></row><row><entry>Catalog</entry><entry>Yes</entry><entry>Yes</entry><entry>Destroy the catalog</entry><entry>Record too many details since only 1-10% will ever be used, though it is hard to predict which 1-10%.</entry></row><row><entry>Attach</entry><entry>No</entry><entry>Yes</entry><entry>Disattach the devices</entry><entry>Use electrostatic protection and personal safety procedures lest the delicate components or yuurself be damaged physically.</entry></row><row><entry>Compact</entry><entry>Yes</entry><entry>No</entry><entry></entry><entry>Repair filesystem errors before compacting, since recovery will probably be impossible after compacting.</entry></row><row><entry>Repartition</entry><entry>Yes</entry><entry>Yes</entry><entry>Record the starting table.  Reenter the recorded starting table</entry><entry>Carefully check the partitioning before using the computer, since applications will believe the partition table and may destroy files.  A small error in partition borders or lengths may cause infrequent disk errors that are not seen for months, but can become very time-consuming.</entry></row><row><entry>Format</entry><entry>No</entry><entry>No</entry><entry></entry><entry>All data in the partition is destroyed so make sure that there is no useful information in the partition and/or that the data is in a good backup.</entry></row><row><entry>Initial Program Load</entry><entry>Yes</entry><entry>Yes</entry><entry>Format the partition</entry><entry>Carefully record, test, and expect to change the configuration of linux as your understanding, needs, and desires change.  As you use your computer, you can expect to quickly find that you wish you'd made different configuration decisions.  Most linux distributions allow easy reconfiguration of a running system.</entry></row><row><entry>Boot Manager</entry><entry>Yes</entry><entry>No</entry><entry></entry><entry>Windows installation overwrites the boot manager with one that loads Windows automatically.  If you isntall Windows+linux, you must installl Windows first.</entry></row><row><entry>Mount</entry><entry>Yes</entry><entry>Yes</entry><entry>Unmount</entry><entry>Care with permissions is needed to prevent undesired use of the computer (e.g. openning your telephone to anyone on your cable modem network may tend to increase your phone bills.).</entry></row></tbody></tgroup></table></answer></qandaentry><qandaentry><question id="faq-partition"><para>How large should my swap partition be?</para></question><answer><para>Swap partition size (or even its existence) is a hotly debated issue beyond the scope of this HOWTO.  Many books on performanc tuning provide guidelines on swap partition size and how to recognize a need to expand or shrink it.  At press time, the author recommends 64M as a safe size.</para></answer></qandaentry><qandaentry><question id="faq-package"><para>Should I add package xxx?</para></question><answer><para>A reader of this HOWTO presumably wants to benefit from the strengths of both Windows and linux, and suffer the shortcomings of neither.</para><para>Most linux distributions allow you to cleanly remove any package.  unix dialects support permissions so that each package gets a well defined share of the computer and this share can be identified and taken back in its entirety.  unix dialects support symbolic links so that the package can appear to be in a convenient place without actually occupying space from the convenient place.  The distributions that do not support easy removal are usually tiny specialized distributions like tomsrtbt.  The risk that an unwanted  package will plague your linux indefinitely is small since you can remove it at any time.</para><para>Most Windows packages can never be uninstalled cleanly under Windows, as they usually leave dll updates and registry entries.  It is therefore important to add packages only when you are sure that you need them, since your only way of removing them may be to reinstall Windows and every package that you want.</para><para>Sharing a machine between Windows and linux, means that linux can aid clean removal of packages from Windows.  Since it only identifies but does not predict, linux cannot insure clean removal.  Since linux find resolves to the second rather than Windows find to the day, it can much more accurately identify what was changed.</para><orderedlist inheritnum="ignore" continuation="restarts"><listitem><para>Record the date and time before you install a package to Windows.</para></listitem><listitem><para>Install the package.</para></listitem><listitem><para>Record the date and time after you install the package.</para></listitem><listitem><para>Under linux, use touch to create a file timestamped at the start of installation.</para></listitem><listitem><para>Under linux, use touch to create a file timestamped at the end of installation.</para></listitem><listitem><para>Under linux, use find to identify every Windows file and folder that was altered during installation.</para></listitem><listitem><para>Store the list of altered files and folders to identify what has to be removed or restored.</para></listitem></orderedlist></answer></qandaentry></qandaset></sect1><sect1 id="caveats"><title>Caveats</title><para>	There ar no caveats at press time.  Please contact the maintainer with any suggestions that you have.</para></sect1><sect1 id="tandt"><title>Tips and Tricks</title><para>	There ar no tips and tricks at press time.  Please contact the maintainer with any suggestions that you have.</para></sect1><sect1 id="ref"><title>Reference</title><sect2 id="legend"><title>Legend</title><para>INSERT TABLE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</para></sect2></sect1></appendix><glossary id="glossary"><title>Glossary</title><glossdiv><title>B</title><glossentry id="gloss-bios"><glossterm>BIOS</glossterm><acronym>BIOS</acronym><glossdef><para>A bios (Basic Input/Output System) is a small operating system supplied with and usually encoded in the computer hardware.  The bios is often little more than is needed to load and run the operating system normally used.  Most BIOSs at press time reside in shadow ram which is electronically removed from the computer once the normal operating system is loaded and starts running.</para></glossdef></glossentry><glossentry id="gloss-bootmanager"><glossterm>Boot Manager</glossterm><glosssee otherterm="gloss-mbr"></glosssee></glossentry></glossdiv><glossdiv><title>D</title><glossentry id="gloss-defrag"><glossterm>Defragmenting</glossterm><glosssee otherterm="gloss-repartitioning"></glosssee></glossentry><glossentry id="gloss-disk"><glossterm>Disk</glossterm><glossdef><para>A disk is a physical storage medium.  A disk must be formatted before data on the disk is accessible.  A municipal library building is a good model of a disk.  The building itslf has a fixed volume and can therefore hold a fixed number of books.  The largest number of books can be stored by simply dumping them inside the building, but the result would simply be a big trash pile and the books would not be available for use.  In order to use the books, they are placed on bookshelves so they can be accessed.  Placing the equivalent of bookshelves on the disk is called formatting</para><table frame="all"><title>Distributions</title><tgroup cols="2"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><spanspec namest="column1" nameend="column2" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Component</entry><entry>Analog</entry></row></thead><tbody><row><entry>disk</entry><entry>municipal library building</entry></row><row><entry>format</entry><entry>bookshelves</entry></row></tbody></tgroup></table></glossdef></glossentry></glossdiv><glossdiv><title>F</title><glossentry id="gloss-filesystems"><glossterm>Filesystems</glossterm><acronym>MBR</acronym><glosssee otherterm="gloss-partition"></glosssee></glossentry><glossentry id="gloss-format"><glossterm>Format</glossterm><acronym>MBR</acronym><glosssee otherterm="gloss-disk"></glosssee></glossentry><glossentry id="gloss-formating"><glossterm>Formating</glossterm><glossdef><para>Though beyond the scope of this HOWTO, low-level formatting refers to the phsyical division of the magnetic media into magnetic domains similar to applying the bias to magnetic tape.</para><glossseealso otherterm="gloss-disk"></glossseealso></glossdef></glossentry></glossdiv><glossdiv><title>M</title><glossentry id="gloss-mbr"><glossterm>Master Boot Record</glossterm><acronym>MBR</acronym><glossdef><para>Each bootable partition has firmware that runs in the bios.  This firmware historically occupies the 446 bytes before the partition table.  A simple master boot record simply copies the operating system from the media into memory and turns computer control over to the operating system.</para><para>At power up, cold boot, or warm boot, the bios searches the computer storage media until it finds a master boot record which it then executes it.  The search locations and order differ between different bioses.  Often the search order is configuratble with firmware encoded in the computer hardware with the bios. The most common search order is floppy, cdrom, network, usb disk, scsi disk, ide disk.</para><para>A more complex master boot record, called a boot manager, loads a program into memory that gives the user an opportunity to select which operating system to load.</para></glossdef></glossentry></glossdiv><glossdiv><title>O</title><glossentry id="gloss-os"><glossterm>Operating System</glossterm><acronym>OS</acronym><glossdef><para>An operating system is firmware that supports effective computter use.  As an allocator, the operating system verifies that only one process at a time controls the cpu , disk, write access to a file, and other unshareable resources.  As a toolkit, the operating system provides a set of software pieces for common functions (e.g. reading from a file, writing to the screen).  As a virtual machine, the operating system makes the physical computer behave like another well-specified computer, so that software can be written once for the well-specified computer and then run on many physical computers with compatible operating systems.  As an allocator, the operating system is like the staff that schedules the use of meeting rooms in the library.  As a toolkit, the operating system is like the library staff that reshelves books or the library copier.  As a virtual machine, the operating system is like one of the many libraries that endeaver to look like the U.S. Library of Congress with vertical bookshelves, a circular reference desk, and a lobby area with indices.  A patron entering any such library finds the layout familiar, and one patron can give usable directions to a patron of a different library.</para><itemizedlist><listitem><para>Allocator</para></listitem><listitem><para>Toolkit</para></listitem><listitem><para>Virtual Machine</para></listitem></itemizedlist><table frame="all"><title>Operating System</title><tgroup cols="2"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><spanspec namest="column1" nameend="column2" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Component</entry><entry>Analog</entry></row></thead><tbody><row><entry>operating system</entry><entry>library staff</entry></row></tbody></tgroup></table></glossdef></glossentry></glossdiv><glossdiv><title>P</title><glossentry id="gloss-partition"><glossterm>Partition</glossterm><glossdef><para>A disk is a physical portion of a disk.  A filesystem is a map between addresses and files accessed on the disk.  Most libraries are divided into floors or sections, such as Adult Fiction, Reference, and Juvenile Non-Fiction.  Each section usually has its own card catalog and often different sections use different schemes.  Adult Fiction is usually indexed by Author Name.  Reference is usually indexed by Subject.  There are even competing indexing schemes for the same section such as Dewey Decimal or Library of Congress.</para><table frame="all"><title>Partition</title><tgroup cols="2"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><spanspec namest="column1" nameend="column2" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Component</entry><entry>Analog</entry></row></thead><tbody><row><entry>partition</entry><entry>library building floor</entry></row><row><entry>filesystem</entry><entry>indexing scheme and card catalog</entry></row></tbody></tgroup></table></glossdef></glossentry><glossentry id="gloss-partitiontable"><glossterm>Partition Table</glossterm><glossdef><para>Every disk has a partition table stored in a standard location and in a standard format on the disk.  The partition table describes where each partition begins and ends on the disk.  The partition table also describes what filesystem is used in each partition.  The partition table is like the wall map that usually appears at the entry to any library.  This wall map tells where each section (e.g. Reference, Adult Fiction, Juvenile Non-fiction) is located and how the books are shelved (e.g. Title, Author, Dewey Decimal)</para><table frame="all"><title>Partition Table</title><tgroup cols="2"><colspec colname="column1"></colspec><colspec colname="column2"></colspec><spanspec namest="column1" nameend="column2" spanname="span-horiz" align="center"></spanspec><thead><row><entry>Component</entry><entry>Analog</entry></row></thead><tbody><row><entry>partition table</entry><entry>library floor map</entry></row></tbody></tgroup></table></glossdef></glossentry></glossdiv><glossdiv><title>R</title><glossentry id="gloss-repartitioning"><glossterm>Repartitioning</glossterm><glossdef><para>Before defragmenting, the index (I), active files (A) and deleted files (d) are distributed across the partition.</para><screen format="linespecific">.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
|I|I|d|A|d|d|d|d|d|d|d|d|A|A|d|d|d|d|d|d|A|A|A|d|d|A| | | | |
'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'
			</screen><para>After defragmenting, the index(I), and active files (A) are concentrated.  Some deleted files (d) are lost.  Some space formerly occupied by active files become lost (l).</para><screen format="linespecific">.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
|I|I|A|A|A|A|A|A|A|d|d|d|l|l|d|d|d|d|d|d|l|l|l|d|d|l| | | | |
'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'
			</screen><para>After splitting, no active data is lost, and a new partition appears that is not yet formatted.</para><screen format="linespecific">.-.-.-.-.-.-.-.-.-.-.
|I|I|A|A|A|A|A|A|A|d|
+-+-+-+-+-+-+-+-+-+-+-.-.-.-.-.-.-.-.-.-.
|d|d|l|l|d|d|d|d|d|d|l|l|l|d|d|l| | | | |
'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'
			</screen><para>After repartitioning, the new partition is further split.</para><screen format="linespecific">.-.-.-.-.-.-.-.-.-.-.
|I|I|A|A|A|A|A|A|A|d|
+-+-+-+-+-+-+-+-+-+-+
|d|d|l|l|d|d|d|d|d|d|
+-+-+-+-+-+-+-+-+-+-+
|l|l|l|d|d|l| | | | |
'-'-'-'-'-'-'-'-'-'-'
			</screen><para>After formatting, each formatted partition has an empty filesystem. (e.g. dos6 (I, A), ext2 (N, A), vfat (V, A)).</para><screen format="linespecific">.-.-.-.-.-.-.-.-.-.-.
|I|I|A|A|A|A|A|A|A|d|
+-+-+-+-+-+-+-+-+-+-+
|N| |N| | | | | | | |
+-+-+-+-+-+-+-+-+-+-+
|V|V|V| | | | | | | |
'-'-'-'-'-'-'-'-'-'-'
			</screen></glossdef></glossentry></glossdiv><glossdiv><title>S</title><glossentry id="gloss-splitting"><glossterm>Splitting</glossterm><glosssee otherterm="gloss-repartitioning"></glosssee></glossentry></glossdiv><glossdiv><title>W</title><glossentry id="gloss-winmodem"><glossterm>Winmodem</glossterm><glossdef><para>Winmodems are a class of devices including winprinters, winscanners.  Winmodems are a subset of the class of devices that achieve low-cost by replacing hardware in their convential equivalents with firmware run by the host.  The drawback of these devices is that their dependence on the host usually slows or prohibits other operations simultaneously on the host.</para><para>By analogy low-cost headlights for an automobile might consist of a flashlight atop a battery tray that sits in the front passenger seat.  To use the headlights, you must start the car, remove the battery from the car, and install the car battery in the flashlight tray.  The headlight cost is reduced by the cost of the solenoid, dashboard switch,  wiring, and fuses.  If you use the headlights, the limitations mean that you can't carry a front passenger, you can't restart the car, you can't use the car radio, and the fuel guage reads empty.</para><para>Winmodems are distinct from the slightly larger class of these low-cost devices by the fact that they use proprietary firmware included in the Windows operating system.  In the United States, it is illegal to sell firmware to use this proprietary firmware without Microsoft consent.  At press time, the price of Microsoft consent is only slightly less than the cost of a convential device.</para></glossdef></glossentry></glossdiv></glossary><bibliography id="biblio"><title>Bibliography</title><biblioentry><title>DosLinux</title><subtitle>Small linux distribution installed on an existing Dos system i.e. msdos, pcdos, opendos, and win95/98.</subtitle><publisher><publishername></publishername></publisher></biblioentry><biblioentry><title>e2fsck</title><subtitle>ext2 filesystem checker  Included in tomsrtbt</subtitle><publisher><publishername></publishername></publisher></biblioentry><biblioentry><title>fdisk</title><subtitle>Partition table editor  Included in most linux distributions (e.g. tomsrtbt, Slackware)</subtitle><address format="linespecific">ftp://ftp.rge.com/pub/systems/linux/slackware/slakware/a14/util.tgz</address><publisher><publishername></publishername></publisher></biblioentry><biblioentry><title>fips</title><subtitle>Partition Splitter</subtitle><address format="linespecific">ftp://sunsite.icm.edu.pl/pub/Linux/sunsite.unc.edu/system/installl/</address><publisher><publishername></publishername></publisher></biblioentry><biblioentry><title>format</title><subtitle>Windows Partition Fromatter  Included in Windows 95/98/NT</subtitle><publisher><publishername>Microsoft</publishername></publisher></biblioentry><biblioentry><title>Ghost</title><subtitle>Windows Partition Backup</subtitle><address format="linespecific">http://www.norton.com/sabu/ghost/</address><publisher><publishername>Norton</publishername></publisher></biblioentry><biblioentry><title>Hardware Compatibility HOWTO</title><subtitle>compilation of linux support experience what works, what doesn't, If the product manufacturer does not support linux, it may be several months before user experience is reported</subtitle><address format="linespecific">http://howto.linuxberg.com/LDP/HOWTO/Hardware-HOWTO.html</address><publisher><publishername></publishername></publisher></biblioentry><biblioentry><title>lilo</title><subtitle>Simple text configuratble boot manager</subtitle><publisher><publishername></publishername></publisher></biblioentry><biblioentry><title>mke2fs</title><subtitle>ext2 filesystem creator  Included in tomsrtbt</subtitle><publisher><publishername></publishername></publisher></biblioentry><biblioentry><title>mkswap</title><subtitle>swap filesystem creator  Include in tomsrtbt</subtitle><publisher><publishername></publishername></publisher></biblioentry><biblioentry><title>System Performance Tuning</title><subtitle></subtitle><address format="linespecific">http://www.ora.com/catalog/spt/</address><publisher><publishername>O'Reiley ent Associates, Inc.</publishername></publisher><isbn>0-937175-60-9</isbn></biblioentry><biblioentry><title>tob</title><subtitle>Unix Tape-Oriented Backup</subtitle><address format="linespecific">http://metabab.unc.edu/pub/Linux/system/backup/</address><publisher><publishername></publishername></publisher></biblioentry><biblioentry><title>tomsrtbt</title><subtitle>Tom's Root Boot  Small Linux distribution that fits on a single floppy disk t's useful as a root/boot/recovery disk</subtitle><address format="linespecific">http://www.tux.org/pub/distributions/tinylinux/tomsrtbt/</address><publisher><publishername>Toms Ochser</publishername></publisher></biblioentry><biblioentry><title>vmware</title><subtitle>x86 emulation</subtitle><address format="linespecific">http://www.vmware.com/</address><publisher><publishername>VMware, Inc.</publishername></publisher></biblioentry><biblioentry><title>yast</title><subtitle>Yet another Setup Tool  Suse System Configuration Tool</subtitle><address format="linespecific">http://newton.ikp.physik.tu-darmstadt.de/doc/susehilf/pak_e/paket_yast.html</address><publisher><publishername>SuSE GmbH</publishername></publisher></biblioentry></bibliography></article>

