From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
|actions= | |actions= | ||
# Perform an installation of the stable release (e.g. {{FedoraVersion|long}}) with default partitioning (200MB for <code>/boot</code>). | # Perform an installation of the stable release (e.g. {{FedoraVersion|long}}) with default partitioning (200MB for <code>/boot</code>). | ||
# Create a file that takes up enough space that preupgrade cannot download install.img now. That means we need to fill up | # Create a file that takes up enough space that preupgrade cannot download install.img now. That means we need to fill up 170MB. Here's how to do that as root: | ||
#:<pre> | #:<pre> | ||
#: # dd if=/dev/zero of=/boot/preupgrade_filler bs=1M count= | #: # dd if=/dev/zero of=/boot/preupgrade_filler bs=1M count=170 | ||
#:</pre> | #:</pre> | ||
# Install the newest available version of {{package|preupgrade}}. | # Install the newest available version of {{package|preupgrade}}. | ||
Line 12: | Line 12: | ||
# 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''. | ||
# During downloading, preupgrade should warn that failed to download installer data. Click ''quit'' for that. | |||
# Replace /boot/preupgrade_filler by 100MB: | |||
#:<pre> | |||
#: # dd if=/dev/zero of=/boot/preupgrade_filler bs=1M count=100 | |||
#:</pre> | |||
# 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. | # 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. | ||
# 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. | # 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. |
Revision as of 08:30, 6 January 2010
Description
This case tests upgrading a Fedora system from the current stable release (Fedora 40) to the development release (Rawhide/Fedora 41) using PreUpgrade.
How to test
- Perform an installation of the stable release (e.g. Fedora 40) with default partitioning (200MB for
/boot
). - Create a file that takes up enough space that preupgrade cannot download install.img now. That means we need to fill up 170MB. Here's how to do that as root:
- # dd if=/dev/zero of=/boot/preupgrade_filler bs=1M count=170
- Install the newest available version of
preupgrade
. - Run
preupgrade
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".
- Choose Rawhide from the list of available upgrade targets, then click Apply.
- During downloading, preupgrade should warn that failed to download installer data. Click quit for that.
- Replace /boot/preupgrade_filler by 100MB:
- # dd if=/dev/zero of=/boot/preupgrade_filler bs=1M count=100
- 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.
- 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
- Click reboot.
Expected Results
- The preupgrade utility will run to completion, without error.
- The users are prompted with a Not enough space to download install.img warning.
- The computer should boot into the installer, connect to the internet via the ethernet cable and start downloading the stage2 installer image.
- The system should be upgraded to new version without error.
- The opened terminal, file browser, or other system applications should display and work correctly.