Rhel5 hard disk installation FAQs and Solutions

Source: Internet
Author: User
I used to install linux on a CD. Now I have rhel5 and want to Upgrade linux. I want to try the hard disk installation method. I checked it online for a long time. There are also several methods: loadlin and grub are useful. You can use either method, but you have encountered some problems during installation. Methods on the Internet: 1. Two files in the/isolinux directory under the first image of RHEL5 need to be extracted. Vmlinuz and initrd. img. (the isolinux directory has been used to install linux on a CD. Now I have rhel5. I Want To Upgrade linux and try the hard disk installation method. I checked it online for a long time, there are also several methods: loadlin and grub, either of which can be used, but I encountered some problems during the installation process.

Online methods:

1. Extract the two files in the/isolinux directory under the first image of RHEL5. Vmlinuz and initrd. img. (The isolinux directory contains the files required to start from CD;) (vmlinux is an executable file that contains static and Linux kernel executable file formats) to prevent errors, I decompress all the files in/isolinux.

2. Place the image file and the above two files in any windows partition. Remember that the file can only be in the fat/fat32 format. Otherwise, the image cannot be found when you select the partition where the image file is located during hard disk installation. For example, the NTFS format cannot be supported.

3.use your dos tool to start the computer, find your downloaded grub-for-dos, and run grub.exe.

4. boot the linux image in the hard disk in grub:

A. Run find vmlinuz (search for the partition where vmlinuz is located ).
B. Run root (hdx. y) (this is the partition where/boot is located. The information in the brackets is the echo of the above command .)
C. kernel/vmlinuz (used to specify the Linux kernel)
D. initrd/initrd. img (used to specify the initrd file)
E. boot
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.