Thread: LILO configuration

  1. #1
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297

    LILO configuration

    anyone know how to make windows boot in as the default in LILO? I can't seem to make it do that. Linux always comes in selected.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  2. #2
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    There is a lilo file that has the list. I believe (this is going back for me a bit) it is lilo.conf and it may be in /etc/. Edit the name of the Default boot to the name of your windows boot LABEL. You will see it as a boot device in the list.

    Make a copy of your lilo.conf file before doing this!

  3. #3
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    Here... I went to see if I was misleading you.

    boot=/dev/sda
    timeout=300
    linear
    prompt
    default="Linux2"
    vga=normal
    read-only
    map=/boot/map
    install=/boot/boot.b

    image=/boot/vmlinuz=2.2.14-5.0
    label="Linux2"
    initrd=/boot/initrd-2.2.14-5.0
    root=/dev/sda10

    image=/boot/vmlinuz=2.2.14-5.0
    label="Linux1"
    initrd=/boot/initrd-2.2.14-5.0
    root=/dev/sda5
    See the underlined default and the labels for boot? Good luck.
    Blue

  4. #4
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    thanks I'll try that
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  5. #5
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    I must be doing something wrong

    here's my /etc/lilo.conf

    Code:
    boot=/dev/hda
    map=/boot/map
    default=windows
    keytable=/boot/us.klt
    prompt
    nowarn
    timeout=100
    message=/boot/message
    menu-scheme=wb:bw:wb:bw
    ignore-table
    other=/dev/hda1
    	label=windows
    	table=/dev/hda
    image=/boot/vmlinuz
    	label=linux
    	root=/dev/hda5
    	initrd=/boot/initrd.img
    	append="devfs=mount"
    	read-only
    image=/boot/vmlinuz
    	label=failsafe
    	root=/dev/hda5
    	initrd=/boot/initrd.img
    	append="devfs=nomount failsafe"
    	read-only
    other=/dev/fd0
    	label=floppy
    	unsafe
    Please, please fill me in!
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  6. #6
    Evil Member
    Join Date
    Jan 2002
    Posts
    638
    Look good, whats the problem?

  7. #7
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    You have to run lilo after changing the file for the changes to take effect.

    If you made a copy of the lilo.conf file (you should have) verify the permissions with chmod beforehand so that you know everything is ready to go if there is a problem.
    Blue

  8. #8
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    Originally posted by Betazep
    You have to run lilo after changing the file for the changes to take effect.

    If you made a copy of the lilo.conf file (you should have) verify the permissions with chmod beforehand so that you know everything is ready to go if there is a problem.
    run lilo? isn't it the boot loader? I ran it when I booted if I'm not mistaken.

    Lilo gives me the choices:

    linux
    failsafe
    windows
    floppy

    with linux selected
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  9. #9
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    never mind, I got it figured out with a utility in gnome. Wierd that it didn't work before. I'll get this linux thing figured out eventually. You're dealing with a slave to MS here.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  10. #10
    Registered User
    Join Date
    Oct 2002
    Posts
    385
    After you edit lilo.conf you need to type lilo at the command prompt to re-read the changes you made to lilo.conf.
    Wandering aimlessly through C.....

    http://dbrink.phpwebhosting.com

  11. #11
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    that makes sense. I guess the gnome utility that I used did that for me. Thanks guys.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Doxygen failing
    By Elysia in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 04-16-2008, 01:24 PM
  2. Generic configuration module
    By linux454 in forum C++ Programming
    Replies: 0
    Last Post: 01-30-2006, 11:44 PM
  3. Replies: 2
    Last Post: 03-08-2004, 11:38 AM
  4. Configuration Files
    By gvector1 in forum C# Programming
    Replies: 1
    Last Post: 10-30-2003, 04:21 PM
  5. Serial Communications in C
    By ExDigit in forum Windows Programming
    Replies: 7
    Last Post: 01-09-2002, 10:52 AM