Fedora Linux Support Community & Resources Center
  #1  
Old 21st June 2012, 10:10 PM
AndyW Offline
Registered User
 
Join Date: Nov 2008
Location: London
Posts: 32
linuxfirefox
FC17 x86_64 install DVD doesn't recognise existing FC16 following /usr-move failure

I am trying to upgrade from FC16 to F17 using the x86_64 DVD. CPU is AMD FX-6100, M/b Gigabyte GA-970A-DS3.

First time round /usr-move failed due to lack of free space on /usr, which is on a separate partition to /. Now when I re-run the install it fails to recognise the existing FC16 installation. Both the FC16 and FC17 Live CDs can recognise it and boot from HDD, and the FC16 install DVD also recognises it.

Following the failure of /usr-move I had to edit grub.cfg, as it had managed to get as far as moving /sbin/init to /usr. I posted that saga here http://forums.fedoraforum.org/showthread.php?t=280880 but have started a new thread is it appears to be a different issue now. The system boots to FC16 without problem. There is no dual-boot, disk encryption or anything else odd - apart from the fact that there are separate partitions for /, /usr, /var and /usr/local. However this has never caused a problem with previous upgrades, and the FC17 upgrade started off OK first time round.

The only material differences from first time are the necessary changes to grub.cfg to get the system to boot, and the changed space utilisation in / and /usr. I am aware I still need to resize /usr, but if the installer is checking that I would expect an error message of some kind rather than for it to completely ignore the existing installation. Is there anything else the FC17 installer might check for?

NB: The symptoms are similar to #748119 on FC16 https://bugzilla.redhat.com/show_bug.cgi?id=748119 due to /var being on a separate partition to /, though the workaround for that is still in place on the system.
__________________
Gigabyte GA-970A-DS3 - AMD FX-6100 - 2 x 2GB PC6400 - Asus Radeon HD 4670 - Hauppauge WinTV Go! BT878 - Hauppauge HVR-2200

Last edited by AndyW; 22nd June 2012 at 12:46 AM.
Reply With Quote
  #2  
Old 24th June 2012, 10:08 AM
AndyW Offline
Registered User
 
Join Date: Nov 2008
Location: London
Posts: 32
linuxfedorafirefox
Re: FC17 x86_64 install DVD doesn't recognise existing FC16 following /usr-move failu

UPDATE: I re-sized partitions to add free space on /usr, and completed the /usr-move separately using Dracut, following the procedure here:- http://fedoraproject.org/wiki/Upgrad...-.3E_Fedora_17 - it looks like /usr-move had pretty much finished anyway when it ran first time from the Anaconda installer.

Still no luck...could it be that Anaconda will only recognise an installation that hasn't had /usr-move applied - in which case will changing the new symlinks back into real directories (albeit empty ones) fool it back into action?
__________________
Gigabyte GA-970A-DS3 - AMD FX-6100 - 2 x 2GB PC6400 - Asus Radeon HD 4670 - Hauppauge WinTV Go! BT878 - Hauppauge HVR-2200
Reply With Quote
  #3  
Old 28th June 2012, 07:03 AM
AndyW Offline
Registered User
 
Join Date: Nov 2008
Location: London
Posts: 32
linuxfirefox
Re: FC17 x86_64 install DVD doesn't recognise existing FC16 following /usr-move failu

Reported as bug #835307 https://bugzilla.redhat.com/show_bug.cgi?id=835307.

Also attached /tmp/anaconda.log, /tmp/storage.log and /tmp/program.log from a typical upgrade attempt. Maybe someone can advise what to look for in those?
Attached Files
File Type: log anaconda.log (5.2 KB, 97 views)
File Type: log program.log (77.6 KB, 88 views)
File Type: log storage.log (138.6 KB, 98 views)
__________________
Gigabyte GA-970A-DS3 - AMD FX-6100 - 2 x 2GB PC6400 - Asus Radeon HD 4670 - Hauppauge WinTV Go! BT878 - Hauppauge HVR-2200
Reply With Quote
  #4  
Old 9th July 2012, 12:15 AM
AndyW Offline
Registered User
 
Join Date: Nov 2008
Location: London
Posts: 32
linuxfirefox
Re: FC17 x86_64 install DVD doesn't recognise existing FC16 following /usr-move failu

