Fedora 11 Upgrade Tutorial

last updated in Categories , , , , ,

I‘ve already got Fedora 10 and want to upgrade to Fedora 11. How do I upgrade my computer from Fedora Linux 10 to Fedora Linux 11?

Fedora 11 can be directly upgraded over the Internet using the various methods available. Backup all your data (/home and other directories), config file and sql files. Use tools such as rsync or tar to make backup to CD / DVD or other server.


Login as root user to perform upgrade.

WARNING! It is not possible to upgrade directly from Fedora 9 to Fedora 11. To upgrade Fedora 9 to Fedora 11, upgrade to Fedora 10 first. Make sure you backup imporant data before using the information provided below. Also, the yum update step should NOT be run inside a gnome / kdep desktop session/gnome-terminal. It could result in a unusable install when gnome-terminal segfaults during the upgrade. Update should be run in a vty, runlevel 3, or a screen session.

Apply Fedora 10 Patches and Software Updates

Type the following command to apply existing update:
# yum update rpm
# yum -y update
# yum clean all
Reboot the system if a new kernel installed for Fedora 10 (otherwise skip to next step):
# reboot

Upgrade Fedora 10 to Fedora 11

Type the following commands to perform actual upgrade:
# yum install preupgrade
# preupgrade

If you need GUI tool, enter:
# preupgrade-gui

How do I Upgrade Fedora 10 Server?

Backup everything and type the following commands as root user:
# yum -y update
# yum install preupgrade
# preupgrade-cli
# reboot

How Do I Upgrade Fedora 10 Using CD / DVD?

Apply existing patches to fedora 10:
# yum -y update

Backup all required data, config and sql files.

Insert CD / DVD into CDROM and reboot the system. Make sure BIOS is configured to boot from CD / DVD.

To perform an upgrade, select Perform an upgrade of an existing installation. Click Next when you are ready to begin your upgrade.


Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

