Fedora 17 is released.
Below is the instruction to upgrade from Fedora 16 to 17 for 32bit & 64bit OS.
Following needs to be done on both 32bit & 64bit systems
rpm --import https://fedoraproject.org/static/1ACA3465.txt yum update dracut -y dracut --force --add convertfs |
change kernel parameter
vi /etc/grub2.cfg
change rw to ro
add "rd.info rd.convertfs enforcing=0"
Example
#CHANGE linux /vmlinuz-3.3.7-1.fc16.x86_64 root=UUID=f3bc2160-d776-4759-b999-171dcfa8c9e8 ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8 #TO linux /vmlinuz-3.3.7-1.fc16.x86_64 root=UUID=f3bc2160-d776-4759-b999-171dcfa8c9e8 rw rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8 rd.info rd.convertfs enforcing=0 |
32bit
yum -y update rpm -Uvh http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything/i386/os/Packages/f/fedora-release-17-1.noarch.rpm yum upgrade yum* rpm -y #during this step accept public key yum upgrade -y |
64bit
yum -y update rpm -Uvh http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything/x86_64/os/Packages/f/fedora-release-17-1.noarch.rpm yum upgrade yum* rpm -y #during this step accept public key yum upgrade -y |
For some reason if your rpmdb is corrupted, you need to rebuild using following commands.
rm -rf /var/lib/rpm/__db* rpm --rebuilddb |
UPDATE
After upgrade if you are unable to shutdown with following error.
/shutdown: 33: /shutdown: sh: not found
You need to run command below command, on the second rebooy you’ll be able to shutdown your box successfully.
sudo dracut -f |
You may also consider upgrade using preupgrade which is convenient