LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora 16 to 17 preupgrade fails - lists "upgrade to Fedora 16" in bootloader (http://www.linuxquestions.org/questions/fedora-35/fedora-16-to-17-preupgrade-fails-lists-upgrade-to-fedora-16-in-bootloader-4175450696/)

jayjaybillings 02-18-2013 04:40 PM

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

John VV 02-18-2013 09:53 PM

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

Ztcoracat 02-18-2013 09:56 PM

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

jayjaybillings 02-18-2013 10:11 PM

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.

Ztcoracat 02-18-2013 10:21 PM

Quote:

Originally Posted by jayjaybillings (Post 4894786)
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-


All times are GMT -5. The time now is 10:05 PM.