LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lilo, howto boot to windows by default (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-howto-boot-to-windows-by-default-90407/)

csnow33 09-08-2003 02:33 AM

lilo, howto boot to windows by default
 
How do I set lilo to boot to windows by default? I tried editing the lilo.conf file and changing the default="linux" to "win" , should I have made that "windows" ? The page I found on the web that described it had it as win.

I have winme on the c: drive hda, and mandrake 9.1 on the d: hdb or whatever... still getting used to these new terms.

Azmeen 09-08-2003 02:37 AM

For every partition, there should be a section called label... see what your label is for windows (eg. label="Windows")... use that value for your default section (eg. for my previous example... it will be default="Windows").

The settings are cAsE sEnSiTiVe... and don't forget to run lilo after changing the settings :)

csnow33 09-08-2003 02:40 AM

thanks
 
Will go try that, thanks for the quick response.

Xiangbuilder 09-08-2003 02:40 AM

Here is my grub.conf, maybe is similar.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,12)
# kernel /vmlinuz-version ro root=/dev/hda12
# initrd /initrd-version.img
#boot=/dev/hda13
default=0
timeout=10
splashimage=(hd0,12)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,12)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Red Hat Linux (2.4.7-10)
root (hd0,12)
kernel /vmlinuz-2.4.20-8 ro root=hda11
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1


default=0 means the default booting OS is the first entry.
It is Red Hat Linux (2.4.20-8) in this file.
If I modify it to default=1, then the default booting OS will be changed to Red Hat Linux (2.4.7-10).

Azmeen 09-08-2003 02:42 AM

Re: thanks
 
Quote:

Originally posted by csnow33
Will go try that, thanks for the quick response.
No prob :)

And Xiangbuilder... csnow33 did mention he's using LILO, not grub :)

Xiangbuilder 09-08-2003 02:45 AM

Thank you point out this.

csnow33 09-08-2003 02:58 AM

Worked
 
Thanks again. It worked. Now I don't have to worry about my wife getting lost in linux.

Azmeen 09-08-2003 03:04 AM

Re: Worked
 
Quote:

Originally posted by csnow33
Thanks again. It worked. Now I don't have to worry about my wife getting lost in linux.
You're most welcome.

:)


All times are GMT -5. The time now is 07:29 PM.