How to install Redhat5.4 on a hard disk in Windows 7

Source: Internet
Author: User

How to install Redhat5.4 on a hard disk in Windows 7

1. Set boot and start the Redhat installer. 1

1.1. Download rhel-server-5.4-i386-dvd.iso 1

1.2. Format a partition as FAT32 to store our installation file, for example, K Disk 1

1.3. Copy rhel-server-5.4-i386-dvd.iso to K Disk 2

1.4. Unzip the rhel-server-5.4-i386-dvd.iso to K Disk 2

1.5. Set boot 3

1.6. Start Bootstrap 4

2. RedHat installation process 4

2.1. Partition 4

3. Windows 7 and RedHat dual-system startup Item 6

3.1 Access RedHat system 6

3.2 open the/boot/grub. conf file 6

3.3 Add a Windows 7 startup Item. 6

3.4 save and restart your computer 6

3.5 default boot item and wait time settings 7

1. Set boot and start the Redhat installer. 1.1. Download The rhel-server-5.4-i386-dvd.iso1.2. Format a partition as FAT32 to place our installation file, for example, K Disk

Note: In Windows 7, partitions cannot be directly formatted as FAT32 using the System Format option.

So we need to use tools.

Tool 1: Acronis. Disk. Director. Suite. v10.0.2160

Tool 2: Paragon Hard Disk Manager 2009

The method for using tool 1 is as follows:

(1) After starting, select Manual Mode)

(2) Right-click the partition to be formatted, K, and select Format)

(3) Select format to FAT32 (System is used for demonstration), and click OK.

(4) Submit Operations Select menu Operations --> submit (Commit ). Complete

1.3. Copy the rhel-server-5.4-i386-dvd.iso to K disk 1.4. Unzip the rhel-server-5.4-i386-dvd.iso to K Disk

Note: It is good to extract images and isolinux in the rhel-server-5.4-i386-dvd.iso, but in the case we are not very sure, it is no harm after all.

1.5. Set boot

Download EasyBCD, install and open the software.

(1) Select Add New Entry to Add a New guide.

(2) Add the ISO under the copied K disk and click Add Entry.

(3) quit and restart the computer

1.6. Start the boot program

1. After the restart, select RedHat-install in the pilot item selection (the name you wrote in the previous step)

2. The RedHat Linux installation is now available.

2. RedHat installation process 2.1. Partition

In this part, there are many graphic tutorials on the Internet. I will not repeat them here, but I will only mention a few questions about partition.

For example, how do I install RedHat on a D disk?

(1) select to create a custom partition structure

(2) Delete the partition corresponding to disk D, so that this area becomes FreeSpace

(3) select this FreeSpace and click Create to create a Linux partition. For example,/, swap.

In this way, we don't have to worry. In Windows 7, partition data except disk D will be formatted or lost.

3. Windows 7 and RedHat dual system startup items

After RedHat is installed, the computer automatically enters the RedHat system after it is turned on. the startup Item of Windows 7 disappears. How can this problem be solved?

3.1 enter RedHat System 3.2 open the/boot/grub. conf file

The file is as follows:

#boot=/dev/sdadefault=0timeout=15#splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenuserial --unit=0 --speed=115200 --word=8 --parity=no --stop=1terminal --timeout=10 serial consoletitle Red Hat Enterprise Linux Server (2.6.17-1.2519.4.21.el5xen)root (hd0,0)kernel /xen.gz-2.6.17-1.2519.4.21.el5 com1=115200,8n1module /vmlinuz-2.6.17-1.2519.4.21.el5xen ro root=/dev/VolGroup00/LogVol00module /initrd-2.6.17-1.2519.4.21.el5xen.img

 

3.3 Add a Windows 7 startup Item.

Add a Windows 7 startup item at the end of the file, following the RedHat startup Item of the file.

Suppose Window7 is installed on drive C (otherwise root (hd0, n), n is your installation disk)

title Windows7insmod ntfs    root (hd0,1)   drivemap -s (hd0) ${root}  chainloader +1 

 

3.4 save and restart your computer

You will find that Windows 7 is added to the RedHat startup Item. Press enter to enter Windows 7.

3.5 default boot item and wait time settings

After we want to start up, wait for 10 seconds to select a time and enter Windows7 by default. The method is as follows:

Open the/boot/grub. conf file,

Modify: default = 0

Timeout = 15

Default = 1

Timeout = 10

The value 1 in default = 1 depends on the actual situation. According to the sorting in the grub. conf file, the first start item is 0, and the second is 1,

 

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.