From Fedora Project Wiki

Revision as of 07:15, 31 December 2009 by Rhe (talk | contribs) (Created page with '{{QA/Test_Case |description=This case tests upgrading a Fedora system from the current stable release ({{FedoraVersion|long}}) to the development release (Rawhide/{{FedoraVersion...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This case tests upgrading a Fedora system from the current stable release (Fedora 40) to the development release (Rawhide/Fedora 41) using PreUpgrade.

Note.png
Note
This test requires you to have a wired connection to the internet during the install.


How to test

  1. Perform an installation of the stable release (e.g. Fedora 40) with default partitioning (200MB for /boot).
  2. Create a file that takes up enough space that preupgrade cannot install stage2 now. That means we need to fill up 100MB. Here's how to do that as root:
    # dd if=/dev/zero of=/boot/preupgrade_filler bs=1M count=100
  3. Install the newest available version of Package-x-generic-16.pngpreupgrade.
  4. Run preupgrade from a command prompt or the Run Application dialog. Provide the requested password for root authorization.
  5. On the "Choose desired release" screen, enable "unstable test releases".
  6. Choose Rawhide from the list of available upgrade targets, then click Apply.
  7. During downloading, preupgrade should warn that there wasn't enough space to download install.img but it can be downloaded after reboot if you have a wired network connection. Click continue for that.
  8. When preupgrade is done don't reboot immediately. Instead, remove the /boot/preupgrade_filler file and make sure your computer is connected to the network via an ethernet cable.
    # rm /boot/preupgrade_filler
  9. Click reboot.

Expected Results

  1. The preupgrade utility will run to completion, without error.
  2. The users are prompted with a Not enough space to download install.img warning.
  3. The computer should boot into the installer, connect to the internet via the ethernet cable and start downloading the stage2 installer image.
  4. The system should be upgraded to new version without error.
  5. The opened terminal, file browser, or other system applications should display and work correctly.