- Method 1)
- The command is as follows:
# yum install fedup# fedup-cli --network 18 --debuglog fedupdebug.log
The root permission is enabled.
- Restart After the upgrade.
- After the restart, an additional "system upgrade (fedup)" (similar) option will be displayed, and automatic installation will start,
- After entering the new system, yum upgrade
- The command is as follows:
# yum clean metadata# yum update
-
- If there is a file conflict, You can first uninstall the original, I encountered a situation is a mono * file conflicts with the mono-core.xxx.fc18 to install, the original software will be uninstalled, but the software dependent on it will also be uninstalled. It is best to remember that it will be installed later.
- If you encounter a broken, you can add the option -- skip-broken to skip it and it may be repaired later.
- Restart the instance.
- Because grub has been upgraded in the previous step and grub2 is added, you can see the option fc6. However, based on your personal experience, you may not be able to enter the system interface, and you can click e to edit this option, there may be such a statement:
linux /vmlinuz-3.7.2-201.fc18.x86_64 root=/dev/mapper/vg_peter--fedora-lv_root ro rd.md=0 rd.dm=0 rd.lvm.lv=vg_peter-fedora/lv_root rd.lvm.lv=vg_peter-fedora/lv_swap KEYTABLE=us rd.luks=0 SYSFONT=True LANG=en_US.UTF-8 rhgb quiet upgrade systemd.unit=system-upgrade.target plymouth.splash=fedup
The content starting from 'upgrade systemd. 'To the end is deleted before the system can be normally accessed. Otherwise, the system will remain stuck on the icon breathing interface and the system will not be accessible. Last content:
linux /vmlinuz-3.7.2-204.fc18.x86_64 root=/dev/mapper/vg_peter--fedora-lv_root ro rd.md=0 rd.dm=0 rd.lvm.lv=vg_peter-fedora/lv_root rd.lvm.lv=vg_peter-fedora/lv_swap rd.luks=0 LANG=en_US.UTF-8 rhgb quiet
- To completely solve this problem, you can first select a system that can be accessed, such as the fc17 option, and then modify the file:/boot/grub2/grub. in CFG, you can find each option that appears in grub and directly modify the corresponding part. You can enter the option next time you start the system.
PS:
- If you want to put the file or application icon on the desktop, install gnome-tweak-tool, and then run the command in the command line, select the file or application icon in the "desktop" column.
Merge into method (2)
Upgrade by using the downloaded ISO file
Go to the official website to download the ISO ora 18 ISO file to your computer, Link (Netease open source image: http://mirrors.163.com/fedora/releases/18/Fedora/i386/iso)
Then run the following command on the terminal:
Sudo fedup-cli -- ISO/home/user/fedora-18.iso -- debuglog = fedupdebug. Log
Next time. Wait until the upgrade is completed.
Reference: http://linux.cn/thread/9957/1/1/