Win98, NT and Linux coexisting NT OS Loader Ntosknl.exe

zhaozj2021-02-11  233

Coexistence of Win98, NT and Linux

-------------------------------------------------- ------------------------------

Most people are all Windows98, but how to achieve their coexistence in order to learn Windows NT and Linux, how do you achieve their coexistence? And it is best to install Linux on the existing Windows 98, WindowsNT. Now make an introduction to the entire installation strategy, if you please correct it.

Before installing, we must first learn about an important data area in the hard disk dominance - partition table. One hard disk can only have four primary partitions, this is to be clear. Now let's assume that the hard disk is used: After the machine is bought, we divide the hard disk over 4 logical discs, which are C, D, E, F, and the entire hard disk space has been divided. So, in this case, we generally use several primary partitions? The answer is two: one is the main DOS partition, the other is to extend the DOS partition. The C drive is the primary DOS partition, and the extended DOS partition also includes three logical disk D, E, F.

After one day, you have to install Windows NT, if you are formatted into FAT32 format, so it is a disaster for installation of Windows NT. If you boot with Win98, then install Windows NT, then tell you if you don't copy the file; if you make three NT installation floppy disk, the installation is able to do, but you will find it when you choose to install the partition. NT found two unused FAT32 partitions, if you need to install, you have to delete the extension partition, then restrict, that is, your D, E, and the F disc will not exist. So, what should I do with this situation? There is a way to use the System Commander software (as if there are Linux CDs). With SC you can re-convert the FAT32 format to FAT16, but the logical disk space in FAT16 format cannot exceed 1.7g.

After the above cumbersome steps, you finally install NT on the D disk. If you use the FAT16 format, it is easy to complete the NT installation. Behind you have to install Linux, will face a pain.

First, when you install it to the Linux partition, you suddenly discovered that the hard drive has no space, you can't create a Linux partition, you see the HDA1, HDA2, HDA5, HDA6, HDA7 partitions, you still face D, E, F disks delete Dilemma. However, this time you may have experience, use System Commander, remove the F disk, if the space is not enough to delete the E disk or cut the E disk out of a space. In this way, you finally have a non-DOS's remaining hard disk space. When installing Linux, we assume that you only divide a root / partition and a swap partition SWAP. So, you have used all four primary partitions, the first two are DOS partitions, and the next two are Linux partitions. In the Linux partition, the first is the Linux primary partition and the other is the Linux extension partition. If you have to separate / home or / usr, these are built on the Linux extension partition.

One wave of just, one wave of appearance. When Linux is installed to LILO, you have trouble, is it to install the main boot record (MBR), or install it elsewhere? In order to coexist with NT, you cannot install LILO into the main boot record, where you can only install LILO to HDA3, which is Linux's primary partition. Don't forget, you must make a Linux boot disk during the installation process, otherwise Linux cannot be booted. Linux has been successfully installed, and how to implement Windows98, Windows NT, Linux system, here I recommend using NT's OS Loader because it occupies the main boot record. So how do you add Linux's boot information to the NT boot menu? At this time, the boot floppy disk in the Linux process works. Use the floppy to guide Linux, log in to Linux with root, do the following:

1. Put the C disk MOUNT

Mount / dev / hda1 / mnt # To use the corresponding command parameters according to your C disk format

2. Write LILO boot information into a file

DD IF = / dev / hda3 of = / mnt / bootsect.lnx BS = 512 count = 1

3. Modify the Boot.ini of NT

Vi / mnt/boot.ini

Add a line in the file:

C: /bootsect.lnx = "linux"

4. Modify the partition location of NT

Change all MULTI (0) DISK (0) RDISK (0) Partition (2) / WinNT:

Multi (0) Disk (0) rdisk (0) Partition (4) / Winnt

To be honest, I didn't understand that I was the second partition. I didn't change the partition table during the installation process. How did two Linux partitions? This is also true difficulties I have encountered during my installation. I changed to 5 tried it. I didn't make it (my heart is the 5th partition), and I have not changed to 4 to try (in fact, I didn't expect it to be Linux. Extended partition number). No way I reinstall NT, and then found that Boot.ini was changed to 4. So, if you find NT after installation, Winnt / System32 / Ntosknl.exe did not find, don't be nervous, modify the boot.ini under the root directory, from 1 ~ 4 trial to change partition (?) The data will be successful.

Author: zhujk@china.com

Source: (Linux 1 thousand one yea)

转载请注明原文地址:https://www.9cbs.com/read-3674.html

New Post(0)