I noticed that anaconda.log has the following lines for FC17 upgrade but not for FC16
Code:
22:04:48,984 DEBUG anaconda: isys.py:mount()- going to mount /dev/mapper/VolGroup00-LogVol00 on /mnt/sysimage as ext3 with options ro
22:04:49,026 ERR anaconda: Error running arch: No such file or directory
22:04:49,035 DEBUG anaconda: isys.py:umount()- going to unmount /mnt/sysimage, removeDir = False
It looks like this suggestion https://bugzilla.redhat.com/show_bug.cgi?id=748119#c51 to use /bin/arch to determine system architecture (instead of examining RPM database) has been implemented in Anaconda.

Of course, as /usr-move has completed so /bin is now a symlink to /usr/bin, and as /usr is on a separate partition, Anaconda can't find arch when just / is mounted.... I have tried both replacing the symlink with a real directory containing a copy of arch, and creating a real bin directory (also containing a copy of arch) under the /usr mountpoint - both without success, as anaconda.log contains the same error message. This could be because other dependencies are missing, even though /bin/arch is accessible.

I tried adding
Quote:
inst.upgradeany
to the kernel boot parameters line (not sure where else I could put this?) which is supposed to skip these checks, but makes no difference - I still get the same error line.

So I guess my question now is, is it impossible to upgrade to upgrade to FC17 if both (a) /usr-move has completed and (b) /usr is on a separate partition?

Andrew
__________________
Gigabyte GA-970A-DS3 - AMD FX-6100 - 2 x 2GB PC6400 - Asus Radeon HD 4670 - Hauppauge WinTV Go! BT878 - Hauppauge HVR-2200

Last edited by AndyW; 9th July 2012 at 12:38 AM. Reason: Added inst.upgradeany info
Reply With Quote
  #5  
Old 9th July 2012, 04:22 AM
jlpierce Offline
Registered User
 
Join Date: Jul 2012
Location: Pekin, Indiana
Posts: 85
linuxopera
Re: FC17 x86_64 install DVD doesn't recognise existing FC16 following /usr-move failu

Quote:
Originally Posted by AndyW View Post

So I guess my question now is, is it impossible to upgrade to upgrade to FC17 if both (a) /usr-move has completed and (b) /usr is on a separate partition?

Andrew
I cannot attest to the /usr-move part, but I can attest to the /usr separate partition aspect. I traditionally had /usr on a separate partition and I had to delete it and merge the space into the / partition before a clean install would work.

Based on that, I would speculate that an upgrade would fail under that condition as well. According to what I read it is necessary for /usr to be on the / when mounted to proceed with proper boot operations.

YMMV here though.
Reply With Quote
  #6  
Old 9th July 2012, 08:17 AM
AndyW Offline
Registered User
 
Join Date: Nov 2008
Location: London
Posts: 32
linuxfedorafirefox
Re: FC17 x86_64 install DVD doesn't recognise existing FC16 following /usr-move failu

After /usr-move did its stuff I had to edit the kernel boot parameters so it could "see" the /usr partition. However the background info on /usr-move says that it facilitates having a separate /usr, which I can appreciate. While I wouldn't put /usr on a separate partition if doing it again, I don't seee anything saying it absolutely can't be done.

As it is possible to carry out /usr-move independently using dracut it is far from impossible that someone could be upgrading 16 -> 17 on a /usr-moved system.
__________________
Gigabyte GA-970A-DS3 - AMD FX-6100 - 2 x 2GB PC6400 - Asus Radeon HD 4670 - Hauppauge WinTV Go! BT878 - Hauppauge HVR-2200
Reply With Quote
Reply

Tags
dvd, existing, failure, fc16, fc17, install, or usrmove, recognise, x8664

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
netsniff-ng error on preupgrade fc16 to fc17 xenotrax Using Fedora 1 21st June 2012 06:32 PM
Fedora installer doesn't recognise existing partitions OtterNZ Installation, Upgrades and Live Media 4 11th June 2012 03:34 AM
Fresh FC17 Install : gnome_control_control-center-3.4.2-1.fc17.i686 CORE DUMP reflex Installation, Upgrades and Live Media 1 2nd June 2012 03:05 AM
[SOLVED] Missing kernel release for kmod-nvidia-3.2.6-3.fc16.x86_64-290.10-1.fc16.14.x86_64 d4v1dv00 Using Fedora 2 16th February 2012 01:12 AM
F11 x86_64 DVD install crashes with existing LVM gogalago Installation, Upgrades and Live Media 9 28th June 2009 07:00 PM


Current GMT-time: 19:12 (Tuesday, 22-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat