From Fedora Project Wiki

No edit summary
No edit summary
Line 7: Line 7:
<pre>
<pre>
# dd if=/dev/zero of=/boot/preupgrade_filler bs=1M count=100
# dd if=/dev/zero of=/boot/preupgrade_filler bs=1M count=100
</pre>https://fedoraproject.org/wiki/How_to_use_PreUpgrade#Troubleshooting
</pre>
# Install the newest available version of {{package|preupgrade}}.
# Install the newest available version of {{package|preupgrade}}.
# Run <code>preupgrade</code> from a command prompt or the ''Run Application'' dialog. Provide the requested password for root authorization.
# Run <code>preupgrade</code> from a command prompt or the ''Run Application'' dialog. Provide the requested password for root authorization.
# On the "Choose desired release" screen, enable "unstable test releases".
# On the "Choose desired release" screen, enable "unstable test releases".
# Choose ''Rawhide'' from the list of available upgrade targets, then click ''Apply''.
# Choose ''Rawhide'' from the list of available upgrade targets, then click ''Apply''.
# Preupgrade will present a warning dialog noting that additional disk space in {{filename|/boot}} is required to complete the upgrade process. Remove older kernels by consulting the instructions at [[How_to_use_PreUpgrade#Troubleshooting]] to free more space in /boot], then click ''Check again''  
# Before downloading packages, preupgrade should warn that there wasn't enough room to download part of the installer but it can download it after reboot if you have a wired connection to the network. Click ''continue'' for that.
# 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. Then you can reboot.
# 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.
<pre>
<pre>
# rm /boot/preupgrade_filler
# rm /boot/preupgrade_filler
</pre>
</pre>
# Click ''reboot''.
# The computer should boot into the installer, connect to the internet via the ethernet cable and start downloading the stage2 installer image.  Then it should continue upgrading as normal.
# The computer should boot into the installer, connect to the internet via the ethernet cable and start downloading the stage2 installer image.  Then it should continue upgrading as normal.
|results=
|results=
# The preupgrade utility will run to completion, without error.
# The preupgrade utility will run to completion, without error.
# The users are prompted with a ''low disk-space'' warning.
# The users are prompted with a ''low disk-space to download'' warning.
# Removing older kernels allows the upgrade to proceed beyond the ''low disk-space'' warning.
# Removing /boot/preupgrade_filler allows the upgrade to proceed beyond the warning.
# The system should be upgraded to new version without error.
# The system should be upgraded to new version without error.
# The opened terminal, file browser, or other system applications should display and work correctly.
# The opened terminal, file browser, or other system applications should display and work correctly.
}}
}}
[[Category:Upgrade_system]]
[[Category:Upgrade_system]]

Revision as of 02:30, 29 December 2009

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 decides it cannot install stage2 now. For the example filesystem, 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
  1. Install the newest available version of Package-x-generic-16.pngpreupgrade.
  2. Run preupgrade from a command prompt or the Run Application dialog. Provide the requested password for root authorization.
  3. On the "Choose desired release" screen, enable "unstable test releases".
  4. Choose Rawhide from the list of available upgrade targets, then click Apply.
  5. Before downloading packages, preupgrade should warn that there wasn't enough room to download part of the installer but it can download it after reboot if you have a wired connection to the network. Click continue for that.
  6. 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
  1. Click reboot.
  2. The computer should boot into the installer, connect to the internet via the ethernet cable and start downloading the stage2 installer image. Then it should continue upgrading as normal.

Expected Results

  1. The preupgrade utility will run to completion, without error.
  2. The users are prompted with a low disk-space to download warning.
  3. Removing /boot/preupgrade_filler allows the upgrade to proceed beyond the warning.
  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.