Upgrading a Dual-boot Fedora and other Operating System

This entry is part 3 of 3 in the series Upgrading Fedora

This article will cover the steps for upgrading a dual-boot Fedora/other operating system (in my case Ubuntu and Windows Vista), where the other operating system handles the GRUB Bootloader. As always the first thing you should do is back up everything. This protects you from losing your data, in case something goes wrong. Because I’ll be doing this on a live system, I won’t have screenshots for the process. However the steps and images should be the similar to a single boot installation. Because this is more complicated than a single-boot installation, I won’t go into any steps for upgrading a pre-Fedora 18 system (although it should work with Fedora 17 also). Personally I think if you’re using anything older than Fedora 16, you’re most likely better off doing a clean installation than an upgrade. But if you want to do an upgrade, you *should* be able to follow the steps for upgrading to Fedora 17/18 using pre-upgrade. But you’re doing this at your own risk.

In my particular case, the steps to upgrade follow these:

Boot into the Fedora 18 partition, and login as root (or use su).

Upgrade rpm as per the single-boot instructions

yum update rpm

Update the entire system, as per the single-boot instructions

yum -y update

Clean the yum cache, as per the single-boot instructions

yum clean all

Reboot, and check your GRUB to see if it includes the “System Upgrade (fedup)” option. If so, follow the single-boot instructions. If not, then follow these steps:

Boot into the operating system that handles GRUB (in my case Ubuntu).

Open a terminal.

If you’re using Ubuntu, you’ll update grub with sudo update-grub, otherwise you’ll follow the steps for whatever distribution you’re using.

Reboot and check GRUB to see if it includes the “System Upgrade (fedup)” option. If so, choose that. If not, repeat the above steps.

After the upgrade, the computer will reboot (at least it happened in my case). Check your GRUB to see if it’s updated for Fedora 19. If not, then you’ll have to boot into the operating system that handles GRUB and update it again.

Now you’ll be able to reboot into Fedora 19 or your other operating system(s).

Upgrading a Single Boot Installation of Fedora

This entry is part 2 of 3 in the series Upgrading Fedora

This article will cover the steps involved with upgrading a single boot installation of Fedora to Fedora 19. If you’re running an older version (pre- Fedora 17), you’ll have to upgrade to either Fedora 17 or Fedora 18 before you can upgrade to Fedora 19. The easiest way of doing that is with pre-upgrade (which will allow you to upgrade to Fedora 17 only) and then following these steps to upgrade using FedUp (the Fedora Update Manager).

If you’re running Fedora 17 or Fedora 18, these steps are for you. All of these steps are done using the root (or su) account. You can either do them from a text console (CTRL+Alt+F2 through F7) or from inside of Terminal in the desktop.

Step 1:

First you need to make sure that you have the latest version of rpm installed. You can do this by running

yum update rpm

Next you’ll want to do a complete update of your system. The easiest way to do this is with

yum -y update

(the -y bypasses it asking you if you want to update–assume “yes”). Check the list of updates after it’s completed to determine whether you have a new kernel or not.

After the update is complete, you’ll clean the yum cache using

yum clean all

If you had a new kernel in the list of updates, you’ll want to reboot and then login as root/su again.

reboot

After you’ve rebooted/cleaned the cache you need to install the FedUp package

yum install fedup

You’ll want at least 4 GB of free space available on your / drive. If you need to clear space do so before you start the upgrade.

When you start the upgrade, you can either use the network or iso method (network is preferred as it gets you all of the updates in one shot). To use the network option, you type

fedup-cli –network 19 (that should be two dashes – – not one long hyphen)

First, fedup will install it’s repositories and download it’s kernel images (vmlinuz-fedup and intramfs-fedup), and then it will check the updates needed. It will download these updates (I had 1,293 listed plus others afterwards) and prepare everything for the upgrade. One thing it does is change the GRUB listing to include the System Upgrade (fedup) option. When it’s ready to go, you’ll be prompted to reboot the system again. You’ll choose the System Upgrade (fedup) option to start the actual upgrade.

fedup-upgrade-19-startfedup-upgrade-19-downloading

 

 Downloading Updates Screen

  fedup-upgrade-19-ready

Ready for Reboot Screen

fedup-upgrade-19-grub

GRUB Bootloader Screen

fedup-upgrade-19-upgrading

The Upgrade Screen

 

The upgrade consists of both a graphical upgrade screen (the “f” with a progress bar) and a text-based upgrade screen (showing everything that’s happening). When it’s completed, you’ll be presented with the Fedora 19 login screen.

Upgrading to Fedora 19

This entry is part 1 of 3 in the series Upgrading Fedora

Recently I wrote an article about installing Fedora 19 on a computer. This series of posts will cover the upgrading procedures for Fedora 19. Specifically, I’m going to cover upgrading a single-boot installation of Fedora 18 to Fedora 19 using fedup (the Fedora Updater), and upgrading both a dual-boot installation with Ubuntu–where both Fedora and Ubuntu handle the bootloader (two separate articles). In theory the installation should be the same either way. But in reality, depending on which operating system handles GRUB, there might be more steps involved.

Unlike the earlier installation guide, I won’t include screenshots in this guide. This is because most of the steps will be done through the command line, or through fedup. The command line (yum) will handle everything in the typical fashion that yum does things. FedUp may have GUI dialog boxes, but they probably won’t be as intensive as the full-installation is. If I find that they are, I’ll include some screenshots.

*** Originally I was going to show how to upgrading using yum, but in reading about the method, I found that the Fedora project doesn’t support it. If you absolutely must use yum to upgrade, here is the fedora document for that.