Bug 749407

Summary: Anaconda will not upgrade F15->F16 on LVM
Product: [Fedora] Fedora Reporter: John Chivall <john>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: anaconda-maint-list, fredericg_99, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-27 02:09:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description John Chivall 2011-10-26 23:31:52 UTC
Description of problem:
I have an existing install of F15 which I want to upgrade to F16 Beta. Using both preupgrade and a DVD install, anaconda does not find the existing LVM system and thus will not upgrade. I have previously upgraded F13->F14 and previous versions on this LVM layout, although F15 was a fresh install into the existing LVM layout.

Version-Release number of selected component (if applicable):


How reproducible:
Every time!

Steps to Reproduce:
1. Run preupgrade
2. Reboot when asked
3. Wait for anaconda to load

or:
1. Boot from DVD install media
2. Wait for anaconda to start
Actual results:
"Upgrade root not found"
or
No option to upgrade, anaconda goes straight into fresh install mode

Expected results:
Anaconda finds the existing system and is able to upgrade it.

Additional info:
I can click through the install process and anaconda will happily find the LVs, which can be overwritten with a fresh install if I so wish. I want to upgrade though instead!

I have tried vgchange -ay and then mounting the LV containing the current install root to /mnt/sysimage. Restarting anaconda with the LVs mounted causes it to crash.

Comment 1 John Chivall 2011-10-26 23:43:49 UTC
Having seen Bug 748119 I think this might be because I have /var on a different LV to /

Can anaconda not find fstab from the existing install and use it to determine what to mount to find RPM db?

I will try to move /var/lib/rpm/* into the / partition and see if it works.

Comment 2 Chris Lumens 2011-10-27 02:09:18 UTC
If you have a separate /var, then yes this is definitely a dupe.

*** This bug has been marked as a duplicate of bug 748119 ***