Upgrading Fedora sans DVD

The Fedora LiveCD image is pretty cool for new installations but as I’ve discovered, not much good for upgrading an existing Fedora. Fedora’s done away with the CD ISO images (probably a good thing, since Fedora 6 consisted of 5 CD ISO images) and only makes DVD images available now. Since my desktop doesn’t have a DVD burner or reader, I thought I was going to be stuck. After doing a bit of research and experimenting, I’ve come up with a procedure that let me upgrade my desktop from Fedora 8 Test 2 to Test 3 that seems to have worked. It’s based on this message from fedora-list.

Disclaimer: The following steps worked fine for me on my system. Since it was a relatively minor upgrade from one test version to another, I’ve encountered very little breakage (so far). You may have to adjust things a little to get it to work on yours. YMMV.

  1. Download the Fedora ISO for your architecture
  2. Mount the ISO using the loopback device:
    mount iso_filename /mnt/Fedora -t iso9660 -o loop
    replacing iso_filename with the filename of the Fedora ISO you just downloaded
  3. Create the directory /boot/Fedora and copy the contents of /mnt/Fedora/isolinux there
  4. Add the following to /etc/grub.conf (add it to the end of the file):
    title Fedora
    root (hd0,0)
    kernel /Fedora/vmlinuz
    initrd /Fedora/initrd.img
    
  5. Copy the ISO image to another computer and mount it to some location as in Step 2 (I used Fedora in my home directory). I had to do this step because I couldn’t get the upgrade process to find the DVD image on the local hard drive. I think it may have had to do with the image being on an LVM partition. If you don’t have any LVM partitions, you may be able to skip this step.
  6. Create an NFS export for the mounted Fedora image you just created.
  7. Reboot and select the Fedora boot profile. If all goes well, the computer should boot up using the new Fedora image and the upgrade process should kick off.
  8. Follow the prompts to the point where it asks where the Fedora disk image is
  9. Select the NFS option and provide the host and full path information to where you mounted the ISO on the remote computer (from Step 5).
  10. At this point the upgrade should proceed as if you were upgrading from a physical DVD

If anybody knows a better way, feel free to enlighten me.


Discover more from Imablog

Subscribe to get the latest posts sent to your email.

2 Replies to “Upgrading Fedora sans DVD”

  1. Nice workaround. Wonder if it works for upgrading most distros here?
    Ugh. Five CD’s for the “old” version? What could they be thinking of? You’re not gonna separate me from my penguin (I’m partial to Slack variations; Zenwalk and Vector), but I’m still wondering why on God’s green earth you need that big an .iso? I can see it if the “core” install is down to one CD and the rest are optional packages, but if I remember my forays into Fedora (versions 1 & 2), I don’t think so.

  2. Should work just fine for other Linux distros. Aside from the directory names I used, there’s nothing that’s specific to Fedora AFAIK.
    The Fedora DVD distro comes in at right around 3 GB and is fairly self contained with just about all the packages most people would want to install.
    The LiveCD version is more compact and contains just the essentials, but you can’t upgrade an existing Fedora install with it (for whatever reason).
    I’ve since used this procedure to upgrade a Fedora 7 install, which went very well.

Comments are closed.