28 comment

  1. This tutorial is great. I thought the only way was to upgrade Fedora 10 though DVD. Thanks.

  2. Hi!
    thanks for this tutorials. But my finishing upgrade process still not finished about 2 hours. ‘
    any idea why?

    1. Yes, depends upon your total installed software and Internet connection speed, it can take several hours to finish the same.

  3. It’s finished. Thanks anyway.

    But now fedora is not working perfect as before. It works very slowly f.eks. slow on moving mouse, open windows and somthing like that.

  4. Hi,
    I am a windows user and want to switch on Fedora. I want to use both windows and Fedora on my PC. But unable to do so. While installation process I deleted my D drive (18 GB) and tried to install fedora in D. But always it gave me no enough space . after 3 hours effort I fed up and I deleted all windows ntfs partition and installed fedora9. Here my question is how I install linux in any specific drive without deleting windows other partition like C, D, E. Please reply me soon.


    Suraj Nayak

  5. Jaroslav Šmíd: it’s nothing to do with my problems.

    Suraj Nayak:
    First you can do on windows is to make a partition for Linux with f.ex. partition magic. After that use DVD or CD to install Fedora.
    Important thing is: when you come to windows that says (installation requires partitioning of your hard drive. ….etc ), you must choose (Remove linux partition on selected drives ….etc). Then Fedora begin to install on your linux partition you created.
    But it’s always good idea to backup your data before installing any OS.

    This link is very usefull. It’s for fedora 10 but don’t worry its same for fedora 11


  6. I have Fedora on an external (USB) hard drive for use primarily with my laptop. The first part of the updates process (determine and download the files needed for the update) went off just fine. The reboot to the update kernel and the actual install was a problem.

    It seems the preupdate program decided to update the grub.conf on the external drive; not the grub.conf on the laptop’s internal hard disk hat actually controls how my laptop boots. Once I figured this out I tried just copying the grub.conf entry from the external disk to the internal drive but I got a succession of “Error 15: File not found” errors. The grubby command to add the new entry to the wrong grub.conf looked like:

    /sbin/grubby –title=”Upgrade to Fedora 11 (Leonidas)” –remove-kernel=”/boot/upgrade/vmlinuz” –add-kernel=”/boot/upgrade/vmlinuz” –initrd=”/boot/upgrade/initrd.img” –args=”preupgrade repo=hd::/var/cache/yum/preupgrade stage2=hd:UUID=4e0c941c-69ef-42f6-afa2-107c558fead6:/upgrade/install.img ks=hd:UUID=4e0c941c-69ef-42f6-afa2-107c558fead6:/upgrade/ks.cfg”

    The grub entry I finally ended up with that worked was:

    title Upgrade to Fedora 11 (Leonidas)
    kernel /vmlinuz preupgrade repo=hd:232029fe-c524-47b4-a5d6-d45c0ce7e56b:/var/cache/yum/preupgrade stage2=hd:UUID=4e0c941c-69ef-42f6-afa2-107c558fead6:/install.img ks=hd:UUID=4e0c941c-69ef-42f6-afa2-107c558fead6:/ks.cfg root=UUID=232029fe-c524-47b4-a5d6-d45c0ce7e56b
    root (hd1,0)
    initrd /initrd.img

    This was after I had moved the upgrade boot files into /boot to see if them being in a subdirectory was what was causing the problem (it wasn’t). The key turned out to be making sure I had the UUID of the correct partition as part of the file specification for each file. I’m guessing the the problem was that “repo=hd::/var/cache/yum/preupgrade” doesn’t specify the UUID of my partition that holds /var.

    The other changes I made to the grub.conf entry and boot setup (moving the files out of the upgrade subdirectory, adding both a root= specification to the kernel line in grub.conf and adding a root line to the entry) probably weren’t necessary. Unfortunately, now that my laptop’s FC-10 installation has been upgraded to FC-11, I don’t have a way to test backing out these changes.


    BTW, I found the easiest way to get the UUID for the partitions I needed was to just look in /etc/fstab since this is how they’re mounted.

  7. I have exactly the same problem with Shanyar . I think it has something to do with yum. I have this running /usr/bin/python/ / usr/share/PackageKit/helpers/yum/yum and if I try yum clean all I get a db error.

  8. hi…
    im new user to fedora or any linux version…i installed fedora core 11…after installation…i found that my network connection shown not connected even though i plug in the network cable…may i know how to enable the connection???
    can anyone help me??

  9. Saved me a lot of head aches. Was looking for cd/dvd upgrade and here is a scripting method. Thanks

  10. I had a problem with the preupgrade program because the grubby failed to update my grub.conf file. In my case I didn’t have a file /etc/grub.conf file.

    # grubby –info=ALL
    error opening /etc/grub.conf for read: No such file or directory

    If you launch preupgrade from a terminal you can see printouts in the background, and one of the final printouts is the grubby command that updates your grub.conf file. My last background printout that appears at the same time that the GUI prompts me to reboot is:

    DEBUG /sbin/grubby –title=”Upgrade to Fedora 11 (Leonidas)” –remove-kernel=”/boot/upgrade/vmlinuz” –add-kernel=”/boot/upgrade/vmlinuz” –initrd=”/boot/upgrade/initrd.img” –args=”preupgrade repo=hd::/var/cache/yum/preupgrade stage2=hd:UUID=8c2458eb-9a93-48f8-8abc-0c1c0b356d97:/boot/upgrade/install.img ks=hd:UUID=8c2458eb-9a93-48f8-8abc-0c1c0b356d97:/boot/upgrade/ks.cfg”

    So, if you have a grub.conf file in a nonstandard location, you can issue the command manually at the command line as such:

    # /sbin/grubby –title=”Upgrade to Fedora 11 (Leonidas)” –remove-kernel=”/boot/upgrade/vmlinuz” –add-kernel=”/boot/upgrade/vmlinuz” –initrd=”/boot/upgrade/initrd.img” –args=”preupgrade repo=hd::/var/cache/yum/preupgrade stage2=hd:UUID=8c2458eb-9a93-48f8-8abc-0c1c0b356d97:/boot/upgrade/install.img ks=hd:UUID=8c2458eb-9a93-48f8-8abc-0c1c0b356d97:/boot/upgrade/ks.cfg” –config-file=/boot/grub/grub.conf

    You will have to replace the UUID value with the particular values of the partitions of your system that contain the /boot and /var directories. In my case the same partition contains the /boot and /var directories, so my repo argument is set to “hd:: …”, but you can put the UUID of your partition containing the /var directory between the colons “::” if that is different than the one containing your /boot directory. You can look in your /etc/fstab file for this, or use a command like:

    # /lib/udev/vol_id /dev/sda1

  11. I just want to add that the grubby command from above did not add the line to set GRUB’s root device. I had to add

    root (hd1,0)

    just below the “Fedora 11” title line to boot into the upgrade, which is the first partition of the second hard drive. Edit your grub.conf file and copy the root line from the configuration you were booting. Also, if you are having trouble copying and pasting the grubby command from above in your terminal, note that the double quotes are not the standard double quote character, and that the long dash character before the grubby options should actually be two short dashes (standard long options).

  12. you can install virtulabox on your pc, and then setup fedora as the guest OS. I’m using virtualbox on vista and use wireless network. fedora works perfect for me.


  13. Dave Miller’s post at least got me on the correct path. Though I had to manually code in the IP address to fix this problem for myself. Details of the fix can be found can be found at the following location.


    Had to add the following parameters to the grub.conf configuration.
    ksdevice=eth0 ip=xx.xxx.xx.xx netmask=xxx.xxx.xxx.x gateway=xx.xxx.xxx.xx

  14. To call the Upgrade GUI, just type “preupgrade” in your terminal. And the GUI will start with some status messages flowing on the terminal screen as well.

  15. Attempting to go from F10 (which installed without a hitch from the Live CD) to F11 (via Live CD) on a IBM T23 laptop is frustrating – it trashes the HD – and crashes with errors saying that the file system is not there! (I can’t save the bugfix file!) – it seems that anaconda has errors when trying to umount the now non-existent / filesystem!

  16. Just upgraded from Fedora 9 to Fedora 11 via xterm in Gnome Desktop, just by typing

    # yum install preupgrade
    # preupgrade

    It took about 1½ hour, everything still working !

  17. Sir,
    Does this work if fedora 10 is not connected to server. problem is that I am utilizing dual boot with fedora 10 and windows XP. My BSNL network works on windows but can’t detect network on fedora. So, please tell me a way by which I can upgrade to fedora 11 without connecting through net.

  18. @Nitish Varshney,
    Unless you have setup disk or the image is stored on the machine, the machine has to be connected to internet. And it downloads around 2GB of data from internet for this auto-upgrade.
    If its a BSNL will limited speed and limited download capacity connection, then please achieve the installation disk from somewhere and then proceed with normal installation by booting the machine with that disk.

  19. Hi do you have any idea, how to upgrade fedora 5 to the fedora 11 version? I don’t want to overwrite the ‘ / ‘ partition. I just want to upgrade everything else. Is it possible via a fedora 11 live cd?

  20. @Dave Miller
    you can also use blkid to list all the disk UUIDs.

    You should not upgrade from Fedora 5 to Fedora 11. Fedora 11 has changes in the rpmlibs that require you to upgrade to Fedora 10 first, and update Fedora 10 (or at least rpm and associated libs) before attempting an upgrade to Fedora 11.

    There’s a great breakdown of caveats with upgrades for specific versions here:


  21. I installed fedora 11 and centos 4 on two discs. When you install the second OS startup crushes first and not let him start. Where should I put the grub to work.
    Thank you very much

    Still, have a question? Get help on our forum!