Upgrade RedHatLinux7.3 to CentOS3.1

Source: Internet
Author: User
A recent attempt to use VMwarevCenterConverter to virtualize a very old RedHatLinux7.3 physical server failed, probably because the RedHat7.3 version is too old to support VMwareConverter. If the system is too old to be virtualized and fails to use some automatic migration tools, you can perform the migration on your own, for example, create a virtual hard disk, add a partition table, copy the file system, reset grub, and modify several key files.

A recent attempt to virtualize a very old Red Hat Linux 7.3 physical server using the VMware vCenter Converter tool may fail because the RedHat 7.3 version is too old to support VMware Converter. If the system is too old to be virtualized and fails to use some automatic migration tools, you can perform the migration on your own, for example, create a virtual hard disk, add a partition table, copy the file system, reset grub, and modify several key files. Now the idea is to upgrade RedHat 7.3 to CentOS 3.1 and try again with VMware Converter. If this is not successful, you can only manually virtualize the physical machine. Back up the system before the upgrade (dd hard disk after the available Cd is started to another hard disk) to prevent the system from starting after the upgrade fails or the key program cannot run after the upgrade. Before the upgrade, you are not sure whether the large-span upgrade from RedHat 7.3 to CentOS 3.1 can be successful. It is necessary to record it.

Log on to RedHat 7.3 and install yum:

# wget http://ftp.ie.freshrpms.net/pub/freshrpms/redhat/7.3/yum/yum-1.0.3-3.rh.fr.i386.rpm# rpm -ivh yum-1.0.3-3.rh.fr.i386.rpm

Edit yum. conf to join the source of centos 3.1:

# vi /etc/yum.conf[main]cachedir=/var/cache/yumdebuglevel=2logfile=/var/log/yum.logpkgpolicy=newestdistroverpkg=redhat-releaseinstallonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise kernel-debug kernel-unsupported kernel-smp-unsupported kernel-hugemem-unsupportedtolerant=1exactarch=1[base]name=CentOS-$releasever - Basebaseurl=http://centosa3.centos.org/centos-3/3.1/os/i386/gpgcheck=1#released updates[update]name=CentOS-$releasever - Updatesbaseurl=http://centosa3.centos.org/centos-3/3.1//updates/i386/gpgcheck=1#packages used/produced in the build but not released[addons]name=CentOS-$releasever - Addonsbaseurl=http://centosa3.centos.org/centos-3/3.1/addons/i386/gpgcheck=1#additional packages that may be useful[extras]name=CentOS-$releasever - Extrasbaseurl=http://centosa3.centos.org/centos-3/3.1/extras/i386/gpgcheck=1

After the system is upgraded, restart:

# yum update# yum upgrade# shutdown -r now

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.