How to make WinXP and Linux coexist with each other

  

Most of the friends know Windows operating system through WinXP. WinXP integrates various functions, entertainment, office and other functions into one, which is deeply influenced by everyone's system. Everyone knows a lot of Linux systems. In the eyes of professionals, it doesn't lose WinXP at all. Because it is a non-commercial software, the source code is completely open, and users can edit it according to their own preferences. It is such two systems, they are difficult to coexist with each other, there will always be a lot of problems, many users can only install Linux in the virtual machine under WinXP, it is particularly uncomfortable to use. In fact, there is still a way to get them to get along with each other. The following small series will use Redhat Linux 9.0 and Windows XP as examples to explain some of the problems involved in the coexistence of the two.

A mounting

1. First, assume that you have already installed Windows XP, and the partition format is FAT32;. Preparatory before

2. Installing Redhat Work: Use some partitioning tools (such as PQmagic) to make some free space on your hard disk (referring to the space that has not been divided, neither the file system nor the drive letter). The size of the space is based on the Redhat installation you choose. The way to set, generally 5G is enough;

3. Use Redhat's installation CD to boot the system, according to the prompts, configure the language, keyboard, mouse, upgrade check, installation type page;

4. After entering the disk partition setting page, select “automatic partition" in the next page, select “Save all partitions, use free space>; click “Next” After the installer will create for you Good partitions required for Linux systems (including a /boot partition, a root partition, and a swap area); generally do not need to modify the settings directly into the back;

Note: On the disk partition settings page you See a list box with a list of your hard drives ——

The way Linux uses to identify hard drives is different from Windows. If you are using an IDE hard drive, then your first hard drive will be The identifier is /dev/hda, the second block is /dev/hdb, and so on; and the first partition of the first hard disk is identified as /dev/hda1 and the second partition is /dev/hda2 and so on; The SCSI hard disk is in the form of /dev/sda, /dev/sdb.

5. The next step is the key to the coexistence of the two families. —— bootstrap settings page, the installer provides you with two programs to boot the system — — GRUB and LILO, the default is GRUB; no need to change the bootloader, use GRUB, and select “Configure advanced options  to enter the next advanced options page.

Note: GRUB (GRand Unified Bootloader) is a powerful bootloader. GRUB can boot Windows&mdash through the chain loading mechanism; — GRUB loads the bootloader for Windows, and then the Windows bootloader loads Windows.

LILO (Linux LOader) is a flexible and versatile bootloader for Linux. It does not rely on a particular file system, can boot a Linux kernel image from a floppy disk and hard drive, and even boot other operating systems.

6. On the Advanced Options page, make sure the installation location selects the Master Boot Record (MBR);

7. Follow the prompts to complete the page setup. After rebooting, you will see a Beautiful boot interface, choose different entries to enter two operating systems separately!

[--NTFS--]

If your Windows XP system uses NTFS partition, it will be troublesome. Some, because neither Linux nor GRUB can understand NTFS; the steps mentioned above are the same, except in step 6 to select “ the first sector of the boot partition, and note the identity of the installation location ( Here, take /dev/hda9 as an example. In addition, at the end of the installation, you should follow the prompts to make a boot floppy disk. After the installation is complete, you can enter Linux. You need to perform the following steps:

1. Boot into the floppy disk. Linux;

2. Insert a blank floppy disk;

3. Type in the shell:

mount -t msdos /dev/fd0 /mnt

dd if=/dev/hda9 of=/mnt/bootrec bs=512 count=1

umount /mnt Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved