How to use Windows NT Boot Loader to launch Linux

zhaozj2021-02-11  221

How to use Windows NT Boot Loader to launch Linux

1. Abstract 2. How does NT OS Loader work? 3. How to install Windows NT and Linux on the same system * 3.1 Install Windows NT * 3.2 Split Disk * 3.3 Installation Linux * 3.4 Lilo 4. Bootpart 5. Linux most of the work 6. Windows NT part of the work to do it again 7. 8. 9. exclusion of other references * 9.1 * 9.2 * 9.3 grateful feedback * 9.4 Annotation: NT Loader to start FreeBSD _________________________________________________________________ 1. summary this document describes Write Linux methods using Windows NT Boot Loader. This process has been tested on Windows NT 4.0 Workstation and Linux 2.0. 2. How does NT OS Loader work? NT OS Loader wishes to get a file from the startup magnetic area from other job systems. It is read into this file and launches the selected job system, that is, the Windows NT operated in different modes or any other job system. 3. How to install Windows NT and Linux on the same system Tips 3.1 Installing Windows NT first try to install Windows NT. If you want to use NTFS as a file system in your Windows NT split area, remember that the current version of Linux cannot take the NTFS split area. An Alpha version driver that can be read from the NTFS division area can be found in [4] http://www.informatik.hu-berlin.de/~loewis/ntfs. You can build another FAT split area as a data exchange, or you can use a DOS formatted flop. 3.2 Split Disk Die Mini-HOWTO recommends not to use NT "Disk System Administrator" to create Linux replacement and root directory split area. It will leave some space. I also recommend using Linux's FDISK. 3.3 Installing Linux Now starts Linux from the magnetic sheet, establish a replacement and root directory split area. FDISK will regard NTFS divisions to be HPFS divisions, which is normal. Start Linux from the magnetic sheet and press your preference to install Linux. In the installation process, it is recommended that you hang it on the HPFS split area it finds: ignore it. 3.4 LILO When you do some part of LILO, specify your Linux root directory split area as your boot device because your disk's master start record (MBR) is now Windows NT. This means that there will be the same value in the root project and boot projects of /etc/lilo.conf. If you have an IDE hard drive and your Linux split area is on the second segmentation area, your /etc/lilo.conf's boot project looks like: boot = / dev / hda2 if you have two disks Machine and your Linux is on the first division area of ​​the second disk, and your /etc/lilo.conf's boot project looks like: boot = / dev / hdb1 to meet the core of your system. If you are not sure, start from the magnetic sheet to check the core. If you can't start Windows NT now, you have trouble. I hope that you have established a recent repair magnetic sheet.

4. Bootpart has a NT program written by G. Vollant called bootpasr to do two points to you. Bootpart can get here: [5] http://ourworld.compuserve.com/homepages/gvollant/bootpart.htm. If you want to know how things work, use the fifth and sixth steps described. 5. Work of the Linux part You must start Linux from the magnetic sheet until the NT part is changed. Now you have to remove the starting magnetic area from your Linux root partition area. If / dev / hda2 is your Linux split area, this DD instruction is: # dd if = / dev / hda2 of = / bootsect.lnx BS = 512 count = 1 If your bootsect.lnx exceeds 512 positions Then there is something wrong. Copy file bootsect.lnx to a DOS formatted magnetic piece, if this is the method you transfer the file into the NTFS split area. You can copy it like this # mcopy /bootsect.lnx A: or with # mount -t msdos / dev / fd0 / mnt # copy /bootsect.lnx / mnt # umount / mnt 6. WONDOWS NT part works Copy to C: bootsect.lnx. I won't tell you how to do it. (Translation: Copy A: Bootsect.lnx C:, should it be.) Lilo.conf under Linux, in Windows NT is C: Boot.ini. Remove its system with this instruction before you have renovated it And only reading attribute: c: attrib -s -rc: boot.ini now change Boot.ini files now, such as Notepad, like this: [Boot loader] Timeout = 30 default = multi (0) Disk (0) Rdisk (0) Partition (1) Winnt [Operating Systems] Multi (0) Disk (0) RDisk (0) Partition (1) Winnt = "Windows Nt Workstation ... Multi (0) Disk (0) RDisk (0) Partition (1) Winnt = "Windows NT Workstation ... C: bootsect.lnx =" linux "only added in this case. Reply to its properties with this instruction after you save boot.ini: c: attrib s rc: boot.ini When you turn off your Windows NT and then restart, you should see like this: OS Loader V4. 00 Please select the job system you want to start: Windows NT Workstation Version 4.0 Windows NT Workstation Version 4.0 [VGA Mode] Linux Use the ↑ button and to make the option you want to reveal, please press Enter to confirm the selection Linux and will see Lilo Loading Zimage .... 7. Do a new copy of Bootsect.lnx once a time you have changed each time your Linux split area is modified. An example is when you reusing LILO installed a new core. Therefore, you can see that such systems are not suitable for testing the core of the experiment. 8. Exclude problems If things do not follow the expected operation, use a magnetic sheet to check the bootability. If / dev / hdb1 is your Linux split area,

