\documentclass[letterpaper]{article}
\nonstopmode
\bkai
\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 ¦h­«¶}¾÷ mini-HOWTO}
\author{§@ªÌ:
Renzo Zanelli, {\ttfamily rzanelli@southeast.net}\\ 
Ä¶ªÌ:
ÁÂ±X¤¤ HSIEH Kun-Chung, ¥xÆW ¤¤µØ¥Á°ê 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{³o­Ó¤å¥ó¦bÜt­z¦p¦ó°µ Windows 95, indows NT ¤Î Linux ¶¡ªº¦h­«¶}¾÷}


\begin{document}
\maketitle
\tableofcontents

\section{Â²¤¶}

²{¦b¤w¸g¦³¤@¨Ç¤å¥ó¦b½Í¦p¦ó¨Ï¥Î NT ªº¶}¾÷µ{¦¡¨Ó°µ¦h­«¶}¾÷¡C·í§Ú¶R¤F NT«á¡A
§Ú¤w¸g¦b§Úªº¨t²ÎùØ©ñµÛ 95¥H¤Î Linux¡C¨º®É§Ú¬O¥Î LILO ¨Ó°µ¦h­«¶}¾÷ªº¡A
©Ò¥H§Ú¨M©w¦b LILO ùØ¥[¤J NT ªº±Ò°Ê¿ï¶µ¦Ó¤£±Ä¥Î NT ªº OS Loader¡C

­ì¥»§Ú±N Windows 95 ©ñ¦b²Ä¤@Áû IDE µwºÐùØ¡A Linux ¦b²Ä¤GÁû¡C©Ò¥H Linux
´NÅÜ¦¨¤F§Úªº²Ä¤TÁûµwºÐ¡A§Ú§âÄé¤F NT ªº¨ºÁû©ñ¦¨§Úªº²Ä¤GÁûµwºÐ¡CÁöµM§Ú¨Ã
¨S¦³¸Õ¹L¨ä¥Lªº«Øºc³]©w¡A§Ú­Ó¤H»{¬°­þ¤@ÁûµwºÐ©ñ­þ­Ó§@·~¨t²Î¥H¤Î¥L­Ìªº©ñ
¸m¶¶§ÇÀ³¸Ó¤£«Ü­«­n§a¡C

¥u­n»{±o¡A¬°¨C¤@ºØ§@·~¨t²Î°µ¦nºò«æ¶}¾÷ºÏ¤ù !

¦]¬°§Ú¨Ï¥Î Gilles Vollantªº BootPart ¤½¥Îµ{¦¡¡A¦Ó¥¦¥u¤ä´©³Ì¤j¨ì
4GB ®e¶qªºµwºÐ¡A¦pªG§AªºµwºÐ¤ñ³o­ÓÁÙ¤j¥i¯àµLªk¨Ï¥Î¡A½Ð»P
Gilles ª½±µ³sµ¸¬Ý¬Ý (½Ð°Ñ¾\ BootPart ¤å¥óùØ¦³ Gilles ªº e-mail¦a§})¡C






\section{¦w¸Ë§@·~¨t²Î}

·í§A¦b¦w¸Ë§@·~¨t²Î®É¡A­n½T©w±z±N¥L­Ì³£¦w¸Ë¦b¥i±Ò°Êªº¤À³Î¤W¡C§Ú¸Ë¤F
Windows 95 ¤Î Windows NT ¦b Fat 16 ¤À³Î¤W¡A¦]¦¹¦b Fat 16 ¤W¥i¥H¦¨¥\¡C
¦pªG§A¨M©w¨Ï¥Î Fat32 ¦b Windows 95 ¤W¥H¤Î NTFS ¦b Windows NTùØ¡A½ÐÀË¬d
¬Ý§Aªº Linux ª©¥»¬O§_¦³¤ä´©¥L­Ì¥H¤Î¬ÛÃö¤º®e¡C






\subsection{¦w¸Ë Windows 95}

¦w¸Ë Windows 95 ¦b²Ä¤@ÁûºÏºÐ¤W¡A¤]´N¬O C: ºÏºÐ¡C°O±o¦b Windows 95 ­n§A
°µ¤@­Ó¶}¾÷ºÏ¤ù®É­n°µ¤@±i®@¡C

§Úµo²{¦b¦w¸Ë Win95 ®É Linux ºÏºÐ´Nºâ³Q¨t²Îµ¹»\¦í¤F¡A¤]¨S¦³¹³ win95 ³Q³o»ò¹ï«Ý®É¨º»ò
¦b·N¡C

