old-www/HOWTO/Linux+Windows-HOWTO/faq.html

721 lines
14 KiB
HTML

<HTML
><HEAD
><TITLE
>Frequently Asked Questions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Linux + Windows HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Appendix"
HREF="appendix.html"><LINK
REL="PREVIOUS"
TITLE="Appendix"
HREF="appendix.html"><LINK
REL="NEXT"
TITLE="Caveats"
HREF="caveats.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux + Windows HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="appendix.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>A. Appendix</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="caveats.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="FAQ"
></A
>A.1. Frequently Asked Questions</H1
><DIV
CLASS="QANDASET"
><DL
><DT
>A.1.1. <A
HREF="faq.html#FAQ-FIPS"
>After running fips, why does Windows report that I still have only one partition?</A
></DT
><DT
>A.1.2. <A
HREF="faq.html#FAQ-TOOL"
>Why does my tool report an error that physical length does not match the logical length of the partition?</A
></DT
><DT
>A.1.3. <A
HREF="faq.html#FAQ-VERSIONWINDOWS"
>How do I know what version of Windows I have?</A
></DT
><DT
>A.1.4. <A
HREF="faq.html#FAQ-VERSIONLINUX"
>How do I know what version of linux kernel I have?</A
></DT
><DT
>A.1.5. <A
HREF="faq.html#FAQ-DISTROBUTION"
>How do I know what version of linux distribution I have?</A
></DT
><DT
>A.1.6. <A
HREF="faq.html#FAQ-MISTAKE"
>If I make a mistake can I start over?</A
></DT
><DT
>A.1.7. <A
HREF="faq.html#FAQ-PARTITION"
>How large should my swap partition be?</A
></DT
><DT
>A.1.8. <A
HREF="faq.html#FAQ-PACKAGE"
>Should I add package xxx?</A
></DT
></DL
><DIV
CLASS="QANDAENTRY"
><DIV
CLASS="QUESTION"
><P
><A
NAME="FAQ-FIPS"
></A
><B
>A.1.1. </B
>After running fips, why does Windows report that I still have only one partition?</P
></DIV
><DIV
CLASS="ANSWER"
><P
><B
> </B
>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.</P
></DIV
></DIV
><DIV
CLASS="QANDAENTRY"
><DIV
CLASS="QUESTION"
><P
><A
NAME="FAQ-TOOL"
></A
><B
>A.1.2. </B
>Why does my tool report an error that physical length does not match the logical length of the partition?</P
></DIV
><DIV
CLASS="ANSWER"
><P
><B
> </B
>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.</P
><P
>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.</P
><P
>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.</P
></DIV
></DIV
><DIV
CLASS="QANDAENTRY"
><DIV
CLASS="QUESTION"
><P
><A
NAME="FAQ-VERSIONWINDOWS"
></A
><B
>A.1.3. </B
>How do I know what version of Windows I have?</P
></DIV
><DIV
CLASS="ANSWER"
><P
><B
> </B
>One or more of the following should tell you what version of Windows you have.</P
><P
></P
><UL
><LI
><P
>C:\&#62;ver</P
></LI
><LI
><P
>{My Compuer} [Properties] [General]</P
></LI
><LI
><P
>[Start] [Run...] Open: command [OK]</P
></LI
><LI
><P
> [Start\Run...] Open: ver [OK]</P
></LI
><LI
><P
> [Start\Run...] Open: cmd ver [OK]</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="QANDAENTRY"
><DIV
CLASS="QUESTION"
><P
><A
NAME="FAQ-VERSIONLINUX"
></A
><B
>A.1.4. </B
>How do I know what version of linux kernel I have?</P
></DIV
><DIV
CLASS="ANSWER"
><P
><B
> </B
>bash&#62; uname -a</P
></DIV
></DIV
><DIV
CLASS="QANDAENTRY"
><DIV
CLASS="QUESTION"
><P
><A
NAME="FAQ-DISTROBUTION"
></A
><B
>A.1.5. </B
>How do I know what version of linux distribution I have?</P
></DIV
><DIV
CLASS="ANSWER"
><P
><B
> </B
>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.</P
><P
>Most distributions are loosely classed by the package manager that they use.</P
><P
></P
><UL
><LI
><P
>pkgtool - slackware</P
></LI
><LI
><P
>rpm - RedHat</P
></LI
></UL
><P
>bash&#62; uname -a</P
></DIV
></DIV
><DIV
CLASS="QANDAENTRY"
><DIV
CLASS="QUESTION"
><P
><A
NAME="FAQ-MISTAKE"
></A
><B
>A.1.6. </B
>If I make a mistake can I start over?</P
></DIV
><DIV
CLASS="ANSWER"
><P
><B
> </B
>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.</P
><P
>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).</P
><DIV
CLASS="TABLE"
><A
NAME="AEN1447"
></A
><P
><B
>Table A-1. Distributions</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Operation</TH
><TH
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Idempoten</TH
><TH
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Reversible</TH
><TH
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Inverse Operation</TH
><TH
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Caveat</TH
></TR
></THEAD
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Backup</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Destroy the backup</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Try reading the backup lest it be corrupt</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Catalog</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Destroy the catalog</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Record too many details since only 1-10% will ever be used, though it is hard to predict which 1-10%.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Attach</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>No</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Disattach the devices</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Use electrostatic protection and personal safety procedures lest the delicate components or yuurself be damaged physically.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Compact</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>No</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Repair filesystem errors before compacting, since recovery will probably be impossible after compacting.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Repartition</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Record the starting table. Reenter the recorded starting table</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>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.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Format</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>No</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>No</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>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.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Initial Program Load</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Format the partition</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>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.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Boot Manager</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>No</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Windows installation overwrites the boot manager with one that loads Windows automatically. If you isntall Windows+linux, you must installl Windows first.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Mount</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Yes</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>Unmount</TD
><TD
WIDTH="20%"
ALIGN="LEFT"
VALIGN="TOP"
>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.).</TD
></TR
></TBODY
></TABLE
></DIV
></DIV
></DIV
><DIV
CLASS="QANDAENTRY"
><DIV
CLASS="QUESTION"
><P
><A
NAME="FAQ-PARTITION"
></A
><B
>A.1.7. </B
>How large should my swap partition be?</P
></DIV
><DIV
CLASS="ANSWER"
><P
><B
> </B
>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.</P
></DIV
></DIV
><DIV
CLASS="QANDAENTRY"
><DIV
CLASS="QUESTION"
><P
><A
NAME="FAQ-PACKAGE"
></A
><B
>A.1.8. </B
>Should I add package xxx?</P
></DIV
><DIV
CLASS="ANSWER"
><P
><B
> </B
>A reader of this HOWTO presumably wants to benefit from the strengths of both Windows and linux, and suffer the shortcomings of neither.</P
><P
>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.</P
><P
>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.</P
><P
>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.</P
><P
></P
><OL
TYPE="1"
><LI
><P
>Record the date and time before you install a package to Windows.</P
></LI
><LI
><P
>Install the package.</P
></LI
><LI
><P
>Record the date and time after you install the package.</P
></LI
><LI
><P
>Under linux, use touch to create a file timestamped at the start of installation.</P
></LI
><LI
><P
>Under linux, use touch to create a file timestamped at the end of installation.</P
></LI
><LI
><P
>Under linux, use find to identify every Windows file and folder that was altered during installation.</P
></LI
><LI
><P
>Store the list of altered files and folders to identify what has to be removed or restored.</P
></LI
></OL
></DIV
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="appendix.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="caveats.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Appendix</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="appendix.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Caveats</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>