Re: how to change the order of boot up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Charles Li wrote:

I have dual boot with winXP.  After upgrading the
kernel to 2.6.11, it now default boots to the new
kernel.  It use to default boot to winXP.  How do I
change it back?

Thanks,
Charles Li

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com




Hello. As root, u need to edit /boot/grub/grub.conf and change the line that says default=<value> to the number of the line where your windows is...

for you to know witch is, just count the lines that starts with title, and you'll know the number. as an example, where is a sample of a grub with many options (without windows). Remember, the count starts at 0 and NOT 1,
but just for you to know:
this grub boots kernel 2.6.11-1.14_FC3


default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.14_FC3)
        root (hd0,0)
        kernel /vmlinuz-2.6.11-1.14_FC3 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.11-1.14_FC3.img
title Fedora Core (2.6.10-1.770_FC3)
        root (hd0,0)
        kernel /vmlinuz-2.6.10-1.770_FC3 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.10-1.770_FC3.img
title Fedora Core (2.6.10-1.741_FC3)
        root (hd0,0)
        kernel /vmlinuz-2.6.10-1.741_FC3 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.10-1.741_FC3.img
title Fedora Core (2.6.9-1.667)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-1.667.img

cheers

Bruno Santos


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux