Fedora Linux Support Community & Resources Center
  #1  
Old 9th June 2012, 01:51 AM
AndyW Offline
Registered User
 
Join Date: Nov 2008
Location: London
Posts: 27
linuxfedorafirefox
Unhappy Major problem with upgrade to F17

I have just tried upgrading to F17 x86_64. CPU is AMD FX-6100, M/b Gigabyte GA-970A-DS3.

The installer failed due to lack of space on /usr. Now when I try to boot on previous F16 (kernel 3.3.7-1) or any earlier kernel I get the following after
Quote:
Loading initial ramdisk...
Code:
switch_root: failed to execute /etc/init: Permission denied
     Kernel panic - not syncing: Attempted to kill init!     
     Pid: 1, comm: switch_root Not tainted 3.3.7-1.fc16.x86_64 #1
If I boot into rescue mode from the install DVD I am told "You don't have any Linux partitions", and if I go straight into the installer again it fails to recognise the previous installation.

Is the system completely borked, or is there some way I can straighten it out at least to the point I can increase the /usr LV size?

Thanks,
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; 14th June 2012 at 07:24 AM. Reason: Added missing line in screen output.
Reply With Quote
  #2  
Old 9th June 2012, 03:21 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
linuxfirefox
Re: Major problem with upgrade to F17

Quote:
Originally Posted by AndyW View Post
If I boot into rescue mode from the install DVD I am told "You don't have any Linux partitions",
I think you should boot something that will let you use a terminal or a console and do some command line things to investigate the state of your hard drive (like fdisk -l ). I'm not familiar with the rescue mode of the install DVD. Will it let you get to a terminal? The LiveCD will.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #3  
Old 10th June 2012, 12:23 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,717
linuxfirefox
Re: Major problem with upgrade to F17

Try to boot a Fedora 16 or Fedora 17 live cd.
Reply With Quote
  #4  
Old 10th June 2012, 11:59 PM
AndyW Offline
Registered User
 
Join Date: Nov 2008
Location: London
Posts: 27
linuxfedorakonqueror
Re: Major problem with upgrade to F17

I can boot into F16 KDE LiveCB with no problem.

It looks like the issue is with LVM. While /boot is on a standard partition, all the other storage is on LVM. The O/S is installed on a 32 GB OCZ SSD with separate LVs for /, /var, /usr and /usr/local, while on a 1 TB Samsung HD there are LVs for /home, /tmp and swap. Using vgdisplay and lvdisplay I can see that all the VGs and LVs appear to be there intact, and can mount them in LiveCD.

It looks like something in the F17 install (not sure whether it is related to the upgrade failure due to lack of space on /usr or not) has caused the LVM storage to no longer be recognised at startup. Red Hat Bugzilla #819604 (https://bugzilla.redhat.com/show_bug.cgi?id=819604) looks like it may be related. I have been using this partitioning scheme since FC9 so it has been through plenty of previous upgrades without any problems.

Grateful for any further suggestions...

Andrew
__________________
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
  #5  
Old 11th June 2012, 01:29 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
linuxfirefox
Re: Major problem with upgrade to F17

My uninformed suggestion is that you boot with the FC 17 liveCd and use the vgchange command to activate the logical volume group(s) and then try to install from the liveCd. Perhaps the installation DVD would give you a similar option. I haven't used the installation DVD.

( I don't use LVM anymore. I see no point for it on the typical home computer. Another obvious suggestion is to repartition your drives to be non-LVM.)
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #6  
Old 20th June 2012, 12:17 AM
AndyW Offline
Registered User
 
Join Date: Nov 2008
Location: London
Posts: 27
linuxfirefox
Re: Major problem with upgrade to F17

I have fixed the kernel panic preventing booting...

Although /usr-move failed due to lack of space, it looks like it had moved /sbin and replaced it with a symlink to /usr/sbin. When the bootloader tried to switch to the "real" init it couldn't find it as /usr wasn't mounted yet. When I added
Code:
rd.lvm.lv=VolGroup00/LogVol02
(this is the LV where /usr resides) to the grub command line in /boot/grub2/grub.cfg, it booted without problem. I can't find much info on grub / grub2 syntax but this appears to be the way to tell it to temporarily mount, or at least be able to read, a LVM filesystem. When resources make statements like
Quote:
...must be mounted by the initramfs during early boot
this is presumably how it happens.

However...when I now run the FC17 x86_64 upgrade DVD, it still fails to recognise the existing intallation. I am aware that I wil have to resize LVs and FSes in order for /usr-move to complete, but it doesn't get as far as even starting that. And LVM can't be a problem per se, as the original upgrade attempt started OK with exactly the same storage config as I still have.

Any ideas on why it is not seeing the existing FC16 install?

UPDATE:
Adding
Code:
rd.lvm.lv=VolGroup00/LogVol01 rd.lvm.lv=VolGroup00/LogVol03
which is where /var and /usr/local reside (i.e. letting the Anaconda installer "see" all of he OS install) doesn't make a difference. I also have
Code:
insmod lvm
in grub.cfg, to no effect.
__________________
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; 20th June 2012 at 10:19 PM. Reason: Added "UPDATE"
Reply With Quote
Reply

Tags
f17, major, problem, upgrade

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
Major slowdown and error messages in boot after FC5 upgrade to 2.6.18-1.2200.fc5smp dedded EOL (End Of Life) Versions 7 1st November 2006 01:57 AM
Major USB problem..... mlai Hardware & Laptops 3 2nd June 2005 01:56 AM
Major upgrade of apt (0.5.15cnc5) in fedora.us stable! fedora-package-announce-admin@fedora.us Advisories & Updates 0 1st March 2004 08:58 PM


Current GMT-time: 01:58 (Wednesday, 22-05-2013)

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