mirror of https://github.com/tLDP/LDP
updated
This commit is contained in:
parent
1e9e445dd3
commit
fa1c16e1bf
|
@ -2,11 +2,11 @@
|
|||
|
||||
<article>
|
||||
|
||||
<title>Lilo mini-HOWTO
|
||||
<title>LILO mini-HOWTO
|
||||
<author>Miroslav "Misko" Skoric, <tt/m.skoric@eunet.yu/
|
||||
<date>v3.4, 15 November 2000
|
||||
<date>v3.5, 13 May 2001
|
||||
<abstract>
|
||||
<nidx>linux loader windows nt boot</nidx>
|
||||
<nidx>linux loader windows nt 2000 boot</nidx>
|
||||
LILO is the most used <bf/Li/nux <bf/Lo/ader for the x86 flavour of
|
||||
Linux; I'll call it Lilo rather than LILO here because I don't
|
||||
appreciate uppercase. This file describes some typical Lilo
|
||||
|
@ -17,14 +17,18 @@ documentation is very good, who's interested in the details is
|
|||
referred to /usr/doc/lilo* (once upon a time said gentlemen like
|
||||
Cameron Spitzer and Alessandro Rubini who have made early versions
|
||||
of this document)
|
||||
</abstract>
|
||||
|
||||
|
||||
<p>
|
||||
This version of Lilo mini-HOWTO is based on work of Cameron Spitzer
|
||||
(<tt>cls@truffula.sj.ca.us</tt>) and Alessandro Rubini
|
||||
(<tt>rubini@linux.it</tt>). There is also a contribution from Tony Harris
|
||||
(<tt>tony@nmr.mgh.harvard.edu</tt>).
|
||||
|
||||
</abstract>
|
||||
(<tt>tony@nmr.mgh.harvard.edu</tt>). Well, I have used materials from
|
||||
the authors mentioned - without changes - and added some pointers
|
||||
related to configuring LILO for using with Windows NT and Windows 2000.
|
||||
More detailed information about the activation of Windows NT/2000 from LILO
|
||||
menu, you may find in <tt>Linux+WinNT</tt> mini-HOWTO.
|
||||
|
||||
|
||||
<sect>Introduction
|
||||
|
@ -114,10 +118,11 @@ system installed there. For example, if you installed Windows NT 4.0 as the
|
|||
first operating system on your machine, then NT's boot loader was placed into
|
||||
the MBR so you were able to boot NT without problems. After you installed
|
||||
Linux and chose to install Lilo to the MBR, Lilo rewrote NT's boot loader.
|
||||
Next time you boot your machine, you won't be able to boot NT. But, there
|
||||
is no problem. You should edit your <tt>/etc/lilo.conf</tt> and add a new entry
|
||||
for NT. Next time you re-boot your system, there will be the new added NT entry
|
||||
under Lilo menu.
|
||||
Next time you boot your machine, you won't be able to boot NT. But, that
|
||||
is no problem. You should edit your <tt>/etc/lilo.conf</tt> and add a new
|
||||
entry for NT. Next time you re-boot your system, there will be the new
|
||||
added NT entry under Lilo menu. The same thing happened when I installed
|
||||
Windows 2000 instead of Windows NT.
|
||||
|
||||
<sect1>How Should I Configure my IDE Hard Drives?
|
||||
|
||||
|
@ -230,10 +235,10 @@ table. You must also mark the DOS partition as bootable.
|
|||
<sect1>How to make a ram disk?
|
||||
|
||||
<p>
|
||||
<em>Notice: If you find the next section hard to read, you may also look for
|
||||
the web page: <tt>http://surfer.nmr.mgh.harvard.edu/partition/ramdisk.html</tt>
|
||||
where you would find the original of the contributed section.
|
||||
</em>
|
||||
<em>Notice: If you find the next section difficult to read, you may
|
||||
also look for the web page:
|
||||
<tt>http://surfer.nmr.mgh.harvard.edu/partition/ramdisk.html</tt>
|
||||
where you would find the "original" of this contribution ...</em>
|
||||
|
||||
<p>
|
||||
by Tony Harris
|
||||
|
@ -290,8 +295,8 @@ boot# <bf>file /tmp/myimage</bf>
|
|||
|
||||
<p>
|
||||
You do not have to look inside your image. Only making the image and
|
||||
modifying lilo.conf are necessary steps. However, discussion of the ramdisk
|
||||
image is provided for pedagogic purposes.
|
||||
modifying <tt>lilo.conf</tt> are necessary steps. However, discussion of
|
||||
the ramdisk image is provided for pedagogic purposes.
|
||||
|
||||
In order to look inside, I need to mount the image as though it were
|
||||
a filesystem:
|
||||
|
@ -341,7 +346,7 @@ boot# <bf>find /mnt/tmp</bf>
|
|||
The most important part of this ram disk image is <tt/aic7xxx.o/,
|
||||
which is my scsi module.
|
||||
|
||||
Finally, I move on to the last step, modifying <tt//etc/lilo.conf/:
|
||||
Finally, I move on to the last step, modifying <tt>/etc/lilo.conf</tt>:
|
||||
|
||||
Here is my entry in <tt/lilo.conf/ that corresponds to the kernel and
|
||||
image I just created:
|
||||
|
@ -402,7 +407,7 @@ kernel image nothing special is needed, but you need version 18 or
|
|||
newer of Lilo. If your installation is older, you should upgrade your
|
||||
Lilo package.
|
||||
|
||||
<sect1>How to Boot Windows NT from Lilo menu
|
||||
<sect1>How to boot Windows NT from Lilo menu
|
||||
|
||||
<p>
|
||||
Here I will give you an order of routines you have to do if you want
|
||||
|
@ -483,9 +488,18 @@ to have both Linux and NT entries under Lilo menu:
|
|||
entry into /etc/lilo.conf file. After you do that, restart Lilo
|
||||
and, after the next re-boot, you will have both 'linux' and 'nt'
|
||||
entries under Lilo menu.
|
||||
|
||||
|
||||
</itemize>
|
||||
|
||||
<sect1>How to boot Windows 2000 from Lilo menu
|
||||
|
||||
<p>
|
||||
Well, you may use the same procedure as described above.
|
||||
I suggest you to read <tt>Linux+WinNT</tt> mini-HOWTO that also talks
|
||||
about booting Windows 2000, which is installed on the same part of disk
|
||||
where Windows NT was <em>before</em>. There you'll find many useful details.
|
||||
|
||||
|
||||
<sect>Installing <tt/hdc/ to Boot as <tt/hda/ and Using <tt>bios=</tt>
|
||||
|
||||
<p>
|
||||
|
@ -618,7 +632,7 @@ other = /dev/hda1
|
|||
<sect>Accessing Huge Disks When the BIOS Can't
|
||||
|
||||
<p>
|
||||
Notice: 1GB is "Huge"? Well, once upon a time...
|
||||
<em>Notice: 1GB is "Huge"? Well, once upon a time...</em>
|
||||
|
||||
<p>
|
||||
The system in my office has a 1GB IDE drive. The BIOS can only see
|
||||
|
@ -772,7 +786,7 @@ Windows-95 is on D:.
|
|||
<em>Copyright is a source of much and continuous
|
||||
debate on the LDP mailing list. For more in depth
|
||||
information please consult the Manifesto at the
|
||||
</em> <url url="http://www.LinuxDoc.org/"
|
||||
</em> <url url="http://www.linuxdoc.org/"
|
||||
name="LinuxDoc"> site.
|
||||
<em>The purpose of having a license is to allow
|
||||
appropriate distribution. You can use any license
|
||||
|
@ -780,7 +794,7 @@ that meets the Manifesto. What follows is a
|
|||
boilerplatte license.
|
||||
</em>
|
||||
<p>
|
||||
Copyright (c) 2000 by Miroslav "Misko" Skoric, YT7MPB.
|
||||
Copyright (c) 2001 by Miroslav "Misko" Skoric.
|
||||
<p>
|
||||
Please freely copy and distribute (sell or give
|
||||
away) this document in any format. It is
|
||||
|
@ -864,9 +878,9 @@ homepage.
|
|||
<em>This version of mini-HOWTO can thanks to:</em>
|
||||
|
||||
<tscreen><verb>
|
||||
Cameron Spitzer (<tt/cls@truffula.sj.ca.us/)
|
||||
Alessandro Rubini (<tt/rubini@linux.it/)
|
||||
Tony Harris (<tt/tony@nmr.mgh.harvard.edu/)
|
||||
Cameron Spitzer (cls@truffula.sj.ca.us)
|
||||
Alessandro Rubini (rubini@linux.it)
|
||||
Tony Harris (tony@nmr.mgh.harvard.edu)
|
||||
</verb></tscreen>
|
||||
|
||||
Any comments or suggestions can be mailed to my
|
||||
|
|
|
@ -3,22 +3,23 @@
|
|||
<article>
|
||||
|
||||
<title>Linux+WindowsNT mini-HOWTO
|
||||
<author>Miroslav Skoric, <tt/m.skoric@eunet.yu/
|
||||
<date>v2.5, 15 November 2000
|
||||
<author>Miroslav "Misko" Skoric, <tt/m.skoric@eunet.yu/
|
||||
<date>v2.6, 13 May 2001
|
||||
<abstract>
|
||||
<nidx>linux loader windows nt boot</nidx>
|
||||
<nidx>linux loader windows nt 2000 boot</nidx>
|
||||
This mini-HOWTO covers some ways on how to install both Linux
|
||||
and Windows NT on the same computer and how to boot either of
|
||||
them from within LILO menu. There is also another mini-HOWTO
|
||||
"Linux+NT-Loader" that covers how to boot either of them from
|
||||
within NT Loader menu.
|
||||
within NT Loader menu. As I consider Windows 2000 to be NT 5.0
|
||||
this mini-HOWTO also covers upgrading from NT 4.0 to 2000.
|
||||
</abstract>
|
||||
|
||||
|
||||
<sect>INTRODUCTION
|
||||
|
||||
<p>
|
||||
Bill Wohler wrote in v1.1 of The Linux+WindowsNT mini-HOWTO:
|
||||
Bill Wohler wrote in his v1.1 of The Linux+WindowsNT mini-HOWTO:
|
||||
<p>
|
||||
<em>"Due to hardware or software problems or user headroom, I pulled my
|
||||
hair out for several days trying to get both NT and Linux happily
|
||||
|
@ -56,7 +57,7 @@ More details later...)
|
|||
|
||||
Of course you all are able to install Windows NT first and after that
|
||||
Linux. We'll see how to do that and how to use <bf/LILO/ (<bf/Li/nux
|
||||
<bf/Lo/ader) to choose which operating system to boot. But, before that
|
||||
<bf/Lo/ader) to chose which operating system to boot. But, before that
|
||||
we'll see the procedure that Bill Wohler, the previous maintainer of
|
||||
this mini-HOWTO, has been using:
|
||||
|
||||
|
@ -86,7 +87,7 @@ this mini-HOWTO, has been using:
|
|||
process you'll boot into Linux.
|
||||
|
||||
<p>
|
||||
5. Add NT stanza to <tt>/etc/lilo.conf</tt>, e.g.:
|
||||
5. Add NT stanza to /etc/lilo.conf, e.g.:
|
||||
|
||||
<verb>
|
||||
other=/dev/sda1
|
||||
|
@ -96,7 +97,7 @@ this mini-HOWTO, has been using:
|
|||
|
||||
<p>
|
||||
and run lilo. If lilo complains about this (I forget the message),
|
||||
add the "linear" flag to <tt>/etc/lilo.conf</tt> near the "compact" keyword.
|
||||
add the "linear" flag to /etc/lilo.conf near the "compact" keyword.
|
||||
Furthermore, if your partition table is screwed up by NT you'll
|
||||
either need to use "ignore-table" or follow the directions in Step 7.
|
||||
See also "fix-table". The LILO HOWTO is your friend.
|
||||
|
@ -309,9 +310,9 @@ Partition 1 does not end on cylinder boundary:
|
|||
you'll see that there is only one (or more) Linux entry. Well,
|
||||
you should know the exact position (read: a partition) where
|
||||
Windows NT has been installed, so you could add an appropriate
|
||||
entry into /etc/lilo.conf file. After you make those changes, restart
|
||||
Lilo with a command: <bf>/sbin/lilo</bf> and, after the next re-boot,
|
||||
you will have both 'linux' and 'nt' (or 'dos' or similar)
|
||||
entry into <tt>/etc/lilo.conf</tt> file. After you make those changes,
|
||||
restart Lilo with a command: <bf>/sbin/lilo</bf> and, after the next
|
||||
re-boot, you will have both 'linux' and 'nt' (or 'dos' or similar)
|
||||
entries under Lilo menu.
|
||||
|
||||
<p>
|
||||
|
@ -339,7 +340,7 @@ Partition 1 does not end on cylinder boundary:
|
|||
root=/dev/hda3
|
||||
other=/dev/hda1
|
||||
label=nt
|
||||
</tt></verb>
|
||||
</verb>
|
||||
|
||||
<p>
|
||||
<item>Some more explanations regarding details from my <tt>/etc/lilo.conf</tt>
|
||||
|
@ -594,6 +595,77 @@ process shouldn't change too much, if any.
|
|||
</itemize>
|
||||
|
||||
|
||||
<sect>HOW TO <em>UPGRADE</em> WINDOWS NT TO WINDOWS 2000
|
||||
|
||||
<p>
|
||||
<em>Well, actually, it isn't a real "upgrade" of <bf>running</bf> NT to
|
||||
2000, but a "fresh" installation of Windows 2000 Professional.
|
||||
I hope it should also work for other Windows 2000 products. I
|
||||
haven't tried its server-type installations yet, but I remember I
|
||||
haven't experienced any problem with NT, regarding it was Server
|
||||
or Workstation.</em>
|
||||
|
||||
<p>
|
||||
<itemize>
|
||||
|
||||
<item>First of all, a backup of important data should be made! I do it
|
||||
by having another Windows-like partition on the disk, where I
|
||||
copy/move my texts, drawings etc. That partition is <em>not</em>
|
||||
going to be handled during the installation. After the backup is made,
|
||||
it's the right time to install Windows 2000.
|
||||
|
||||
<p>
|
||||
<item>You see, folks, whenever I (re)install a Windows NT product, I
|
||||
like to see it on a clean partition. It means, I remove i.e.
|
||||
delete the existing partition where NT "system" files were stored,
|
||||
in order to get free ('unused') space. Then I chose to make
|
||||
a new partition that will be formatted as NTFS type of file
|
||||
system. After that, I opt to install Win2000 onto the new
|
||||
partition.
|
||||
|
||||
<p>
|
||||
<item>The procedure of Windows 2000 Setup will remove LILO from the
|
||||
MBR, so a couple of next re-bootings during the installation won't
|
||||
show LILO prompt.
|
||||
|
||||
<p>
|
||||
<item>When the Win2000 installation is finished, you may re-install your
|
||||
favourite applications and restore your data from the
|
||||
backup. You should then check if everything goes fine with your
|
||||
new and old Windoze stuff :-)
|
||||
|
||||
<p>
|
||||
<item>So far - so good. Now you have to look after your Linux boot
|
||||
floppy diskette. If you can't find it, you are out of luck.
|
||||
Actually, I am not sure if all Linux systems might be now
|
||||
activated without boot diskette. Some Linux <em>gurus</em>
|
||||
suggest to boot Linux from the installation CD, but I don't
|
||||
know if it can help in case your system doesn't have
|
||||
<em>bootable</em> CDROM drive, i.e. a modern motherboard's
|
||||
BIOS. Any comment here?
|
||||
|
||||
<p>
|
||||
<item>Well, after you successfully boot your Linux, you should go to
|
||||
<tt>/etc/lilo.conf</tt> to check it once again. You should have
|
||||
there at least two options: Linux and NT. Case you don't see the
|
||||
option to boot your beloved Windoze, you have to add it. It
|
||||
was described in previous sections. Then you have to run
|
||||
<bf>/sbin/lilo</bf> in order to put LILO boot loader into the MBR.
|
||||
|
||||
<p>
|
||||
<item>That's all. Next time you boot your computer, you'll get your
|
||||
LILO prompt. Using <Tab> key you'll see your boot options.
|
||||
|
||||
<p>
|
||||
<item>From my experience - all work great! Although I <em>removed</em>
|
||||
previous WinNT installation in order to make new Win2000
|
||||
installation and also <em>lost</em> (temporarily) LILO boot loader,
|
||||
at the end I got both of them, Win2000 and Linux, the same
|
||||
way as I did with WinNT and Linux!
|
||||
|
||||
</itemize>
|
||||
|
||||
|
||||
<sect>FURTHER INFORMATION
|
||||
|
||||
<p>
|
||||
|
@ -602,7 +674,7 @@ process shouldn't change too much, if any.
|
|||
<em>Copyright is a source of much and continuous debate on the
|
||||
LDP mailing list. For more in depth information please consult
|
||||
the Manifesto at the </em>
|
||||
<url url="http://www.LinuxDoc.org/"
|
||||
<url url="http://www.linuxdoc.org/"
|
||||
name="LinuxDoc"> site.
|
||||
<em>
|
||||
The purpose of having a license is to allow appropriate distribution.
|
||||
|
@ -610,7 +682,7 @@ You can use any license that meets the Manifesto.
|
|||
What follows is a boilerplate licence.
|
||||
</em>
|
||||
<p>
|
||||
Copyright (c) 2000 by Miroslav "Misko" Skoric.
|
||||
Copyright (c) 2001 by Miroslav "Misko" Skoric.
|
||||
<P>
|
||||
Please freely copy and distribute (sell or give away) this document in
|
||||
any format. It's requested that corrections and/or comments be fowarded
|
||||
|
|
Loading…
Reference in New Issue