Dear Wiki user, You have subscribed to a wiki page or wiki category on "Fedora Project Wiki" for change notification. The following page has been changed by DavidTimms: http://fedoraproject.org/wiki/Docs/Beats/Installer?action=diff&rev2=110&rev1=109 The comment on the change is: Add info on upgrades and the need for labelled disks, along with a howto ------------------------------------------------------------------------------ Refer to http://fedoraproject.org/wiki/DistributionUpgrades for detailed recommended procedures for upgrading Fedora. + ==== Disk partitions must be labelled ==== + + A change in the way that the linux kernel handles storage devices means that device names like `/dev/hdX` or `/dev/sdX` may differ from the values used in earlier releases. Anaconda solves this problem by relying on partition labels. If these labels are not present, then '''Anaconda''' presents a warning indicating that partitions need to be labelled and that the upgrade can not proceed. + + ===== To check disk partition labels ===== + + Partition labels can be viewed by booting into the existing Fedora installation, and entering the following at a terminal prompt: + {{{$ /sbin/blkid + }}} + In the list displayed, confirm that each volume line has a `LABEL=` value, eg: + {{{/dev/hdd1: LABEL="/boot" UUID="ec6a9d6c-6f05-487e-a8bd-a2594b854406" SEC_TYPE="ext2" TYPE="ext3" + }}} + + ===== To set disk partition labels ===== + + For partitions that don't have a label, use: + {{{ su -c 'e2label /dev/example f7-slash' # ext2/3 + }}} + For a vfat filesystem, use dosfslabel from package dosfstools, and for ntfs filesystem use ntfslabel from the ntfsprogs package. Do not reboot the machine without also updating the file system mount entries. + + ===== Update the file system mount entries ===== + + If any filesystem labels were added or modified, then the device entries in `etc/fstab` must be adjusted to match" + {{{ su -c 'cp /etc/fstab /etc/fstab.orig' + su -c 'gedit /etc/fstab' + }}} + An example of a mount by label entry is: + {{{ LABEL=/f7-slash / ext3 defaults 1 1 + }}} + + ===== Test changes made to labels ===== + + If partition labels were adjusted, or the `/etc/fstab` file modified, then boot the existing Fedora installation to confirm that all partitions still mount normally. When complete, reboot the installation media to begin the installer. + + ==== Upgrades versus fresh installations ==== + In general, fresh installations are recommended over upgrades, particularly for systems that include software from third-party repositories. Third-party packages remaining from a previous installation may not work as expected on an upgraded Fedora system. If you decide to perform an upgrade anyway, the following information may be helpful: * Before you upgrade, back up the system completely. In particular, preserve `/etc`, `/home`, and possibly `/opt` and `/usr/local` if customized packages are installed there. You may wish to use a multi-boot approach with a "clone" of the old installation on alternate partition(s) as a fallback. In that case, create alternate boot media, such as a GRUB boot floppy. -- Fedora-relnotes-content mailing list Fedora-relnotes-content@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-relnotes-content