Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 965e33040dd61030a94f0eb89877aee8 > files > 3263

howto-html-en-20080722-2mdv2010.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>NT OS Loader + Linux mini-HOWTO: The Windows NT part of the work</TITLE>
 <LINK HREF="Linux+NT-Loader-7.html" REL=next>
 <LINK HREF="Linux+NT-Loader-5.html" REL=previous>
 <LINK HREF="Linux+NT-Loader.html#toc6" REL=contents>
</HEAD>
<BODY>
<A HREF="Linux+NT-Loader-7.html">Next</A>
<A HREF="Linux+NT-Loader-5.html">Previous</A>
<A HREF="Linux+NT-Loader.html#toc6">Contents</A>
<HR>
<H2><A NAME="s6">6. The Windows NT part of the work</A></H2>

<P>Copy the file from the diskette to <CODE>C:\\bootsect.lnx</CODE>. I don't tell you
how to do that.
<P>What lilo.conf is for linux is <CODE>c:\\boot.ini</CODE> for Windows NT.
Remove the, system- and the read-only-attribute before you 
can modify it with:
<P>
<BLOCKQUOTE><CODE>
<PRE>
C:\attrib -s -r c:\boot.ini 
</PRE>
</CODE></BLOCKQUOTE>
<P>Now change the file boot.ini with an editor, notepad for example, as follows: 
<P>
<BLOCKQUOTE><CODE>
<PRE>
[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 ... 
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
C:\BOOTSECT.LNX="Linux"
</PRE>
</CODE></BLOCKQUOTE>
<P>Only the last line has been added in this example.
Restore the attributes after you have saved <CODE>boot.ini</CODE> with: 
<P>
<BLOCKQUOTE><CODE>
<PRE>
C:\attrib +s +r c:\boot.ini 
</PRE>
</CODE></BLOCKQUOTE>
<P>After a shutdown of your Windows NT and a restart your should
see the following:
<P>
<BLOCKQUOTE><CODE>
<PRE>
  OS Loader V4.00
 
  Please select the operating system to start:

  Windows NT Workstation Version 4.0
  Windows NT Workstation Version 4.0 [VGA mode]
  Linux

Select Linux and see

  LILO loading zImage ....
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>
<HR>
<A HREF="Linux+NT-Loader-7.html">Next</A>
<A HREF="Linux+NT-Loader-5.html">Previous</A>
<A HREF="Linux+NT-Loader.html#toc6">Contents</A>
</BODY>
</HTML>