Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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).
Last edited by Xiangbuilder; 09-08-2003 at 03:41 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.