Excerpt from Fedora16 upgrade to Fedora17

Source: Internet
Author: User
The upgrade method from Fedora16 to Fedora17 is slightly different from the previous version. If you are not familiar with Linux, be sure to upgrade with caution. Reference document: http://fedoraproject.org/wiki/Upgrading_Fedora_using_yum#Fedora_16_-.3E_Fedora_17 (1) Import gpg key rpm -- importhttps: // fedoraproject.org/s

The upgrade method from Fedora 16 to Fedora 17 is slightly different from the previous version. If you are not familiar with Linux, be sure to upgrade with caution.

Reference: http://fedoraproject.org/wiki/Upgrading_Fedora_using_yum#Fedora_16_-.3E_Fedora_17

(1) import the gpg key

Rpm -- import https://fedoraproject.org/static/1ACA3465.txt

(2) install and update dracut

Yum update dracut

(3) convert existing file systems

dracut --force --add convertfs

(4) Modify/etc/grub2.cfg

Cp/etc/grub2.cfg/etc/grub2.cfg. bak

Addrw rd.info rd.convertfs enforcing=0Option and delete the ro rhgb Option

(5) restart and check whether the following directories are links to ensure that the fracut conversion is successful (this step is very important. If the conversion is not successful, the update will be tragic)

/Bin →/usr/bin

/Sbin →/usr/sbin

/Lib →/usr/lib

/Lib64 →/usr/lib64

Check the log:

# Dmesg | grep dracut

(6) update now

# Yum -- releasever = 17 update rpm # rm-f/var/lib/rpm/_ * # rpm -- rebuilddb # yum -- releasever = 17 -- disableplugin = presto distro-sync # fixfiles onboot

In case of a conflict, you can delete these packages before upgrading. Downloading a software package requires 3-4 GB disk space.

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.