Multi-boot WINDOWSNT and REDHATLINUX instances

Source: Internet
Author: User
Tags ftp site
Article Title: Guide WINDOWSNT and REDHATLINUX instances in multiple ways. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The host LEE has installed a set of WINDOWS NT4, and the disk has two NTFS partitions. Now you want to install REDHAT LINUX6.0 on it and implement multiple boot operations. The detailed process is as follows.
  
1. Sort the hard disk and free up the unpartitioned space.
------------------------------
You can use PQ5.0 to easily achieve this. By reorganizing partitions, you can get a 445M unpartitioned space.
  
2. Install redhat linux through FTP
-------------------------------
First, create an FTP site. create an FTP service on the host XIU (NT SERVER4 + IIS2.0), set the FTP home directory to the optical drive (F :), and allow anonymous login. put the REDHAT installation CD into the optical drive.
  
Step 2, make REDHAT to install the BOOT floppy disk, use HD-COPY and other tools to install
The BOOTNET. imgfile in the IMAGES directory is removed to a floppy disk.
  
Step 3: Use the BOOT floppy disk to start the host LEE, specifying the NIC model, interrupt address, and interrupt number. The host is as follows:
Model: NOVELL NE2000 COMPATIBLE
Io addr.: 0X300.
IRQ: 10
Configure the TCP/IP, IP address, subnet mask, default gateway, and primary DNS address of the Local Machine. Then, specify the installation method --- FTP, and specify the IP address of the FTP site. The REDHAT release directory is as follows:
Ftp addr: 192.168.0.155
DIR :/
  
Step 4: Partition BOOT, ROOT, and SWAP partitions. Use the Disk Druid tool to add the following three partitions:
  
Mount Point Size (Megs) HD SN
----------------------------------------
/BOOT 16 hda5
Linux swap 16 hda6
/410 hda7
  
Step 5: Initialize the partition and select install component.
Step 6: select the installation partition to start installation.
Step 7: configure the system.
7.1 configure the mouse
7.2 configure X Windows
7.3 configure the network
7.4 configure the clock
7.5 select the device to be restarted
7.6 configure the printer
7.7 set the root password
7.8 create a boot floppy disk
  
3. Install LILO
--------------
To use NTLDR to guide LINUX, do not install LILO on the master startup record (MBR), but install LILO on the first sector of the BOOT partition.
  
4. Create BOOTSECT. LIN to implement multiple Guidance
----------------------------------
After LINUX is installed, the system still automatically enters NT at this time. If you want to access LINUX, you must use a LINUX boot floppy disk. To enable NTLDR to guide LINUX, first create a LINUX boot sector image file.
There are two methods:
  
1) use LINUX commands
~~~~~~~~~~~~~~~
Use the boot disk to enter LINUX, log on to the ROOT account, and insert a floppy disk that will store the image file. The command is as follows:
Create BOOTSECT. LIN
  
# Mount-t msdos/dev/fd0/mnt
# Dd if =/dev/hda5 bs = 512 count = 1 of =/mnt/bootsect. lin
# Umount/dev/fd0
  
Because the Linux Boot partition is/dev/hda5, 'dd' is used to generate a Boot record image file.
  
2) use NORTON DISKEDIT2000
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Use norton diskedit to directly read The BOOT Sector of the BOOT partition and save it as BOOTSECT. LIN
File. The process is as follows:
Step 1: view the hard disk partition table to obtain the LINUX extended partition address.
Step 2: view the extended partition table to obtain the start address of the BOOT partition (equivalent to the logical drive) BOOT Sector.
Step 3: store this sector (with LILO) in the bootsect. LIN file of the floppy disk.
For more information, see < <硬盘分区表详解> >.
  
After obtaining the BOOTSECT. LIN file, restart LEE to enter NT, modify the BOOT. ini file, copy the BOOTSECT. LIN file to C: \, and set its attribute to read-only.
BOOT. ini file
~~~~~~~~~~~~~
[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 Server Version 4.00"
Multi (0) disk (0) rdisk (0) partition (1) \ WINNT = "Windows NT Server Version 4.00 [VGA mode]"/basevideo
  
/Sos
C: \ BOOTSECT. LIN = "redhat linux"
  
Restart. Now you can go to any system through the menu.
  
  
  
  
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.