Your /etc/lilo.conf has the following items: root = / dev / hdb1 boot = / dev / fd0 inserts a magnetic sheet and executes Lilo. Now attempt to start on the magnetic sheet. If you can't start on / dev / hdb1, then NT OS Loader will not start it. If you see a lot of 01 01 01 01, it means that your root disk cannot be taken. Check if all your disks are detected by BIOS. If this magnetic can start your Linux split area, you can remove your boot magnetic area to NT OS Loader with the following instruction: # ddness.lnx BS = 512 count = 1 you can Keep this magnetic sheet as your first aid magnet when you install a problem in your Windows NT. 9. Other 9.1 References * The Linux WindowsNT Mini-HOWTO * The FAQ for FreeBSD 2.x 9.2 Thank * Thanks xiaoming YI Tips These processes are also operated on other magnetic discs outside the first magnetic disc. * Thank Frank Dennler's disk skills provided by Frank Dennler. 9.3 Give back to any comments are welcome. 9.4 Translation: Start freebsd by NT Loader In addition to Windows NT 4.0 and Linux in the translator, FreeBSD 2.2 is also installed, and it is a way to start freebsd. My FreeBSD is installed in / dev / sda2, which is freebsd / dev / sd0s2. Follow the above practice I will first store the / dev / sda2's boot sector: # dd if = / dev / sda2 of = / bootsect. BSD BS = 512 Count = 1 and copy it to C: Under. Add C: bootsect.bsd = "freebsd" in boot.ini, this method has failed, unable to start FreeBSD! On the one hand, I feel disappointed, one side is not dead. Suddenly, LILO can also start freebsd. So, after the following experiments, after entering Linux, change /etc/lilo.conf to: boot = / dev / fd0 install = /boot/boot.b vga = Normal Other = / dev / sda2 label = freebsd table = / dev / sda loader = / dev/os2_d.b is placed in a formatted magnetic piece and then runs LILO -V. Then turn the magnetic zone of the magnetic sheet into a file: # DD if = / dev / fd0 of = / bootsect.bsd BS = 512 count = 1 and put it in C: Under. After removing the magnetic sheet, turn on, select FreeBSD under the NT Loader menu, then see: lilo loading freebsd >> Freebsd boot @

0x10000: 639/65536 k of memory usage: [[0:] [fd] (0, a)] / kernel] [- Abccdhrsv] Use 1: SD (0, a) / kernel to boot sd0 if it is bios drive 1 Use? For file list or practice: I succeeded !! References 1. Mailto: Refactort@dial.eunet.ch 2. http://www.phys.ntu.edu.tw/~cwhuang/pub / 3. Mailto: cwhuang@phys.ntu.edu.tw 4. http://www.informatik.hu-berlin.de/~loewis/ntfs 5. http://ourworld.compuserve.com/homepages/gvollant/ bootpart.htm Linux NT OS Loader mini-HOWTO Chinese Version author: Bernd Reichert [1] reichert@dial.eunet.ch Translator: [2] CWHuang [3] cwhuang@phys.ntu.edu.tw v1. 11, 2 September 1997 Translation Date: 11-12 November 1997 ___________________________________________________________________________________________________________________________________________________ this file describes how to start Linux using Windows NT Boot Loader. How _________________________________________________________________ 1. Summary 2. NT OS Loader work? 3. How to install Windows NT and Linux on the same system prompts * 3.1 install Windows NT * 3.2 * 3.3 segmented disk installed Linux * 3.4 Lilo 4. Bootpart 5. Linux part of the work 6. Windows NT part of the work to do it again 7. 8. 9. exclusion of other references * 9.1 * 9.2 * 9.3 grateful feedback * 9.4 Annotation: NT Loader to start FreeBSD _________________________________________________________________ 1. summary this document Describe the method of launching Linux using Windows NT Boot Loader. This process has been tested on Windows NT 4.0 Workstation and Linux 2.0. 2. How does NT OS Loader work? NT OS Loader wishes to get a file from the startup magnetic area from other job systems. It is read into this file and launches the selected job system, that is, the Windows NT operated in different modes or any other job system. 3. How to install Windows NT and Linux on the same system Tips 3.1 Installing Windows NT first try to install Windows NT. If you want to use NTFS as a file system in your Windows NT split area, remember that the current version of Linux cannot take the NTFS split area. An Alpha version driver that can be read from the NTFS division area can be found in [4] http://www.informatik.hu-berlin.de/~loewis/ntfs. You can build another FAT split area as a data exchange, or you can use a DOS formatted flop.

