本文发表在 rolia.net/zh 相约加拿大网上社区枫下论坛
there are tons of articles dealing with this issue on net, why don't you just search these papers. In short, you are supposed to be familiar yourself with the concept of primary partition. if you want a dual boot system, you should create two primary partitions, one for NT, one for Unix. The details are as following:
Given you are to install windows2000 and Redhat6.2 , and you have a large hd
step1. create the first primary partition with the size of 10M. then exit.
You can achieve this by using W2k book disk. This partition is used to put some boot files for win2k, actually there are only 3 files needed for w2k boot.
step 2. boot your computer again using Redhat disk, create the second primary partition using fdisk, which is a tool within the installation program. a size of 16M is enough for this partition. This partition will be mounted as /boot and linux boot image will be put within this partition. Active the partition for boot.
step 3, within the fdisk tool, partition the third primary partition with the size of 256M, this partition will be mounted as /
step 4. the fourth partition then must be created as extended partition, within which you can have infinite logical partitions, theoretically.
create logical partitions for linux swap(256M) , /usr (1000M) , /home(1500M), /var(256M)..... (Actually only / is a must for installing linux). Leave the left of the harddisk space unpartitioned.
step 5. install redhat linux 6.2, don't forget to create a linux boot disk.
step 6. after finish the installation, boot linux using the floppy disk you made in step 5.
step7. login in as root , using the following command to create a file bootsect.lnx and copy it to floppy disk
# dd if=/dev/hd2 of=/bootsect.lnx bs=512 count=1
# mcopy /bootsect.lnx a:
note: /dev/hd2 is the boot partition of linux
step 8. boot your computer again using win2k disk. within win2k installation , partition a logical partition of 2000M, which is used for win2k system files. during the installation, win2k will automatically choose the first primary partition to install its boot files. after the installation, win2k will be the default system.
step 9. copy the file bootsect.lnx to c:\
step 10. edit boot.ini and add a line at the end of the file
C:\BOOTSECT.LNX="RED HAT 6.2"
step 11. all done. a dual-boot system
更多精彩文章及讨论，请光临枫下论坛. 网址: rolia.net/zh