OS loader guides multi-system actual combat
○, preparatory knowledge:
OS Loader Basic Principle: Turn the boot sector information from other operating systems into a file, the size is generally 512 bytes, when the OS Loader is started, it reads the file and start the selected operating system. According to the above principles, the key to guide the multi-system key is to obtain the startup information of the corresponding startup sector 512 bytes.
First, the local partition is as follows:
HDA1 2000 FAT32 7G
HDA3 / BOOT EXT3 24M
HDA2 expansion partition
HDA5 Program Fat32 8G
HDA6 / EXT32 7.7G
HDA7 / SWAP SWAP 251M
HDA8 XP FAT32 8G
HDA9 Backup Fat32 7.3g
Second, the installation system
Install 2000 first, then install XP. OS Loader under 2000 will boot 2000 and XP.
Last installed, pay attention to the installation of LILO not to be installed in MBR, to be installed in the first sector of boot partition; the first sector of the root partition); be a boot disk.
Third, boot file
Start the system with the Linux boot disk.
Type in the prompt #:
DD if = / dev / hda3 of = / bootsect.lnx BS = 512 count = 1 (because / boot is in HDA3, the above command means: DD if = boot partition, OF = Start sector file storage path, BS = corresponding Pre-byte of the sector, count is the number of read and write)
MKDIR / MNT / WINC (Create WinC Directory)
Mount -t vfat / dev / hda1 / mnt / winc (Winca Mount to Directory WINC)
Cp /bootsect.lnx / mnt / winc
Then, open boot.ini in / mnt / winc (if not, you can open hidden settings), add C: /BootSect.lnx= "redhat linux7.2"
You can also operate in the root directory of 2000.
Finally, restart.
The startup menu appears when the OS Loader boot:
Microsoft Windows XP Professional
Microsoft Windows 2000 PROFESSIONAL
Redhat linux7.2
Selecting the third item will enter Lilo, and the LILO boot will start the menu:
linux
DOS
Select Linux will enter RH7.2
Select DOS will return to the first OS Loader boot start menu.
Fourth, big merits, kiss your mouth ~~~
Five, summary
Special note is that the startup disk is started to enter the Linux, the command is required to type
DD if = / dev / hda3 of = / bootsect.lnx count = 1
I have written the above command according to a new file mentioned in an article, and it is also bootsect.lnx. After restarting Select "Redhat Linux7.2", it will appear: "NTLDR is missing.". (Note: NTLDR is an important document of the 2000 boot system) due to individual
The system configuration, the partition is different, so that the article cannot be said is wrong. But for beginners, the startup information that typed the above command to export the system can be said to be the most accurate.
The above is a summary of the experience in actual combat, I hope to help the beginners like me.