upgrade fc4 to FC5- clarification

Dan grinnz at gmail.com
Wed Apr 5 04:55:00 UTC 2006


Pushparaj Shetty wrote:
>> output of
>> cat /etc/fedora-release
>>     
>
> Fedora Core release 4 (Stentz)
>
>   
>> what is output of
>> # grep kernel /boot/grub/grub.conf
>>     
>
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
>         kernel /vmlinuz-2.6.16-1.2069_FC4smp ro
> root=/dev/VolGroup00/LogVol00 rhgb quiet
>         kernel /vmlinuz-2.6.16-1.2069_FC4 ro
> root=/dev/VolGroup00/LogVol00 rhgb quiet
>         kernel /vmlinuz-2.6.11-1.1369_FC4smp ro
> root=/dev/VolGroup00/LogVol00 rhgb quiet
>         kernel /vmlinuz-2.6.11-1.1369_FC4 ro
> root=/dev/VolGroup00/LogVol00 rhgb quiet
>
> Please inform if  the update is allright
>
> Thanks
>
> On 4/5/06, Craig White <craigwhite at azapple.com> wrote:
>   
>> On Wed, 2006-04-05 at 09:19 +0530, Pushparaj Shetty wrote:
>>     
>>> Hello everyone,
>>> I upgraded my fc4 to fc5 using the folllowing commands.
>>>
>>> # yum upgrade 2>&1 | tee /tmp/yum_upgrade
>>> # yum -y upgrade
>>> #reboot
>>>
>>> It said process  is complete ( It took 4 to 5 hrs). Now after rebbot ,
>>> i get 4 choices namely
>>> 1 FC4 2.11.6... smp
>>> 2 FC4 2.11.6...
>>> 3 FC4....
>>> 4 FC4 up...
>>>
>>>  Which one shall i choose to boot?
>>> ( by default it chose the first option)
>>> 3 and 4 were present before. 1 and 2 have appeared newly.
>>> Please let me know the significance of these options.
>>>
>>> Is there any way to change boot options so that only required
>>> things appear.
>>>       
>> ----
>> none of that sounds right at all...
>>
>> what is output of
>> cat /etc/fedora-release
>>
>> what is output of
>> # grep kernel /boot/grub/grub.conf
>>
>> Craig
>>
>> --
>> fedora-list mailing list
>> fedora-list at redhat.com
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>>
>>     
>
>   
First of all, fedora-release should say you have Fedora Core release 5; 
since you have FC5 kernels, it appears the upgrade to FC5 did work to an 
extent, so run the following:
rpm -Uvh 
http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm
(one line)
This should update fedora-release to say the right version. Assuming 
you're using i386; substitute appropriate arch if otherwise.
As for the boot entries:
The first two are the new 2.6.16 kernel installed for FC5. If those 
work, you should use them. The first one is SMP (symmetric 
multi-processor), the second is UP (uni-processor); if you have a dual 
core or Pentium with hyper-threading, that's why it installed SMP, and 
using that kernel will take the most advantage of the dual-processing 
ability. UP should work fine as well.
You can uninstall kernels you don't wish to use with yum; however, if 
you don't have a space issue, it is best to keep several versions in 
case an update goes bad. If you don't want them to show up in the 
bootloader, edit /boot/grub/grub.conf with your favorite text editor, 
and put a # at the beginning of each group of lines, such as:

title Fedora Core (2.6.16-1.2080_FC5)
    root (hd0,1)
    kernel /vmlinuz-2.6.16-1.2080_FC5 ro root=LABEL=/1 rhgb quiet
    initrd /initrd-2.6.16-1.2080_FC5.img
#title Fedora Core (2.6.15-1.2054_FC5)
#    root (hd0,1)
#    kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1 rhgb quiet
#    initrd /initrd-2.6.15-1.2054_FC5.img

(don't change anything other than adding # for commenting, this is just 
an example from my grub.conf, with two entries, the first one will show 
up and the second won't)
-Dan




More information about the fedora-list mailing list