problem with booting after upgrading the kernel

Kam Leo kam.leo at gmail.com
Sat Feb 5 23:38:27 UTC 2005


On Sat, 5 Feb 2005 16:24:58 -0500, jim lawrence <fedorajim at gmail.com> wrote:
> On Sat, 5 Feb 2005 21:59:36 +0100, Xung <no-reply-gw at fcp.homelinux.org> wrote:
> > when I installed Fedora 3, I configured its as a secondary OS. Recently, I upgraded the kernel from 2.6.9-1.667 to 2.6.10-1.760_FC3, and now my primary OS is Fedora. How do I changed it back to my original preference, always boot XP first
> >
> > Thanks
> >
> > --
> > This is an email sent via the webforum on http://fcp.homelinux.org
> >
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> >
> open a terminal switch to root
> 
> type in  vi /boot/grub/grub.conf
> hit the i key on the keyboard
> using the up/down, left/right keys   scroll down to where it says Default=0
> change to
> Default=1
> 
> also while your in there   if your going to boot into the latest kernel
> put a # mark in front of the other kernel listed.  here is a example
> 
> #boot=/dev/hda
> default=0  <----- change this to 1
> timeout=8
> splashimage=(hd0,5)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora Core (2.6.10-1.760_FC3)
>         root (hd0,5)
>         kernel /vmlinuz-2.6.10-1.760_FC3 ro root=LABEL=/1 rhgb quiet
>         initrd /initrd-2.6.10-1.760_FC3.img
> #title Fedora Core (2.6.10-1.741_FC3)  <---- # out the second kernel
> #       root (hd0,5)
> #       kernel /vmlinuz-2.6.10-1.741_FC3 ro root=LABEL=/1 rhgb quiet
> #       initrd /initrd-2.6.10-1.741_FC3.img
> title Windows XP SP2
>         rootnoverify (hd0,0)
>         chainloader +1
> ~
> ~
> 
> --
> 
> Jim Lawrence
> Registered Linux User: #376813
> ********************************************************
> When I'm feeling down, I like to whistle.
> It makes the neighbor's dog run to the end of his chain and gag himself.
> ************************************
> 

Using Jim's example I would modify the his recommendation as follows:

> #boot=/dev/hda
> default=0    <----- change this to 2
> timeout=8   <---- adjust this to suit your needs
> splashimage=(hd0,5)/grub/splash.xpm.gz
> hiddenmenu  <----  comment this out by placing a "#" at beginning of line
> title Fedora Core (2.6.10-1.760_FC3)  
>         root (hd0,5)
>         kernel /vmlinuz-2.6.10-1.760_FC3 ro root=LABEL=/1 rhgb quiet
>         initrd /initrd-2.6.10-1.760_FC3.img
> title Fedora Core (2.6.10-1.741_FC3) 
>        root (hd0,5)
>        kernel /vmlinuz-2.6.10-1.741_FC3 ro root=LABEL=/1 rhgb quiet
>        initrd /initrd-2.6.10-1.741_FC3.img
> title Windows XP SP2              
>         rootnoverify (hd0,0)
>         chainloader +1

On boot you will be presented with a menu offering you a choice of:

   Fedora Core (2.6.10-1.760_FC3)
   Fedora Core (2.6.10-1.741_FC3)
   Windows XP SP2

Windows XP SP2 is the default selection which will boot in 8 seconds
if no action is taken by the user.  This configuration lets you boot
an older kernal if you should encounter problems.




More information about the fedora-list mailing list