From Fedora Project Wiki

(Created page with '{{QA/Test_Case |description=This test verifies upgrading a Fedora system from the current stable release ({{FedoraVersion|long}}) to the development release (Rawhide/{{FedoraVers...')
 
(Blanked the page)
 
Line 1: Line 1:
{{QA/Test_Case
 
|description=This test verifies upgrading a Fedora system from the current stable release ({{FedoraVersion|long}}) to the development release (Rawhide/{{FedoraVersion|long|next}}) using [[PreUpgrade]].  Verification will confirm that {{command||preupgrade}} is able to detect and recover from 2 low disk space conditions:
# Insufficient disk space on {{filename|/boot}} partition for the installer files {{filename|vmlinuz}}, {{filename|initrd.img}} and {{filename|install.img}}
# Insufficient disk space on {{filename|/boot}} partition for the installer file {{filename|install.img}}
{{admon/note|Note|This test requires you to have a wired connection to the internet during the install.}}
|actions=
# Perform an installation of the current stable release (e.g. {{FedoraVersion|long}}) with default partitioning (200MB for {{filename|/boot}}).
# Create a file that takes up enough space that there is insufficient remaining disk space for preupgrade to download kernel and initrd.img. That means we need to fill up /boot.  Here's how to do that as root:
#:<pre>
#: # dd if=/dev/zero of=/boot/preupgrade_filler bs=1M count=170
#:</pre>
# Install the newest available version of {{package|preupgrade}}.
# Run {{command|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''.
# While downloading, preupgrade should warn that it '''failed''' to download installer data. Click ''quit'' for that.
# Next, change the amount of available disk space on the {{filename|/boot}} partition by reducing the size of the {{filename|/boot/preupgrade_filler}} file to 100MB.  This should leave sufficient room for preupgrade to download the {{filename|kernel}} and {{filename|initrd.img}} but not enough room to download {{filename|install.img}}.  Once again, use the {{command|dd}} command:
#:<pre>
#: # dd if=/dev/zero of=/boot/preupgrade_filler bs=1M count=100
#:</pre>
# Re-run {{command|preupgrade}}.  When prompted, click ''Yes'' to resume your upgrade.
# While 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.
#:<pre>
#: # rm /boot/preupgrade_filler
#:</pre>
# Click ''reboot''.
|results=
# At first time, the preupgrade utility will fail to download installer data and be unable to proceed.
# At second time, preupgrade will offer to resume the previous upgrade attempt.  Additionally, the user is prompted with a warning indicating ''Not enough space to download install.img''.  Preupgrade will allow the update to continue.
# After reboot, the system should boot into the installer, connect to the internet and begin downloading the stage2 installer image. 
# The system should be upgraded to new version without error.
# After upgrade, a user must be able to:
## Login to the desktop
## Activate a network connection
## The default terminal and web browsers must start successfully
}}
[[Category:Upgrade_system]]

Latest revision as of 07:31, 7 January 2010