[CALUG] Fedora upgrade unsuccessful

Bryan J Smith b.j.smith at ieee.org
Sat Jun 11 17:40:29 EDT 2011


Understood.  I'm just wondering what Amahi is doing to Fedora 12's init 
scripts.  If it's not shutting down the system properly, then of course, 
Preupgrade is going to be defensive, and say, "I don't trust the system's 
consistency."  So, again, I'm curious what Amahi is doing to the system.  
Fedora's init shut down the system proper, even when Preupgrade program runs the 
reboot.

One way is to boot into Fedora 12 at run-level "S", remount the file systems 
read-only, do fsck, and then reboot when done.  Then boot Fedora 14 Preupgrade 
from there.  That way your file systems should be cleanly mounted.

The "boot=" line hasn't been required for some time, but Anaconda leaves it 
around as a legacy comment.  And you must be seeing that menu because you 
wouldn't see the Fedora 14 Preupgrade option.  Your menu has the Fedora 14 
Preupgrade and two (2) kernel lines for Fedora 12.

Although do make sure /etc/grub.conf is still a symlink to 
/boot/grub/grub.conf.  If you're editing/changing /etc/grub.conf and it's not a 
symlink to /boot/grub/grub.conf, that would be a problem.  The system boots 
/boot/grub/grub.conf.



----- Original Message ----
From: Joe <joe_tseng at hotmail.com>
Sent: Sat, June 11, 2011 12:53:41 PM

And I was following this document:

http://wiki.amahi.org/index.php/F12_to_F14_update

-----Original Message----- 
From: Joe
Sent: Saturday, June 11, 2011 12:22 PM

For what it's worth here's my grub.conf:

$ sudo more grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/mapper/vg_server0-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=0
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Upgrade to Fedora 14 (Laughlin)
    kernel /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade 
ks=hd:UUID=706664cb-53af-4399-9f80-6554424247e9:/upgrade/ks.cfgstage2=http://mirrors.kernel.org/fedora/releases/14/Fedora/x86_64/os/images/install.img
 
    initrd /upgrade/initrd.img
title Fedora (2.6.32.26-175.fc12.x86_64)
    root (hd0,0)
    kernel /vmlinuz-2.6.32.26-175.fc12.x86_64 ro 
root=/dev/mapper/vg_server0-lv_root  LANG=en_US.UTF-8 
SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
    initrd /initramfs-2.6.32.26-175.fc12.x86_64.img
title Fedora (2.6.31.5-127.fc12.x86_64)
    root (hd0,0)
    kernel /vmlinuz-2.6.31.5-127.fc12.x86_64 ro 
root=/dev/mapper/vg_server0-lv_root  LANG=en_US.UTF-8 
SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
    initrd /initramfs-2.6.31.5-127.fc12.x86_64.img

Now that I'm looking at it I realize I NEVER see this menu.  I would not be
surprised if Amahi disabled this.  Do I need to uncomment that "boot=..."
line?



More information about the CALUG mailing list