3.2 Split Disk Die Mini-HOWTO recommends not to use NT "Disk System Administrator" to create Linux replacement and root directory split area. It will leave some space. I also recommend using Linux's FDISK. 3.3 Installing Linux Now starts Linux from the magnetic sheet, establish a replacement and root directory split area. FDISK will regard NTFS divisions to be HPFS divisions, which is normal. Start Linux from the magnetic sheet and press your preference to install Linux. In the installation process, it is recommended that you hang it on the HPFS split area it finds: ignore it. 3.4 LILO When you do some part of LILO, specify your Linux root directory split area as your boot device because your disk's master start record (MBR) is now Windows NT. This means that there will be the same value in the root project and boot projects of /etc/lilo.conf. If you have an IDE hard drive and your Linux split area is on the second segmentation area, your /etc/lilo.conf's boot project looks like: boot = / dev / hda2 if you have two disks Machine and your Linux is on the first division area of ​​the second disk, and your /etc/lilo.conf's boot project looks like: boot = / dev / hdb1 to meet the core of your system. If you are not sure, start from the magnetic sheet to check the core. If you can't start Windows NT now, you have trouble. I hope that you have established a recent repair magnetic sheet. 4. Bootpart has a NT program written by G. Vollant called bootpasr to do two points to you. Bootpart can get here: [5] http://ourworld.compuserve.com/homepages/gvollant/bootpart.htm. If you want to know how things work, use the fifth and sixth steps described. 5. Work of the Linux part You must start Linux from the magnetic sheet until the NT part is changed. Now you have to remove the starting magnetic area from your Linux root partition area. If / dev / hda2 is your Linux split area, this DD instruction is: # dd if = / dev / hda2 of = / bootsect.lnx BS = 512 count = 1 If your bootsect.lnx exceeds 512 positions Then there is something wrong. Copy file bootsect.lnx to a DOS formatted magnetic piece, if this is the method you transfer the file into the NTFS split area. You can copy it like this # mcopy /bootsect.lnx A: or with # mount -t msdos / dev / fd0 / mnt # copy /bootsect.lnx / mnt # umount / mnt 6. WONDOWS NT part works Copy to C: bootsect.lnx. I won't tell you how to do it. (Translation: Copy A: Bootsect.lnx C:, should it be.) Lilo.conf under Linux, in Windows NT is C: Boot.ini. Remove its system with this instruction before you have renovated it And only reading attribute: c: attrib -s -rc: boot.ini now change the boot.ini file with an editor, such as Notepad, like this: [boot loader] Timeout = 30 default =

Multi (0) DISK (0) Partition (1) Winnt [Operating Systems] Multi (0) Disk (0) RDisk (0) Partition (1) Winnt = "Windows NT Workstation ... Multi (0) Disk (0) RDisk (0) Partition (1) Winnt = "Windows NT Workstation ... C: bootsect.lnx =" linux "only added in this case. Reply to its properties with this instruction after you save boot.ini: c: attrib s rc: boot.ini When you turn off your Windows NT and then restart, you should see like this: OS Loader V4. 00 Please select the job system you want to start: Windows NT Workstation Version 4.0 Windows NT Workstation Version 4.0 [VGA Mode] Linux Use the ↑ button and to make the option you want to reveal, please press Enter to confirm the selection Linux and will see Lilo Loading Zimage .... 7. Do a new copy of Bootsect.lnx once a time you have changed each time your Linux split area is modified. An example is when you reusing LILO installed a new core. Therefore, you can see that such systems are not suitable for testing the core of the experiment. 8. Exclude problems If things do not follow the expected operation, use a magnetic sheet to check the bootability. If / dev / hdb1 is your Linux split area, your /etc/lilo.conf has the following items: root = / dev / hdb1 boot = / dev / fd0 inserts a magnetic piece and performs Lilo. Now trying to be on the magnetic start up. If you can't start on / dev / hdb1, then NT OS Loader will not start it. If you see a lot of 01 01 01 01, it means that your root disk cannot be taken. Check if all your disks are detected by BIOS. If this magnetic can start your Linux split area, you can remove your boot magnetic area to NT OS Loader with the following instruction: # ddness.lnx BS = 512 count = 1 you can Keep this magnetic sheet as your first aid magnet when you install a problem in your Windows NT. 9. Other 9.1 References * The Linux WindowsNT Mini-HOWTO * The FAQ for FreeBSD 2.x 9.2 Thank * Thanks xiaoming YI Tips These processes are also operated on other magnetic discs outside the first magnetic disc. * Thank Frank Dennler's disk skills provided by Frank Dennler. 9.3 Give back to any comments are welcome. 9.4 Translation: Start freebsd by NT Loader In addition to Windows NT 4.0 and Linux in the translator, FreeBSD 2.2 is also installed, and it is a way to start freebsd. My FreeBSD is installed in / dev / sda2, which is freebsd / dev / sd0s2. Follow the above practice I will first store the / dev / sda2's boot sector: # dd if = / dev / sda2 of = / bootsect. BSD BS = 512 Count = 1 and copy it to C: Under.

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

New Post(0)