LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-18-2013, 04:40 PM   #1
jayjaybillings
LQ Newbie
 
Registered: Aug 2012
Posts: 6

Rep: Reputation: Disabled
Fedora 16 to 17 preupgrade fails - lists "upgrade to Fedora 16" in bootloader


I am trying to upgrade my system 64-bit Fedora 16 system to Fedora 17, but preupgrade fails. It does not boot in to the Fedora 17 installer. Instead, if I exam the boot menu closely, it says "Upgrade to Fedora 16." I clicked this option thinking that maybe it was mislabeled, but that just dropped me into an empty dracut shell.

/boot/upgrade exists and the preupgrade client seemed to run without error. The initrd.img file and others in that directory has a date of May 22 2013, but ks.cfg has today's date.

Any thoughts?

Thanks in advance!
Jay
 
Old 02-18-2013, 09:53 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,615

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
is your /boot partition at least 1 gig in size
"preupgrade" puts files there

if it is to small it can not upgrade

if you must upgrade
first PLAN for a full new install
1)backup
2) see #1
3) see #2

then use the dvd to upgrade

but plan for it to fail

so if it dose
you are prepared
 
Old 02-18-2013, 09:56 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

The one way to upgrade Fedora is by using Yum and 'preupgrade'
Try this instructional page. It should work-
http://www.if-not-true-then-false.co...th-preupgrade/

How to use PreUpgrade
https://fedoraproject.org/wiki/How_t...?rd=Preupgrade

If that doesn't work you may have to download a fresh ISO Image of Fedora 17 to DVD/CD or USB-

About the default installation script; I found this:
Code:
About the Default ks.cfg Installation Script

The ESXi installer includes a default installation script that performs a standard installation to the first detected disk.

The default ks.cfg installation script is located in the initial RAM disk at /etc/vmware/weasel/ks.cfg. You can specify the location of the default ks.cfg file with the ks=file://etc/vmware/weasel/ks.cfg boot option. See Enter Boot Options to Start an Installation or Upgrade Script.

When you install ESXi using the ks.cfg script, the default root password is mypassword.

You cannot modify the default script on the installation media. After the installation, you can log in to the ESXi host and use the vSphere Client to modify the default settings.

The default script contains the following commands:

#
# Sample scripted installation file
#

# Accept the VMware End User License Agreement
vmaccepteula

# Set the root password for the DCUI and Tech Support Mode
rootpw mypassword

# Install on the first local disk available on machine
install --firstdisk --overwritevmfs

# Set the network to DHCP on the first network adapter
network --bootproto=dhcp --device=vmnic0

# A sample post-install script
%post --interpreter=python --ignorefailure=true
import time
stampFile = open('/finished.stamp', mode='w')
stampFile.write( time.asctime() )
Hope this helps
 
Old 02-18-2013, 10:11 PM   #4
jayjaybillings
LQ Newbie
 
Registered: Aug 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for the responses gentlemen. I am very familiar with pre-upgrade and I have used it many times, even with /boot sizes under 200mb. This appears to be some bug in the boot configuration.

I'll let you know if I figure it out.
 
Old 02-18-2013, 10:21 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by jayjaybillings View Post
Thanks for the responses gentlemen. I am very familiar with pre-upgrade and I have used it many times, even with /boot sizes under 200mb. This appears to be some bug in the boot configuration.

I'll let you know if I figure it out.
Your Welcome; and do post back what you discover as we are now curious to the outcome-
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Expanded boot partition to upgrade from Fedora 14 to Fedora 16 using preupgrade. rmknox Linux - Software 0 05-12-2012 10:45 AM
upgrading from fedora 15 to fedora 16 with preupgrade fails bluesatbridge Linux - Laptop and Netbook 3 11-17-2011 06:44 AM
F14 preupgrade fails reboot - "unknown command" in grub jlynker Fedora 3 04-11-2011 03:49 AM
LXer: How to upgrade to Fedora 14 "Laughlin" from Fedora 13 & 12 LXer Syndicated Linux News 1 10-31-2010 04:19 PM
LXer: Upgrade Your Desktop From Fedora 8 To Fedora 9 With PreUpgrade LXer Syndicated Linux News 0 05-20-2008 10:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration