Flexible use of Lilo and NT starter manager Osloader

zhaozj2021-02-11  192

Flexible use of LILO and NT boot managers

Many lattages, such as System Commander, PQ Boot Magic, very good, beautiful interface, powerful, but they all ask the hard disk main boot record, this has problems, some anti-virus software will rewrite the MBR Mistaken is a virus and alarm, while MBR is really infected with viruses, and it is still necessary to call how users judge? This causes inconvenience to the user. NT starter and LILO in Linux differ from the top two, characterized by simple, fast, and can put itself in the partition in which it is located from the operating system without rewriting MBR, so that the above problem is closed. The author introduces your hard disk partitioning scheme and experiences using LILO and NT startup manager. The 8.4GB hard disk of the author is divided into three primary partitions and an extension partition (including multiple logical drives), fully independently installed three different operating systems: Windows 98, NT, Linux. The first primary partition uses the FAT32 file system, installing Windows 98 SE; the second primary partition is used by NTFS file system, installing Windows NT Workstation 4.0; the third primary partition adopts EXT2 file system, is Linux root, install Red Hat Linux 6.0. If the active partition is the second primary partition, multiple boot can be implemented with the NT Start Manager. If the active partition is a third main partition, multiple boot can be achieved with LILO. It is completely isolated between the various operating systems, which does not affect each other. If a system is damaged, it is necessary to reload, nor does it affect other systems, which is not possible to do other multiple launch schemes. Step 1: Partitioning and installing three operating systems, setting the LILO multi-boot function. First use the Windows 98 SE to start the floppy disk, use the fdisk command to divide the first size of 2GB of FAT32 primary partition on the new hard disk, do not separate other partitions, and format and install Windows 98 SE. Next, install Windows NT. A 2.5GB primary partition is created on the unparalleled space, formatted with NTFS, and installs NT on this partition. Install Red Hat Linux 6.0 below. Note When you choose the installed computer type, the screen displays: "What type of machine is you installing?" There will be three options: 1.WorkStation2.Server3.custom This is to select Custom mode if you have 1 or 2 The way the installer automatically partitions the hard disk, so you can't control the size of the Linux partition, and may damage the existing partition. Linux's fdisk command is very flexible, and it can be used to divide the third size of 1.5GB of primary partition (Linux Native) as root, all of which are extended partitions, and then create a 127MB in the extension partition The Linux Swap partition can be used as a switch area, don't forget to set the partitions in Linux to act so as to use LILO multiple boot. When installing LILO, there is a LILO Installation dialog box, ask you where Lilo is installed, there are two options: 1. / dev / hda ---- Master Boot Record2. / Dev / hda3 ---- First Sector of Boot Partition Do not select 1 Put LILO in the MBR (main boot area), and select 2 to put it in the first sector of the Linux boot partition (ie, the third main partition).

If you choose 1, then you can only boot the operating system with the LILO, even if you change the partition of the active partition as NT, you cannot first load the NT starter manager. In addition, MBR is "the land of the soldiers", many softwares such as Windows 98 / NT, System Commander, etc. will be rewritten. If LILO is placed in the MBR, and the future will reload Windows 98 / NT, LILO will be covered by the respective main boot information by Windows 98 / NT, so Linux can't start. LILO is in the first area of ​​the Linux guided partition, and LILO is not easy to be damaged by other software. When configuring the LILO multi-start function, pop up the bootable partitions dialog, display bootable partition: Device Partition Type Default Boot Label / DEV / HDA1 WIN95 FAT32 WIN98 / DEV / HDA2 OS / 2 HPFS NT / dev / hda3 Linux Native * Linux Device The column lists the three main partitions; the Partition Type column lists the partition type, the basement device / dev / hda2 is actually a Windows NT partition, not an OS / 2 partition; the DEFAULT column uses "*" Signs the default startup partition; the contents of the boot label bar are LILO to load the operating system name. We can specify the default startup partition and edit the boot label content, complete the LILO installation. In this way, Linux installation is complete, we can use LILO to implement multiple boots of three systems. The remaining unscrupulous disk space in the extended partition can be arbitrarily divided into several FAT16 logical drives so that data sharing between each system. The remaining partition and formatting work can be done with the disk editor in NT. Manually set the multi-boot function of the NT start manager. We first extract the first main partition Windows 98 and the third main partition Linux partition boot record, saved as bootsect.w98 and bootsect.lin. The author uses the DISKEDIT program in Norton tool, the method is as follows: Start to the Win98 DOS environment, run Disked, select Object -> Partition Table in the menu, then display the hard disk MBR, if it is 16-based display, please switch to The partition table form shows that you will see the content of the four sub-items, the leftmost system field is as follows: FAT32 --- First main partition, Windows 98 HPFS --- The second main partition, actually NTFS NT? --- Third main partition, Linux (Disked ignore the partition type, display "?") Extend --- Extended partition Move the cursor to the "FAT32" section, press Enter, and jump to the partition boot record . Select Tools -> Write Object To in the menu, select "To a file", select a FAT16 partition, save the file to bootsect.w98 (1536 "). Move the cursor to "?" That is, the same method, the same method, saving partition boot records to bootsect.lin (512bytes). This completed the work of extracting the partition boot record.

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

New Post(0)