Fedora Linux Support Community & Resources Center
  #1  
Old 10th October 2011, 11:51 AM
RavanH Offline
Registered User
 
Join Date: May 2011
Posts: 41
linuxopera
preupgrade drops to debug shell

Hi,

Tying to use preupgrade to move from F15 to F16 beta, immediately after reboot I get dropped to debug shell. These are the last messages I see:

Code:
...
mount: Unknown filesystem type 'DM_snapshot_cow'
mount: Unknown filesystem type 'DM_snapshot_cow'
mount: Unknown filesystem type 'DM_snapshot_cow'

[ ... ] dracut Warning: Can't mount root filesystem
dracut Warning: Can't mount root filesystem

Dropping to debug shell

sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
dracut:/#_
Last lines of dmesg tell me:
Code:
...
SQUASHFS error: unable to read inode lookup table
dracut Warning: Can't mount root filesystem
Rebooting back into F15 works. In grub.conf I find:
Code:
...
title Upgraden naar Fedora 16 Branched Pre-release (Verne)
	kernel /boot/upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade ks=hd:UUID=a2ac08b6-9b69-4ec1-a6d6-8f4453c82dd2:/boot/upgrade/ks.cfg
	initrd /boot/upgrade/initrd.img
...
The UUID checks out correctly for /dev/sda3 where the root is found.

I opened a terminal and tried
Code:
# preupgrade --clean
Loaded plugins: blacklist, langpacks, whiteout
No plugin match for: rpm-warm-cache
No plugin match for: remove-with-leaves
No plugin match for: auto-update-debuginfo
Er is geen vorige upgrade om schoon te maken
#
That last line translates to "There is no previous upgrade to clean" even though several Gigs of preupgrade files (in 4 subdirs) are there under /var/cache/yum/

I'm confused (see?)

How to either get the upgrade working after all or to get properly and safely rid of this failed attempt?

Thanks for any insight

---------- Post added at 12:51 PM ---------- Previous post was at 10:40 AM ----------

Update:

I tried altering the entry in grub.conf to:
Code:
Code:
title Upgraden naar Fedora 16 Branched Pre-release (Verne)
	hd(0,2)
	kernel /boot/upgrade/vmlinuz preupgrade repo=hd:UUID=a2ac08b6-9b69-4ec1-a6d6-8f4453c82dd2:/var/cache/yum/preupgrade ks=hd:UUID=a2ac08b6-9b69-4ec1-a6d6-8f4453c82dd2:/boot/upgrade/ks.cfg
	initrd /boot/upgrade/initrd.img
But neither adding the hd(0,2) nor the extra UUID after repo=hd: did the trick
Reply With Quote
  #2  
Old 11th October 2011, 05:07 PM
RavanH Offline
Registered User
 
Join Date: May 2011
Posts: 41
linuxopera
Re: preupgrade drops to debug shell

I think I found the problem. I had started the upgrade as Admin User from command line like this:

Code:
$ preupgrade
Which first asked me for my password and then proceeded with the upgrade without any warning. Install images and packages where downloaded and stored in the correct place but somehow, after reboot, the upgrade process went looking for packages in the wrong place, under the user home dir instead of under /var/cache/yum/.

I removed (as root) all preupgrade related files and folders and started the upgrade again, this time as root:

Code:
$ su -
# preupgrade
And this time, the reboot indeed launched Anaconda upgrade successfully...

I'm writing this as a happy user under F16beta with Gnome 3.2
Reply With Quote
Reply

Tags
debug shell, dracut, f16 beta, preupgrade

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
Fedora 15 boot fails -- Drops into debug shell edward_c Installation and Live Media 3 8th September 2011 12:55 PM
Debug Shell on Boot f15 flebber Using Fedora 2 20th August 2011 12:02 AM
Preupgrade F13 > F14 not working: "repo preupgrade-main is listed multiple times" Lo Zeno Installation and Live Media 0 4th November 2010 12:05 PM
[SOLVED] boot drops me into single user shell newiLuvatar F14 Development 7 17th September 2010 10:15 PM
Firewall log drops foxbymariuss Servers & Networking 2 3rd July 2007 02:07 PM


Current GMT-time: 09:36 (Thursday, 20-06-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