Upgrade FC6 to FC7

Logbook entry: Upgrade Fedora Core 6 to Fedora Core 7

Based on Upgrading Fedora Using Yum

  • Update FC6
  • yum update
    
  • Clean FC6
  • yum clean all
    
  • Switch repositories
  • rpm -Uhv http://mirror.switch.ch/ftp/mirror/fedora/linux/releases/7/Fedora/i386/o... http://mirror.switch.ch/ftp/mirror/fedora/linux/releases/7/Fedora/i386/o...
    
  • Check the /etc/yum.repos.d
  • # ls -l
    total 32
    -rw-r--r-- 1 root root 1541 May 24  2007 fedora-development.repo
    -rw-r--r-- 1 root root 1096 May 24  2007 fedora.repo
    -rw-r--r-- 1 root root 1006 May 24  2007 fedora-updates.repo
    -rw-r--r-- 1 root root 1084 May 24  2007 fedora-updates-testing.repo
    
  • Update rmp and yum packages
  • yum update rpm* yum*
    
  • If Error: Missing Dependency: python(abi) = 2.4 is needed by package authconfig
  • #yum erase authconfig
    
    [......]
    
    Dependencies Resolved
    
    =============================================================================
     Package                 Arch       Version          Repository        Size 
    =============================================================================
    Removing:
     authconfig              i386       5.3.18-0.1.fc6   installed         1.7 M
    Removing for dependencies:
     firstboot-tui           noarch     1.4.23-1         installed         621 k
    
    Transaction Summary
    =============================================================================
    Install      0 Package(s)         
    Update       0 Package(s)         
    Remove       2 Package(s)         
    
    Is this ok [y/N]: y
    

    the restart the update rpm and yum

  • Upgrade all
  • yum upgrade
    
  • Update fstab if required
  • Update /boot/grub/device.map
  • #vi /boot/grub/device.map
    
    # this device map was generated by anaconda
    #(hd0)     /dev/hda
    (hd0)     /dev/sda
    
  • Installing the new bootloader
  • grub-install /dev/hda
    
  • /dev/hda does not have any corresponding BIOS drive.
  • grub-install --recheck /dev/hda
    

    Reboot