Install RedHat Linux Enterprise4 AS Update4 (also applicable to SATA hard disks)

Source: Internet
Author: User

I just bought a new computer, Pentium D925 dual-core CPU, Kingston's DDR2 2 GB memory, Seagate's 320G SATA hard drive, and Asus's P5LD2 SE motherboard, the Realtek 8186 Gbit/s NIC that comes with the motherboard is also equipped with BENQ's saradb for redis recorder. I feel like I can keep up with the times, but the hard disk space is quite huge. So I decided to install Red Hat Linux Enterprise 4 AS after installing Windows.

At the beginning, I downloaded a Release version from the Internet, with a total of four iso files. I was excited with four CDs and then moved them to the optical drive, in the BIOS, set the disc to start and enter the Linux installation screen. However, after a while, I entered the topic, and the problem came out. I said I couldn't find the hard disk. This suddenly became SB. I think there may be some reasons why I often heard people say that the SATA hard disk was not recognized, however, I still remember that Linux kernel 2.6 supports SATA devices. It is unreasonable. So I restarted and decided to change the SATA device in the BIOS to the IDE for identification. I installed the Linux device first, and then re-compiled the kernel.

In the BIOS, you can easily find the option of the IDE device. The default option is Enhanced, which means to identify the SATA device as SATA and change it to Compatiable, this SATA hard disk is recognized as IDE, and Linux can certainly recognize it. However, unexpected situations occur, that is, the optical drive suddenly cannot be identified. After being changed to Compatiable, the optical drive is not compatible with the IDE, so it cannot be identified. The hard-carved CD is lacking in copper and iron ~~~~~. So start Windows and start Google to see if there is any installation method without the optical drive.

However, I did not really find it. Originally, a small software called WINGRUB was used to create a boot entry and point it to the place where the ISO file is stored in the hard disk. First, download WINGRUB, and then select the boot. ini disk in the base Directory, which is generally a C disk. Select the "install" menu. In this case, select the drive letter in the lower half of the pop-up window, and select "C". Enter the title on the edge in the text in the menu and write it as needed. For example, for linux, click the install button to close the window. Return to the main window, select Save As, and store the file in the C:/boot/grub directory, named menu. lst. Check the boot. ini file in the root directory of your c drive and you will find such a line C:/GRLDR = "linux" at the end ". Indicates that a menu option is displayed when you start the service.

Next, prepare a hard disk partition. It doesn't need to be too large. Just put down several iso files. For example, use PQ Magic to split a 3G drive. Note that the file system should be in the FAT32 format, do not divide it into NTFS. Copy several iso files to this partition, and decompress the initrd. img and vmlinuz files in the first iso file to the root directory. Then configure this in menu. lst.

Timeout 10

Title ac4install
Root (hd0, 8)
Kernel (hd0, 8)/vmlinuz
Initrd (hd0, 8)/initrd. img

Title Windows at (hd0, 0)
Root (hd0, 0)
Chainloader + 1

The bottom is the original windows configuration. (hd0, 8) refers to the serial number of the disk where I put the iso. If you do not know it, you can find it on WINGRUB. Then, restart the computer and change the BIOS to Compatiable mode. You can find that there is a linux option in the boot menu. After selecting this option, you will go to the Linux installation interface and choose to install from the hard disk, and select the drive to put the iso file. If everything goes well, you can install it successfully.

However, I am still not very smooth, because after a while, I said that the installation failed. The original reason was that there was an error in the iso file, which was really depressing. The next day, I downloaded a version of RHLE4 AS Update4 from the company. This time it was five iso files, and I had done the same thing, and I didn't have to try it any more. In addition, this Update4 Release version can successfully identify the SATA hard disk, so the Enhanced attribute is OK without modification.

In short, this installation is still very rewarding. I also found a method that does not require a CD, and only used a few ISO files for installation. It was quite nice during installation, the process of changing the disk is missing.

However, the hardship is still not over. Some of my better hardware Linux cannot be identified, so I have configured a lot below, such as the NIC or something. I will sort it out next time and try again, let the later brothers take less detours.

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.