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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Tom usually recommends avoiding WinModems, etc. because their performance limitations are too severe for most people..
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.
Oscar has easy access to a spare hard drive. He checked the Hardware Compatibility HOWTO to select a hard drive model.
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.
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.
Nancy is unafamiliar with open source code and the Internet, so Tom offers to create her fips disk.
Tom recommends that the disk be divided into 4 partitions.
At press time, the above division is safe for most computers.
Nancy is unafamiliar with open source and the Internet, so Tom lends her one of his diagnostic disks with tomsrtbt..
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).
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.
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.
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
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
Nancy formats the data partition under Windows.
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.
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.
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).
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
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.
During installation, SuSE offers to make a boot disk, and master boot record backup, before installing lilo.
Separate for linux and Windows |
Shared by linux and Windows |
Support | Pros | Cons |
---|---|---|---|---|
address space | Not Supported. Windows must be the only operating system in its partition. |
|||
address space | partition |
Not covered by this HOWTO. VMWare under Windows |
No need to disturb the current configuration. Linux can be loaded on the emulated system. |
linux is slow. |
address space | partition |
Not covered by this HOWTO. VMWare under linux |
No need to disturb the current configuration. (unverified) Windows can be loaded on the emulated system. |
Windows is slow |
address space | partition |
Not covered by this HOWTO. DosLinux |
No need to disturb the current configuration. | |
address space | partition | Not covered by this HOWTO. Armed distribution (unverified) |
No need to disturb the current configuration. | |
partition | disk | Windows requires that Windows reside in the first primary partition | Works with standard mail-order home computers from the major dealers. |
Requires more installation effort. |
disk | host | Minimizes risk to existing system and data. Requires less installation effort. |
Normally requires a second computer and extra disks. | |
host | network | Not covered by this HOWTO. Classes, books, and online help is readily available. |
Minimizes installation effort. | Requires at least two computers equipped with network interface cards. Data is not directly available to the other operating system. |
Type | Code | Support | Description |
---|---|---|---|
DOS6 | 0x06 | Windows 95 Windows 98 Windows NT linux |
IBM DOS default filesystem Names limited to eight characters + 3 character type |
NTFS | 0x07 | Windows NT linux read-only |
Windows NT default filesystem Names have arbitrary length Names cannot include special characters |
FAT32 LBA |
0x0c | Windows 95 Windows 98 Windows NT linux |
Windows95/98 default filesystem Names have arbitrary length Names cannot inlcude special characters |
swap | 0x82 | linux | linex default memory cache filesystem |
ext2 | 0x83 | linux | 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. |
Distro | Publisher | Source | Pros | Cons |
---|---|---|---|---|
RedHat | Red Hat, Inc. | http://www.redhat.com/ | Easy to install. Home-user-friendly Commercial support available Large number of bundled packages. Tolerates unbundled packages. |
Does not tolerate multiple versins on same partition. |
Slackware | Walnut Creek CDROM | http://www.slackware.org/ | 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 |
Moderate computer expertise required. |
SuSE | SuSE Gmbh | http://www.suse.com/ | Easy to install. Business-user-friendly Aimed at business users Commercial support available Tolerates unbundled packages. Tolerates multiple versions on same partition |
Tool | Requirements | Description |
---|---|---|
Norton Ghost | Windows 95/98/NT network drive |
Easy to use Makes and restores images of disks or partitions. No selection or deselection of files/directories. No index generated. |
tob | linux tape drive |
Easy to use Easy to configure Selects or deselects files/directories to backup or restore Generates index of backups searchable to find archived files |
yast (untested) | backup tool | Graphical interface for system administration tools Included with SuSE linux |
Tool | Requirements | Description |
---|---|---|
fips |
Windows95 Included in tomsrtbt-1.6.335 |
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 |
fips | Windows98 Windows98 requires at least version 2.0 Run under Windows98 |
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 |
Tool | Requirements | Description |
---|---|---|
fdisk | Included in tomsrtbt-1.6.335 | 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. |
fdisk | Included with Windows 95 and Windows 98 | Does not permit creattion of partitios associated with filesystems not supported by Wirdows, nor selecting a bootable partition other than the first primary partition. |
yast (untested) | backup tool | Graphical interface for system administration tools Included with SuSE linux |
Tool | Requirements | Description |
---|---|---|
e2fsck | Included in tomsrtbt-1.6.335 | Checks an ext2 filesystem for errors |
format | Included with Windows 95 and Windows 98 | Creates a vfat filesystem on a chosen partition |
mke2fs | Included in tomsrtbt-1.6.335 | Creates an ext2 filesystem on a chosen partition. |
mkswap | Included in tomsrtbt-1.6.335 | Creates a swap filesystem on a chosen partition. |
Tool | Requirements | Description |
---|---|---|
lilo | linux | 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. |
loadlin (uc) | Windws 95 or 98 | 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. |
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.
Date | Bay or Slot | Contents |
---|---|---|
1999-10-21 | Primary Hard Disk Bay | Hard Disk |
1999-10-21 | Secondary Hard Disk Bay | empty |
1999-10-21 | Diskette Drive Bay | Floppy Disk |
1999-10-21 | Drive Cage Top 5.25" Bay | CD Writer |
1999-10-21 | Drive Cage Bottom 5.25" Bay | empty |
1999-10-21 | Drive Cage Top 3.5" Bay | empty |
1999-10-21 | Drive Cage Bottom 3.5" Bay | empty |
1999-10-21 | Dimm Socket Bank 0 | RAM |
1999-10-21 | Dimm Socket Bank 1 | empty |
1999-10-21 | Dirmm Socket Bank 2 | empty |
1999-10-21 | Primary EIDE Bus | Hard Disk |
1999-10-21 | Secondary EIDE Bus | CD Writer |
1999-10-21 | ISA Expansion Slot | empty |
1999-10-21 | PCI Expansion Slot 1 | empty |
1999-10-21 | PCI Expansion Slot 2 | Modem |
1999-10-21 | PCI Expansion Slot 3 | empty |
1999-10-21 | PCI Expansion Slot 4 | Sound |
1999-10-21 | PCI Expansion Slot 5 | empty |
1999-10-21 | AGP Port | Graphics |
|
|
|
1999-10-21 | Case |
Tower
Mfr Dell |
1999-10-21 | Dell Dimension XPS Txxx Refrence and Troubleshooting Guide |
Mfr Dell Model MMS P/N 8868D Rev. A01 |
1999-11-03 | Central Procssing Unit |
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 |
1999-10-21 | System Battery | CR2032 3.0V |
1999-10-21 | System Board |
DP/N AA722396-109 Rev. A01 S/N xxxxxxxx-xxxxx-xxx-xxxx FCC Class B |
1999-10-21 | Hard Disk |
Primary Hard Disk Bay Primary EIDE Bus FCC Class B Capacity 13.6 GB DeskStar |
1999-10-21 | Floppy Disk |
Diskette Drive Bay FCC Class B Mfr Sony |
1999-10-21 | CD Writer |
Drive Cage Top "5.25" Bay Secondary EIDE Bus FCC Class B Jumpers CDR 4x Mfr Sony |
1999-10-21 | RAM |
Dimm Socket Bank 0 FCC Class B 16Mx 64 MB SDRAM Mfr Toshiba |
1999-10-21 | Modem |
PCI Expansion Slot 2 J8 -> Sound Telephone Audio Out FCC Class B 56K USRobotics V.90/56K |
1999-10-21 | Sound |
Montego II PCI Expansion Slot 4 CD IN -> CD Writer Audio Out TAO -> Modem J8 FCC Class B Mfr Turtle Beach |
1999-10-21 | Graphics |
AGP Port FCC Class B Mfr ATI Technologies Inc |
1999-10-21 | Power Supply |
FCC Class B
DP/N 0009228C Rev N02 |
1999-10-21 | Monitor |
FCC Class B
17" (15.3" visible) Mfr Dell Computer, Inc. |
1999-10-21 | Speakers |
Right Analog Input -> Sound ((( ))) FCC Class B Mfr Harmon/Kardon |
1999-10-21 | Keyboard |
QuietKey PS/2 Keyboard Connector FCC Class B Mfr Dell |
1999-10-21 | Mouse |
MS IntelliMouse PS/2 Mouse Connector FCC Class B Mfr Microsoft Inc. |
1999-10-21 | Microphone |
-> Sound Mic In FCC Class B |
|
|
|
1999-10-21 | Setup Procedure | Restart When Dell splash screen appears, [<del>] Dell Dimension XPS T450 Setup |
1999-10-21 | Main\BIOS Version | A05 |
1999-10-21 | Main\Processor Type | Pentium(R) III |
1999-10-21 | Main\processor Speed | 450 MHz |
1999-10-21 | Main\Cache RAM | 512KB |
1999-10-21 | Main\Service Tag | zzzzz |
1999-10-21 | Main\System memory | 128 MB |
1999-10-21 | Main\L2 Cache ECC Support | Auto |
1999-10-21 | Advanced\Peripheral Configuration\Plug & Play O/S | No |
1999-10-21 | Advanced\Peripheral Configuration\Reset Configuration Data | No |
1999-10-21 | Advanced\Peripheral Configuration\NumLock | Auto |
1999-10-21 | Advanced\Peripheral Configuration\Serial Port A | Auto |
1999-10-21 | Advanced\Peripheral Configuration\Parallel Port | Auto |
1999-10-21 | Advanced\Peripheral Configuration\Mode | ECP |
1999-10-21 | Advanced\Peripheral Configuration\Legacy USB Support | Enabled |
1999-10-21 | Advanced\IDE Configuration\IDE Controller | Both |
1999-10-21 | Advanced\IDE Configuration\Primary IDE Master | IBM-DPTA-371360-(PM) |
1999-10-21 | Advanced\IDE Configuration\Primary IDE Slave | None |
1999-10-21 | Advanced\IDE Configuration\Secondary IDE Master | CD-RW CRX100E- (SM) |
1999-10-21 | Advanced\IDE Configuration\Secondary IDE Slave | None |
1999-10-21 | Advanced\Diskette Options\Diskette Controller | Enabled |
1999-10-21 | Advanced\Diskette Options\Diskette A | 1.44/1.25 MB 3.5" |
1999-10-21 | Advanced\Diskette Options\Diskette Write Protect | Disabled |
1999-10-21 | Advanced\DMI Event Logging\Event log capacity | Space Available |
1999-10-21 | Advanced\DMI Event Logging\Event log validity | Valid |
1999-10-21 | Advanced\DMI Event Logging\View DMI event log | No unread events |
1999-10-21 | Advanced\DMI Event Logging\Clear all DMI event logs | No |
1999-10-21 | Advanced\DMI Event Logging\DMI event logging | Enabled |
1999-10-21 | Advanced\DMI Event Logging\Mark DMI events as read | No unread events |
1999-10-21 | Advanced\Video Configuration\ISA Palette Snooping | Disabled |
1999-10-21 | Advanced\Video Configuration\AGP Aperature Size | 64MB |
1999-10-21 | Advanced\Video Configuration\Default Primary Video Adapter | AGP |
1999-10-21 | Advanced\Resource Configuration\C800-CBFF | Available |
1999-10-21 | Advanced\Recource Configuration\CC00-CFFF | Available |
1999-10-21 | Advanced\Recource Configuration\4000-43FF | Available |
1999-10-21 | Advanced\Recource Configuration\4400-47FF | Available |
1999-10-21 | Advanced\Recource Configuration\4800-4BFF | Available |
1999-10-21 | Advanced\Recource Configuration\4C00-4FFF | Available |
1999-10-21 | Advanced\Recource Configuration\IRQ 3 | Available |
1999-10-21 | Advanced\Recource Configuration\IRQ 4 | Available |
1999-10-21 | Advanced\Recource Configuration\IRQ 5 | Reserved |
1999-10-21 | Advanced\Recource Configuration\IRQ 7 | Available |
1999-10-21 | Advanced\Recource Configuration\IRQ 10 | Available |
1999-10-21 | Advanced\Recource Configuration\IRQ 11 | Available |
1999-10-21 | Power\Power Management | Enabled |
1999-10-21 | Power\Inactivity Timer | Off |
1999-10-21 | Power\Hard Drive | Enabled |
1999-10-21 | Power\VESA Video Power Down | Standby |
1999-10-21 | Boot\Boot-time Diagnostic Screen | Disabled |
1999-10-21 | Boot\QuickBoot Mode | Disabled |
1999-10-21 | Boot\First Boot Device | Removable Devices |
1999-10-21 | Boot\Second Boot Device (obsolete) | Hard Disk |
1999-10-22 | Boot\Second Boot Device | ATAPI CD-ROM Driv |
1999-10-21 | Boot\Third Boot Device (obsolete) | ATAPI CD-ROM Driv |
1999-10-21 | Boot\Third Boot Device | Hard Disk |
1999-10-21 | Boot\Fourth Boot Device | Network Drive |
1999-10-21 | Boot\Hard Drive\1 | IBM-DPTA-371360-(PM) |
1999-10-21 | Boot\Hard Drive\2 | Bootable Add-In Card |
1999-10-21 | Boot\Removable Devices\1 | Legacy Floppy Drive |
|
|
|
1999-10-21 | Partition Table |
tomsrtbt-1.6.335 (linux-2.0.35) bash>/bin/fdisk fdisk> p Disk /dev/hda: 255 heads, 63 sectors, 1024 cylinders Units = cylinders of 16085 * 512 bytes Drive Boot Start End Blocks Id System Partition has different physical/logical endings |
1999-10-22 | Partition Table |
Windows98 Startup Disk +fips.exe A:\> 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) Drive Boot Start End Blocks Id System |
1999-10-21 | Windows Operating System |
DESC KIT,DOC/DSK,W98,OSR1,ENG
Language English (United States) Mfr Microsoft |
1999-11-03 | linux Operating System |
SuSE-6.2.0-2
reboot CDROM1 linuxrc> ... language ... English Yast v1. 01 |
1999-11-05 | Root password | In sealed envelope in hardcopy log. |
1999-11-05 | X11 | XFree86-3.3.4 |
1999-11-05 | X11 mouse | bash> 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] |
1999-11-05 | X11 keyboard | bash> yast [System Administration/X86 Configuration/SaX] [Keyboard] Model: Dell 101-key PC Language: U.S. English [Apply] |
1999-11-05 | X11 Graphics Card | bash> yast [System Administration/X86 Configuration/SaX] [Card] Vendor: ATI Model: XPERT98 [Expert] Server: XF86_mach64 Memory: 8192k DAC: 207 [Apply] |
1999-11-05 | X11 | |
1999-11-05 | TimeZone |
EST5EDT
Hardware Clock set to local time |
1999-11-05 | Network |
Hostname: xxxxxxx Domain: xxxx.xxx No network card |
1999-11-05 |
Modem will be used
[SENDMAIL CONFIGRUATION/... temporary connection ...] |
|
1999-11-05 | Boot Manager |
lilo
Windows /dev/hda1 |
1999-10-21 | Partition 1 Filesystem | C: FAT32 |
1999-11-02 | Partition 2 Filesystem | tomsrtbt-1.6.335 (linux-2.0.35) bash> /bin/mke2fs -c /dev/hda2 bash> /bin/e2fsck /dev/hda2 |
1999-11-02 | Partition 3 Filesystem | tomsrtbt-1.6.335 (linux-2.0.35) bash> /bin/mkswap -c /dev/hda3 |
1999-11-01 | Partition 4 Filesystem |
D: FAT32 [[My Computer]] {(D:)} [Format ...] [Format type\Full] [Start] ScanDisk reported no errors in a thorough test. |
|
|
|
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.
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.
Most distributions are loosely classed by the package manager that they use.
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).
Operation | Idempotent | Reversible | Inverse Operation | Caveat |
---|---|---|---|---|
Backup | Yes | Yes | Destroy the backup | Try reading the backup lest it be corrupt |
Catalog | Yes | Yes | Destroy the catalog | Record too many details since only 1-10% will ever be used, though it is hard to predict which 1-10%. |
Attach | No | Yes | Disattach the devices | Use electrostatic protection and personal safety procedures lest the delicate components or yuurself be damaged physically. |
Compact | Yes | No | Repair filesystem errors before compacting, since recovery will probably be impossible after compacting. | |
Repartition | Yes | Yes | Record the starting table Reenter the recorded starting table |
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. |
Format | No | No | 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. | |
Initial Program Load | Yes | Yes | Format the partition | 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. |
Boot Manager | Yes | No | Windows installation overwrites the boot manager with one that loads Windows automatically. If you isntall Windows+linux, you must installl Windows first. | |
Mount | Yes | Yes | Unmount | 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.). |
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.
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.
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.
Symbol | Meaning | Example |
---|---|---|
[...] | Left-click a button | [File/Close] appears in most X applications. [OK] appears in most Windows dialogs |
[[..]] | Double-left click a button | [[My Computer]] displays the devices of a Windows systems |
{...} | Right-click a button | {My Computer\Properties} displays the configuration of a Windows system |
...\... .../... |
Walk a hierarchy in a menu or filesystem |
linux uses / to delimit elements in hierarchies. Windows uses \ to delimit element in hierarchies. |
bash> ... | Enter instructions into a bash-style shell | bash> uname -a returns linux kernel version information |
A:\> ... C:\> ... |
Enter instruction snto dos shell | [Start\Run...] Open: command [OK] C:\> ver returns Windows version information |
(uc) | under construction | Incomplete section of this HOWTO |
<...> | replace with indicated value | Enter First Name: <your first name> |
component | analog |
---|---|
disk | municipal library building |
format | bookshelves |
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.
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.
component | analog |
---|---|
operating system | llibrary staff |
component | analog |
---|---|
partition | library building floor |
filesystem | indexing scheme and card catalog |
component | analog |
---|---|
partition table | library floor map |
.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. |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| | | | | '-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'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).
.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. |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| | | | | '-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'After splitting, no active data is lost, and a new partition appears that is not yet formatted.
.-.-.-.-.-.-.-.-.-.-. |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| | | | | '-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'After repartitioning, the new partition is further split.
.-.-.-.-.-.-.-.-.-.-. |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| | | | | '-'-'-'-'-'-'-'-'-'-'After formatting, each formatted partition has an empty filesystem. (e.g. dos6 (I, A), ext2 (N, A), vfat (V, A)).
.-.-.-.-.-.-.-.-.-.-. |I|I|A|A|A|A|A|A|A|d| +-+-+-+-+-+-+-+-+-+-+ |N| |N| | | | | | | | +-+-+-+-+-+-+-+-+-+-+ |V|V|V| | | | | | | | '-'-'-'-'-'-'-'-'-'-'
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.
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.
Work | Publisher | Source |
---|---|---|
DosLinux | Small linux distribution installed on an existing Dos system i.e. msdos, pcdos, opendos, and win95/98. http://www.linux.org/dist/ |
|
e2fsck |
ext2 filesystem checker Included in tomsrtbt |
|
fdisk |
Partition table editor Included in most linux distributions (e.g. tomsrtbt, Slackware) ftp://ftp.rge.com/pub/systems/linux/slackware/slakware/a14/util.tgz |
|
fips |
Partition Splitter ftp://sunsite.icm.edu.pl/pub/Linux/sunsite.unc.edu/system/installl/ |
|
format | Microsoft | Windows Partition Fromatter Included in Windows 95/98/NT |
Ghost | Norton | Windows Partition Backup http://www.norton.com/sabu/ghost/ |
Hardware Compatibility HOWTO | compilation of linux support experience what works, what doesn't, http://howto.linuxberg.com/LDP/HOWTO/Hardware-HOWTO.html If the product manufacturer does not support linux, it may be several months before user experience is reported |
|
lilo | Simple text configuratble boot manager | |
mke2fs |
ext2 filesystem creator Included in tomsrtbt |
|
mkswap |
swap filesystem creator Include in tomsrtbt |
|
System Performance Tuning | O'Reiley & Associates, Inc. | by Mike Loukides ISBN 0-937175-60-9 http://www.ora.com/catalog/spt/ |
tob | Unix Tape-Oriented Backup http://metabab.unc.edu/pub/Linux/system/backup/ |
|
tomsrtbt | Toms Ochser | Tom's Root Boot Small Linux distribution that fits on a single floppy disk t's useful as a root/boot/recovery disk http://www.tux.org/pub/distributions/tinylinux/tomsrtbt/ |
vmware | VMware, Inc. | x86 emulation http://www.vmware.com/ |
yast | SuSE GmbH | Yet another Setup Tool Suse System Configuration Tool http://newton.ikp.physik.tu-darmstadt.de/doc/susehilf/pak_e/paket_yast.html |
Copyright (c) 1999 by Dr. Robert J. Meier. This document may be distributed only subject to the terms and conditions set forth in the LDP License, except that this document must not be distributed in modified form without the author's consent.
The copyright to each Linux Documentation Project (LDP) document is owned by its author or authors.
LICENSE
The following license terms apply to all LDP documents, unless otherwise stated in the document. The LDP documents may be reproduced and distributed in whole or in part, in any medium physical or electronic, provided that this license notice is displayed in the reproduction. Commercial redistribution is permitted and encouraged. Thirty days advance notice via email to the author(s) of redistribution is appreciated, to give the authors time to provide updated documents.
All modified documents, including translations, anthologies, and partial documents, must meet the following requirements:
Mere aggregation of LDP documents with other documents or programs on the same media shall not cause this license to apply to those other works.
All translations, derivative documents, or modified documents that incorporate any LDP document may not have more restrictive license terms than these, except that you may require distributors to make the resulting document available in source format.
LDP documents are available in source format via the LDP home page at http://sunsite.unc.edu/LDP/.
Keyword for subject | Body |
---|---|
Usage | How did you use this HOWTO? What was your situation? Which character did you use? |
Error | What is incorrect? Do you have a solution? Do you know who has the solution? |
Missing | What question wasn't answered? Do you know the answer? Do you know who has the answer? |
Experience | What are details of your system before? after? What exactly did you do? What worked? What didn't work? |
Author | Contacts |
---|---|
Jonathan Katz | |
Dr. Robert J. Meier Maintainer |
Date | Author | Change |
---|---|---|
1995-11-?? | Jonathan Katz | Wrote Linux+Win95 |
1999-10-21 | Dr. Robert J. Meier | First draft of Linux+Windows-HOWTO |