Windows XP and RHEL5 dual-system installation notes

Source: Internet
Author: User
After partitioning according to your own hard drive, the original system is Windows XP, and now you are ready to install a total of RHEL5 for development and use under it. Let's get down to the truth. First of all, I want to introduce my hardware configuration and the corresponding environment. My laptop hard drive has around GB space. Disk C, disk D, disk E, disk F, and disk G are generally used to expand the disks in the system with a total of logical partitions, which are then divided into Linux systems for use. Here, I used the partition magic master to divide the G Disk

After partitioning according to your own hard drive, the original system is Windows XP, and now you are ready to install a total of RHEL5 for development and use under it. Let's get down to the point. First, I want to introduce my hardware configuration and the corresponding environment;

My laptop hard drive has about 230 GB space. C, D, E, F, and G disks are generally used to expand the disks in the system with a total of logical partitions, which are then divided into Linux systems for use. Here, I used the partition magic master to divide the G disk into about 45 GB space, I think so, ready to install a total of RHEL and Ubuntu systems. In an article, a brother warned that if the G disk is normally formatted and its partition is deleted, it belongs to the Second Primary partition of the hard disk by default (that is, extended partition). After RHEL is installed, it will be slow to use windows. (The reason is unknown... This is slow. I think it makes sense because the extended partition of windows contains some system partitions that are not recognized by windows. Why is it slow ). I just want to remove the G disk from the second primary partition (that is, the extended partition). (after removal, the problem occurs when RHEL is installed, I thought it was too simple at the time, because unknown idle partitions belong to the primary partition, so when installing RHEL, When configuring hard disk partitions, the new/boot,/swap, "/" is a primary partition, and a hard disk can have up to four primary partitions .). I can't continue to play, so I quit the installation. in windows, I used the magic partition to adjust the size of 5 GB in the extended partition's unknown space, the unknown space in the primary partition is 40 GB (in this way, I can set/swap to 4 GB and/boot to 400 MB .) After the partition is complete, enter the installation system. When configuring the partition, follow the previous idea: the second primary partition (that is, the extended partition) is divided into 4 gb swap partitions, 400 MB/boot partition. In the unknown partition of the primary partition, the size of 20 GB is used.

In this case, the installed "/" and "/boot" are not in the same primary partition, so whether or not I can use it is an annoyance after installing RHEL5.

When installing RHEL5, because it is detected that the xp system has been installed on the hard disk, let's choose to start System Management first, and the location of grub: 1. primary boot partition (MBR), 2. the partition where the system boot is located (sda9 here); if you select 1 and install it in MBR, it will overwrite the boot information for the windows xp system in the primary boot partition, in this way, it will be difficult to delete RHEL5 in the future. As a result, GRUB files cannot be found and windows xp cannot be accessed.

Therefore, I will definitely write it in the partition where the boot is located, and/boot/grub/menu. lst,

In the/boot/grub. conf file. After the installation is complete, the system only recognizes the boot program for windows xp in the first partition, but does not recognize grub in the second partition, only windows xp is displayed in the selection 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.