Fedora 11 Upgrade Tutorial

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.

ADVERTISEMENTS

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.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
28 comments… add one
  • Steven Tuxfield Jun 10, 2009 @ 11:09

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

  • Shanyar Jun 10, 2009 @ 15:03

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

    • 🐧 nixCraft Jun 10, 2009 @ 15:05

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

  • Shanyar Jun 10, 2009 @ 15:47

    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.

  • Jaroslav Šmíd Jun 11, 2009 @ 7:47

    Check this “image review” of Fedora 11. It’s on czech linux server, but there is english text in images:

    http://www.abclinuxu.cz/blog/jarda_bloguje/2009/6/fedora-11-reloaded

    Comments are welcomed.

  • Suraj Nayak Jun 11, 2009 @ 10:31

    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.

    Thanks,

    Suraj Nayak

  • Shanyar Jun 11, 2009 @ 12:26

    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
    http://www.howtoforge.com/the-perfect-desktop-fedora-10

    regards
    Shanyar

  • Heklaz Jun 12, 2009 @ 10:32

    For yum(ex) to work it may be necessary to execute
    yum clean metadata

    Worked for me.

  • alireza sadeh Jun 13, 2009 @ 18:47

    hi everyone
    what is vty or screen session?how can i access that?thanks in advance

    • 🐧 nixCraft Jun 13, 2009 @ 19:31

      vty = terminal or console without GUI. Type init 3 at shell prompt to shutdown GUI.

  • Dave Miller Jun 14, 2009 @ 0:33

    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.

    Cheers,
    Dave

    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.

  • DC Jun 22, 2009 @ 10:39

    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.

  • marijuana5119 Jul 1, 2009 @ 0:45

    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??

  • Lin Goodwin Jul 3, 2009 @ 0:50

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

  • Aaron Wegner Jul 9, 2009 @ 15:12

    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

  • Aaron Wegner Jul 9, 2009 @ 19:17

    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).

  • sammi Jul 17, 2009 @ 20:29

    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.

    Sammi

  • Richard Powell Aug 4, 2009 @ 23:24

    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.

    Link

    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

  • Jwalant Natvarlal Soneji Aug 26, 2009 @ 13:08

    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.

  • Foolestroupe Sep 1, 2009 @ 14:26

    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!

  • Anders Sep 3, 2009 @ 19:52

    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 !

  • Nitish Varshney Sep 9, 2009 @ 8:02

    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.
    Thanks.

  • Jwalant Natvarlal Soneji Sep 10, 2009 @ 1:49

    @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.
    Thanks.

  • sundeep Sep 30, 2009 @ 8:59

    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?

  • chris Oct 16, 2009 @ 17:08

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

    @sundeep
    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:

    http://fedoraproject.org/wiki/YumUpgradeFaq

  • Nicolas Martinez Cano Oct 18, 2009 @ 15:57

    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
    Nicolas

  • hasan Oct 21, 2009 @ 15:33

    i m not abel to install fedora 11 they say oprating system not found.

  • otilrak Oct 19, 2011 @ 8:27

    is it the same procedure to upgrade from fedora 11 to fedora 15?

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.