\documentclass[letterpaper]{article}
\nonstopmode
\akai
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[english]{babel}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\setcounter{page}{1}
\title{Ê¹ÓÃ LILO ×öÎª Win95 + WinNT + Linux ¶àÖØ¿ª»ú mini-HOWTO}
\author{×÷Õß:
Renzo Zanelli, {\ttfamily rzanelli@southeast.net}\\ 
ÒëÕß:
Ð»À¥ÖÐ HSIEH Kun-Chung, Ì¨Íå ÖÐ»ªÃñ¹ú Taiwan, Republic of China (NOT People's Republic of China)
{\ttfamily (\onlynameurl{linuxer.bbs@cis.nctu.edu.tw} )}\\ }
\date{v1.0°æ, 1998Äê 3ÔÂ26ÈÕ}
\abstract{Õâ¸öÎÄ¼þÔÚ¡õÊöÈçºÎ×ö Windows 95, indows NT ¼° Linux ¼äµÄ¶àÖØ¿ª»ú}


\begin{document}
\maketitle
\tableofcontents

\section{¼ò½é}

ÏÖÔÚÒÑ¾­ÓÐÒ»Ð©ÎÄ¼þÔÚÌ¸ÈçºÎÊ¹ÓÃ NT µÄ¿ª»ú³ÌÊ½À´×ö¶àÖØ¿ª»ú¡£µ±ÎÒÂòÁË NTáá£¬
ÎÒÒÑ¾­ÔÚÎÒµÄÏµÍ³¡õ·ÅÖø 95ÒÔ¼° Linux¡£ÄÇÊ±ÎÒÊÇÓÃ LILO À´×ö¶àÖØ¿ª»úµÄ£¬
ËùÒÔÎÒ¾ö¶¨ÔÚ LILO ¡õ¼ÓÈë NT µÄÆô¶¯Ñ¡Ïî¶ø²»²ÉÓÃ NT µÄ OS Loader¡£

Ô­±¾ÎÒ½« Windows 95 ·ÅÔÚµÚÒ»¿Å IDE Ó²µú¡õ£¬ Linux ÔÚµÚ¶þ¿Å¡£ËùÒÔ Linux
¾Í±ä³ÉÁËÎÒµÄµÚÈý¿ÅÓ²µú£¬ÎÒ°Ñ¹àÁË NT µÄÄÇ¿Å·Å³ÉÎÒµÄµÚ¶þ¿ÅÓ²µú¡£ËäÈ»ÎÒ²¢
Ã»ÓÐÊÔ¹ýÆäËûµÄ½¨¹¹Éè¶¨£¬ÎÒ¸öÈËÈÏÎªÄÄÒ»¿ÅÓ²µú·ÅÄÄ¸ö×÷ÒµÏµÍ³ÒÔ¼°ËûÃÇµÄ·Å
ÖÃË³ÐòÓ¦¸Ã²»ºÜÖØÒª°É¡£

Ö»ÒªÈÏµÃ£¬ÎªÃ¿Ò»ÖÖ×÷ÒµÏµÍ³×öºÃ½ô¼±¿ª»ú´ÅÆ¬ !

ÒòÎªÎÒÊ¹ÓÃ Gilles VollantµÄ BootPart ¹«ÓÃ³ÌÊ½£¬¶øËüÖ»Ö§Ô®×î´óµ½
4GB ÈÝÁ¿µÄÓ²µú£¬Èç¹ûÄãµÄÓ²µú±ÈÕâ¸ö»¹´ó¿ÉÄÜÎÞ·¨Ê¹ÓÃ£¬ÇëÓë
Gilles Ö±½ÓÁ¬Âç¿´¿´ (Çë²ÎÔÄ BootPart ÎÄ¼þ¡õÓÐ Gilles µÄ e-mailµØÖ·)¡£






\section{°²×°×÷ÒµÏµÍ³}

µ±ÄãÔÚ°²×°×÷ÒµÏµÍ³Ê±£¬ÒªÈ·¶¨Äú½«ËûÃÇ¶¼°²×°ÔÚ¿ÉÆô¶¯µÄ·Ö¸îÉÏ¡£ÎÒ×°ÁË
Windows 95 ¼° Windows NT ÔÚ Fat 16 ·Ö¸îÉÏ£¬Òò´ËÔÚ Fat 16 ÉÏ¿ÉÒÔ³É¹¦¡£
Èç¹ûÄã¾ö¶¨Ê¹ÓÃ Fat32 ÔÚ Windows 95 ÉÏÒÔ¼° NTFS ÔÚ Windows NT¡õ£¬Çë¼ì²é
¿´ÄãµÄ Linux °æ±¾ÊÇ·ñÓÐÖ§Ô®ËûÃÇÒÔ¼°Ïà¹ØÄÚÈÝ¡£






\subsection{°²×° Windows 95}

°²×° Windows 95 ÔÚµÚÒ»¿Å´ÅµúÉÏ£¬Ò²¾ÍÊÇ C: ´Åµú¡£¼ÇµÃÔÚ Windows 95 ÒªÄã
×öÒ»¸ö¿ª»ú´ÅÆ¬Ê±Òª×öÒ»ÕÅÅ¶¡£

ÎÒ·¢ÏÖÔÚ°²×° Win95 Ê± Linux ´Åµú¾ÍËã±»ÏµÍ³¸ø¸Ç×¡ÁË£¬Ò²Ã»ÓÐÏñ win95 ±»Õâ÷á¶Ô´ýÊ±ÄÇ÷á
ÔÚÒâ¡£

Íê³Éáá£¬Ó¦¸Ã¿ÉÒÔ¿ª»ú½ø Windows 95¡£






\subsubsection{°²×° NT 4.0}

°²×° Windows NT 4.0 ÔÚÄãµÄµÚ¶þ¸ö´ÅµúÉÏ¡£µ±ÄãÔÚ½¨Á¢·Ö¸îÊ±£¬ÇëµÃ½«ËüÉè³É¿É
Æô¶¯¡£²¢²»ÊÇËùÓÐµÄ Linux ¶¼Ö§Ô® NTFS£¬Òò´ËÎÒ½«Ëü½¨³É FAT16 ·Ö¸î£¬ÒòÎªÕâÑù
¿ÉÒÔ°²È«µØÔÚ windows ´Åµú¼ä»¥Ïà½»»»×ÊÁÏ¡£

µ±°²×° Windows NT Ê±£¬Ëü»áÕì²âµ½ Windows 95 ²¢ÇÒ»á×Ô¶¯ÔÚ NT OS loaderÉÏ½¨Á¢
¿ª»úÑ¡Ïî£¬ÈçÏÂ£º

\begin{tscreen}
\begin{verbatim}
Windows NT Workstation Version 4.00
Windows NT Workstation Version 4.00 [VGA mode]
Microsoft Windows
\end{verbatim}
\end{tscreen}


µ½´Ë£¬Äã¿ÉÒÔ×ö Windows NT ¼° Windows 95µÄ¶àÖØ¿ª»ú






\paragraph{°²×° Linux}

°²×° Linux ÔÚµÚÈý¿Å´ÅµúÉÏ£¬µ±ÎÒ°²×° LinuxÊ±£¬Ö»ÓÐ Windows 95 ÒÑ°²×°ÔÚÉÏÃæ£¬
ËùÒÔÎÒÖ»¼ÓÁË Windows 95 ·Ö¸îµ½ Lilo ¡£Äã¿ÉÒÔÔÚ°²×° LILO Ç°ÔÙ°²×°ÆäËûµÄ×÷Òµ
ÏµÍ³£¬»òÊÇÔÚ LILO °²×°ááÔÙÐÞ¸ÄÉè¶¨µµ¡£²»¹ÜÄãÔõ÷á×ö£¬ÏÂÃæÕÂ½ÚÎÒ»¹ÊÇ»á½éÉÜ
/etc/lilo.conf µµÓ¦¸ÃÔõ÷áÉè¡£°²×°áá Linux ááÓ¦¸Ã¿ÉÒÔ¿ª»úµ½ Linux¡£






\section{Linux ²¿·Ý}

Õâ°üº¬ÐÞ¸Ä /etc/lilo.conf µµ°¸ÒÔ¼°ÖØÐÂ°²×° LILO
Ô­À´µÄ /etc/lilo.conf Ó¦¸ÃÈçÏÂ:
\begin{tscreen}
\begin{verbatim}
boot=/dev/hda
\end{verbatim}
\end{tscreen}


Linux stanza Ó¦¸ÃÈçÏÂ
\begin{tscreen}
\begin{verbatim}
# Linux stanza
image=/vmlinuz
root=/dev/hdc1
label=Linux
# End Linux stanza
\end{verbatim}
\end{tscreen}


ÏÖÔÚ¼ÓÈëWindows 95 stanza:
\begin{tscreen}
\begin{verbatim}
# Windows 95 stanza
other=/dev/hda1
table=/dev/hda
label=Windows95
# End Windows 95 stanza
\end{verbatim}
\end{tscreen}


ÔÙ¼ÓÈë Windows NT stanza:
\begin{tscreen}
\begin{verbatim}
# Windows 95 stanza
other=/dev/hdb1
table=/dev/hda
loader=/boot/any_d.b
label=WindowsNT
# End Windows 95 stanza
\end{verbatim}
\end{tscreen}


ÔÙÖ´ÐÐ LILO Ò»´Î¡£Èç¹ûÄã°´ÕÕÉÏÃæ×ö£¬ÄãÓ¦¸Ã¿ÉÒÔÔÚ LILO Ê±Ñ¡Ôñ¿ª»ú½øÈë
Windows 95, Windows NT ¼° Linux ¡£ÄãÓ¦¸Ã¿ÉÒÔ¿ª»ú½øÈë Linux ¼° Windows 95
(»á½øÈë Windows NT OS loader)¡£ÏÖÔÚÒªÈÃ Windows NT Ôö¼Ó¿ª»úÑ¡Ïî£¬¼ÌÐøÏÂ
Ãæ  Windows NT µÄ²¿·Ý¡£






\section{Windows NT ²¿·Ý}

ÔÚ¿ªÊ¼Ç°£¬ÄãÐèÏÈ×öÏÂÃæÁ½¼þÊÂ¡£

µÚÒ»¼þÊÂ£¬ÏÂÔØ²¢unzip Gilles Vollant µÄ BootPart ¹«ÓÃ³ÌÊ½£¬Äã¿ÉÔÚ  \nameurl{http://www.winimage.com/bootpart.htm}{}
ÕÒµ½Ëü£¬ÉÏÃæ»¹ÓÐÈç¹ûÊ¹ÓÃËüµÄ×ÊÑ¶¡£

µÚ¶þ¼þÊÂ£¬½«ÏÂÃæ¼¸¸öµµ°¸¿½±´µ½ Windows NT ´ÅµúµÄ¸ùÄ¿Â¼:
\begin{tscreen}
\begin{verbatim}
Boot.ini
Bootsect.dos
Ntdetect.com
Ntldr
\end{verbatim}
\end{tscreen}

ËüÃÇÊÇ Windows NT loader (ÔØÈëÆ÷)¡£ËüÃÇÊÇÔÚÄã°²×° NTÊ±±»¿½±´µ½ Windows 95
´ÅµúµÄ¸ùÄ¿Â¼ÄÚ¡£

Íê³Éáá£¬¿ª»ú½øÈë Windows 95 µÄ DOS ÃüÁîÁÐ (µ±95Æô¶¯Ê±°´ Shift+F5
)²¢Ö´ÐÐ:
\begin{tscreen}
\begin{verbatim}
BOOTPART WINNT BOOT:D:
\end{verbatim}
\end{tscreen}

ÏÖÔÚÄã±ØÐëÐÞ¸ÄWindows NT ¸ùÄ¿Â¼ÄÚµÄBoot.ini¡£ ÐèÐÞ¸ÄµÄµØ·½ÓÐÈýÐÐ£¬
Ò»ÐÐÔÚ {[}boot loader] ¡õ£¬Á½ÐÐÔÚ {[}operating systems] ¡õ¡£

ÏÂÃæÊÇÔ­À´µÄ Boot.ini:
\begin{tscreen}
\begin{verbatim}
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(1)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINNT="Windows NT Workstation Version 4.00" 
multi(0)disk(0)rdisk(1)partition(1)\WINNT="Windows NT Workstation Version 4.00 [VGA mode]" /basevideo /sos
C:\ = "Microsoft Windows"
\end{verbatim}
\end{tscreen}


ÏÂÃæÊÇÐÂµÄ Boot.ini:
\begin{tscreen}
\begin{verbatim}
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation Version 4.00" 
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation Version 4.00 [VGA mode]" /basevideo /sos
\end{verbatim}
\end{tscreen}

×¢ÒâÈ«²¿µÄ rdisk(1) Ïî¶¼¸Ä³É rdisk(0) ÒÔ¼°½« Windows 95 µÄÄÇÐÐÈ¥µô

Boot.ini ´æµµáá£¬Èç¹ûÄã×öµÃ¶Ô£¬Äã¾Í¿ÉÒÔ´Ó Windows NT ¿ª»úµ½ LILO ÁË!




\section{Windows 95 ²¿·Ö}

ÔÚ win95 µÄ DOS ÃüÁîÁÐ¡õ½¨¸ö¿ª»ú´ÅÆ¬¡£ÕâºÜÖØÒªÅ¶£¬ÊÇÔÚ DOSÃüÁîÁÐ¡õ×ö£¬
²»ÊÇ´Ó Windows 95ÄÚ¿ª¸ö DOS ÊÓ´°ÔÙ×ö°¡¡£¿½±´ C:$\backslash$WINDOWS95$\backslash$COMMAND$\backslash$SYS.COM µµ
µ½ÕâÕÅ¿ª»ú´ÅÆ¬¡õ (Èç¹ûÄãµÄÂ·¾¶²»Í¬¾Í¸ÄÒ»ÏÂ°É)¡£È»ááÖØÐÂÓÉÕâÕÅ´ÅÆ¬¿ª»ú½øÈëÃü
ÁîÁÐ¡£Ö´ÐÐ
\begin{tscreen}
\begin{verbatim}
SYS C:
\end{verbatim}
\end{tscreen}

ÕâÓ¦¸Ã¿ÉÒÔ°Ñ Windows NT OS loader ÒÆ³ý£¬¾Í¿ÉÒÔ´Ó LILO ¿ª»úµ½ Windows 95 ÁË¡£

ÏÖÔÚÄã¿ÉÒÔÉ±µô NT loader µÄ¼¸¸öµµ°¸:
\begin{tscreen}
\begin{verbatim}
Boot.ini
Bootsect.dos
Ntdetect.com
Ntldr
\end{verbatim}
\end{tscreen}







\section{²Î¿¼×ÊÁÏ}

¸ÐÐ»ÒÔÏÂµÄ¼¸Î»ÅóÓÑ:

James C. Bevier \& D. Michael McFarland.  ÔÚ redhat-list ¡õËûÃÇÌá¹©Ò»Ð©¹Øì¶ÈçºÎ´Ó Linux ¿ª»úµ½ NT µÄ·½·¨¡£

Gilles Vollant.  BootPart ÊÇ¸öÇ¿´óµÄ¹«ÓÃ³ÌÊ½£¬¶ø Gilles ½«Ëü±ä³ÉÒ»¸öÃâ·Ñ¶øÓÐ²»´íÎÄ¼þµÄÈíÌå¡£Ð»Ð»Ëû¡£

Mike Harlan.  ¿´ÁËËûµÄ'Linux-DOS-Win95-OS2' mini-HOWTO£¬ËüÈÃÎÒ¶Ôì¶ LILO µÄÐÐÎªÓÐÁËÒ»Ð©Ïë·¨¡£



ÒëÕß°´: ÈôÄú·¢ÏÖ±¾ÎÄ¼þÄÚÈÝÓÐ·­Òë²»Ë³³©»ò´íÎóµÄµØ·½£¬ÇëÄúÀ´ÐÅ¸æËßÎÒ£¬ÒÔ×ö¸üÕý£¬Ð»Ð»¡£
{\ttfamily \onlynameurl{linuxer.bbs@cis.nctu.edu.tw}}¡£



\end{document}
