Linux+NT-Loader(1).pdf

(50 KB) Pobierz
NT OS Loader + Linux mini-HOWTO
NT OS Loader + Linux mini−HOWTO
NT OS Loader + Linux mini−HOWTO
Table of Contents
NT OS Loader + Linux mini−HOWTO. ...........................................................................................................1
Bernd Reichert, <reichert@dial.eunet.ch> ..............................................................................................1
1. Abstract. ................................................................................................................................................1
2. How does the NT OS Loader work.. .....................................................................................................1
3. Tips on how to install Windows NT and Linux on the same System. ..................................................1
4. Bootpart. ...............................................................................................................................................1
5. The Linux part of the work. ..................................................................................................................1
6. The Windows NT part of the work. ......................................................................................................1
7. Play it again Sam. .................................................................................................................................1
8. Troubleshooting . ..................................................................................................................................2
9. References. ............................................................................................................................................2
10. Acknowledgements. ............................................................................................................................2
11. Feedback. ............................................................................................................................................2
1. Abstract. ................................................................................................................................................2
2. How does the NT OS Loader work.. .....................................................................................................2
3. Tips on how to install Windows NT and Linux on the same System. ..................................................2
3.1 Windows NT installation. ..................................................................................................................2
3.2 Partitioning.. .......................................................................................................................................3
3.3 Linux installation. ..............................................................................................................................3
3.4 Lilo. ....................................................................................................................................................3
4. Bootpart. ...............................................................................................................................................4
5. The Linux part of the work. ..................................................................................................................4
6. The Windows NT part of the work. ......................................................................................................5
7. Play it again Sam. .................................................................................................................................6
8. Troubleshooting . ..................................................................................................................................6
9. References. ............................................................................................................................................6
10. Acknowledgements. ............................................................................................................................7
11. Feedback. ............................................................................................................................................7
i
184432129.001.png
NT OS Loader + Linux mini−HOWTO
11. Feedback
This document describes the use of the Windows NT boot loader to start Linux. This procedures have been
tested with Windows NT 4.0 WS and Linux 2.0.
The NT OS loader likes to have the boot sector from the other operating systems available as a file. It reads
this file and starts the operating system selected, i.e. either Windows NT in different Modes or any other OS.
3.1 Windows NT installation
Try to install Windows NT first. If you want to use NTFS for your Windows NT−partition, keep in mind, that
the todays production version of Linux cannot access NTFS partitions. An alpha driver that can read
NTFS−Partitions is available at http://www.informatik.hu−berlin.de/~loewis/ntfs . You
may create a separate FAT−Partition for data exchange or you have to use DOS−formatted floppies.
8.Troubleshooting
2
184432129.003.png
NT OS Loader + Linux mini−HOWTO
3.2 Partitioning
Another Mini−howto recommends not to use NTs "Disk Administartor" to create the Linux swap− and
root−partitions. It is sufficient to see the free space there. I also recommend to use linux's fdisk later.
3.3 Linux installation
Now boot linux from diskettes, create the swap and root−partition. Fdisk assumes the ntfs−partition to be a
HPFS−partition. This is normal. Boot again from diskettes and install Linux as you like.
Just in case the installation procedure suggests that you could mount the HPFS partition which it has found:
Ignore it.
3.4 Lilo
When you come to the Lilo−Section, specify your Linux−root−partition as your boot device because the
Master Boot Record (MBR) of your harddisk is owned by Windows NT. This means that the root−entry and
the boot−entry in your /etc/lilo.conf have the same value. If you have a IDE−harddisk and your
Linux−partition is the second partition, your boot−entry in /etc/lilo.conf looks like:
boot=/dev/hda2
If you have two disks and your Linux resides on the first partition of your second disk, your boot−entry in
/etc/lilo.conf looks like:
boot=/dev/hdb1
Run lilo with a kernel that matches your system. Check the kernel by booting from diskette first if you are not
sure.
If you cannot boot Windows NT now, you have a problem. I hope you have created a repair−disk recently.
3.2 Partitioning
3
Zgłoś jeśli naruszono regulamin