§¹¦¨«á¡AÀ³¸Ó¥i¥H¶}¾÷¶i Windows 95¡C






\subsubsection{¦w¸Ë NT 4.0}

¦w¸Ë Windows NT 4.0 ¦b§Aªº²Ä¤G­ÓºÏºÐ¤W¡C·í§A¦b«Ø¥ß¤À³Î®É¡A½Ð±o±N¥¦³]¦¨¥i
±Ò°Ê¡C¨Ã¤£¬O©Ò¦³ªº Linux ³£¤ä´© NTFS¡A¦]¦¹§Ú±N¥¦«Ø¦¨ FAT16 ¤À³Î¡A¦]¬°³o¼Ë
¥i¥H¦w¥þ¦a¦b windows ºÏºÐ¶¡¤¬¬Û¥æ´«¸ê®Æ¡C

·í¦w¸Ë Windows NT ®É¡A¥¦·|°»´ú¨ì Windows 95 ¨Ã¥B·|¦Û°Ê¦b NT OS loader¤W«Ø¥ß
¶}¾÷¿ï¶µ¡A¦p¤U¡G

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


¨ì¦¹¡A§A¥i¥H°µ Windows NT ¤Î Windows 95ªº¦h­«¶}¾÷






\paragraph{¦w¸Ë Linux}

¦w¸Ë Linux ¦b²Ä¤TÁûºÏºÐ¤W¡A·í§Ú¦w¸Ë Linux®É¡A¥u¦³ Windows 95 ¤w¦w¸Ë¦b¤W­±¡A
©Ò¥H§Ú¥u¥[¤F Windows 95 ¤À³Î¨ì Lilo ¡C§A¥i¥H¦b¦w¸Ë LILO «e¦A¦w¸Ë¨ä¥Lªº§@·~
¨t²Î¡A©Î¬O¦b LILO ¦w¸Ë«á¦A­×§ï³]©wÀÉ¡C¤£ºÞ§A«ç»ò°µ¡A¤U­±³¹¸`§ÚÁÙ¬O·|¤¶²Ð
/etc/lilo.conf ÀÉÀ³¸Ó«ç»ò³]¡C¦w¸Ë«á Linux «áÀ³¸Ó¥i¥H¶}¾÷¨ì Linux¡C






\section{Linux ³¡¥÷}

³o¥]§t­×§ï /etc/lilo.conf ÀÉ®×¥H¤Î­«·s¦w¸Ë LILO
­ì¨Óªº /etc/lilo.conf À³¸Ó¦p¤U:
\begin{tscreen}
\begin{verbatim}
boot=/dev/hda
\end{verbatim}
\end{tscreen}


Linux stanza À³¸Ó¦p¤U
\begin{tscreen}
\begin{verbatim}
# Linux stanza
image=/vmlinuz
root=/dev/hdc1
label=Linux
# End Linux stanza
\end{verbatim}
\end{tscreen}


²{¦b¥[¤JWindows 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}


¦A¥[¤J 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}


¦A°õ¦æ LILO ¤@¦¸¡C¦pªG§A«ö·Ó¤W­±°µ¡A§AÀ³¸Ó¥i¥H¦b LILO ®É¿ï¾Ü¶}¾÷¶i¤J
Windows 95, Windows NT ¤Î Linux ¡C§AÀ³¸Ó¥i¥H¶}¾÷¶i¤J Linux ¤Î Windows 95
(·|¶i¤J Windows NT OS loader)¡C²{¦b­nÅý Windows NT ¼W¥[¶}¾÷¿ï¶µ¡AÄ~Äò¤U
­±  Windows NT ªº³¡¥÷¡C






\section{Windows NT ³¡¥÷}

¦b¶}©l«e¡A§A»Ý¥ý°µ¤U­±¨â¥ó¨Æ¡C

²Ä¤@¥ó¨Æ¡A¤U¸ü¨Ãunzip Gilles Vollant ªº BootPart ¤½¥Îµ{¦¡¡A§A¥i¦b  \nameurl{http://www.winimage.com/bootpart.htm}{}
§ä¨ì¥¦¡A¤W­±ÁÙ¦³¦pªG¨Ï¥Î¥¦ªº¸ê°T¡C

²Ä¤G¥ó¨Æ¡A±N¤U­±´X­ÓÀÉ®×«þ¨©¨ì Windows NT ºÏºÐªº®Ú¥Ø¿ý:
\begin{tscreen}
\begin{verbatim}
Boot.ini
Bootsect.dos
Ntdetect.com
Ntldr
\end{verbatim}
\end{tscreen}

¥¦­Ì¬O Windows NT loader (¸ü¤J¾¹)¡C¥¦­Ì¬O¦b§A¦w¸Ë NT®É³Q«þ¨©¨ì Windows 95
ºÏºÐªº®Ú¥Ø¿ý¤º¡C

§¹¦¨«á¡A¶}¾÷¶i¤J Windows 95 ªº DOS ©R¥O¦C (·í95±Ò°Ê®É«ö Shift+F5
)¨Ã°õ¦æ:
\begin{tscreen}
\begin{verbatim}
BOOTPART WINNT BOOT:D:
\end{verbatim}
\end{tscreen}

²{¦b§A¥²¶·­×§ïWindows NT ®Ú¥Ø¿ý¤ºªºBoot.ini¡C »Ý­×§ïªº¦a¤è¦³¤T¦æ¡A
¤@¦æ¦b {[}boot loader] ùØ¡A¨â¦æ¦b {[}operating systems] ùØ¡C

¤U­±¬O­ì¨Óªº 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}


¤U­±¬O·sªº 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}

ª`·N¥þ³¡ªº rdisk(1) ¶µ³£§ï¦¨ rdisk(0) ¥H¤Î±N Windows 95 ªº¨º¦æ¥h±¼

Boot.ini ¦sÀÉ«á¡A¦pªG§A°µ±o¹ï¡A§A´N¥i¥H±q Windows NT ¶}¾÷¨ì LILO ¤F!




\section{Windows 95 ³¡¤À}

¦b win95 ªº DOS ©R¥O¦CùØ«Ø­Ó¶}¾÷ºÏ¤ù¡C³o«Ü­«­n®@¡A¬O¦b DOS©R¥O¦CùØ°µ¡A
¤£¬O±q Windows 95¤º¶}­Ó DOS µøµ¡¦A°µ°Ú¡C«þ¨© C:$\backslash$WINDOWS95$\backslash$COMMAND$\backslash$SYS.COM ÀÉ
¨ì³o±i¶}¾÷ºÏ¤ùùØ (¦pªG§Aªº¸ô®|¤£¦P´N§ï¤@¤U§a)¡CµM«á­«·s¥Ñ³o±iºÏ¤ù¶}¾÷¶i¤J©R
¥O¦C¡C°õ¦æ
\begin{tscreen}
\begin{verbatim}
SYS C:
\end{verbatim}
\end{tscreen}

³oÀ³¸Ó¥i¥H§â Windows NT OS loader ²¾°£¡A´N¥i¥H±q LILO ¶}¾÷¨ì Windows 95 ¤F¡C

²{¦b§A¥i¥H±þ±¼ NT loader ªº´X­ÓÀÉ®×:
\begin{tscreen}
\begin{verbatim}
Boot.ini
Bootsect.dos
Ntdetect.com
Ntldr
\end{verbatim}
\end{tscreen}







\section{°Ñ¦Ò¸ê®Æ}

·PÁÂ¥H¤Uªº´X¦ìªB¤Í:

James C. Bevier \& D. Michael McFarland.  ¦b redhat-list ùØ¥L­Ì´£¨Ñ¤@¨ÇÃö©ó¦p¦ó±q Linux ¶}¾÷¨ì NT ªº¤èªk¡C

Gilles Vollant.  BootPart ¬O­Ó±j¤jªº¤½¥Îµ{¦¡¡A¦Ó Gilles ±N¥¦ÅÜ¦¨¤@­Ó§K¶O¦Ó¦³¤£¿ù¤å¥óªº³nÅé¡CÁÂÁÂ¥L¡C

Mike Harlan.  ¬Ý¤F¥Lªº'Linux-DOS-Win95-OS2' mini-HOWTO¡A¥¦Åý§Ú¹ï©ó LILO ªº¦æ¬°¦³¤F¤@¨Ç·Qªk¡C



Ä¶ªÌ«ö: ­Y±zµo²{¥»¤å¥ó¤º®e¦³Â½Ä¶¤£¶¶ºZ©Î¿ù»~ªº¦a¤è¡A½Ð±z¨Ó«H§i¶D§Ú¡A¥H°µ§ó¥¿¡AÁÂÁÂ¡C
{\ttfamily \onlynameurl{linuxer.bbs@cis.nctu.edu.tw}}¡C



\end{document}
