• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 365
  • Last Modified:

set default OS on dual boot

I'm using Calder OpenLinux 2.3 and I'm trying to set my dual boot system to select Win98 as the default OS.  Below is /etc/lilo.conf

#
# /etc/lilo.conf - generated by Lizard
#

# target

boot = /dev/hda
install = /boot/boot.b

# options

prompt
delay = 50
timeout = 50
message = /boot/message

default = win

image = /dev/hda1
        label = win

image = /boot/vmlinuz-2.2.10-modular
        label  = linux
        root   = /dev/hdb1
        vga    = 274
        read-only
        append = "debug=2 noapic nosmp"
                                     
which I would have thought would let it boot to Win98 by default, but it doesn't. Any ideas greatly appreciated.      
0
tvanlint
Asked:
tvanlint
1 Solution
 
soulmate022700Commented:
change:

image = /dev/hda1
        label = win

to:

other = /dev/hda1
        label = win
        table = /dev/hda

0
 
tvanlintAuthor Commented:
I've tried changing the image= to other=, what does the table= do?
0
 
DaveWhoCommented:
Do you have access to LILO graphical interface? If you do, go to configure LILO and delete linux and right away add linux again, this should solve your problem. It solved my problem. By the way, don't delete win.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
tvanlintAuthor Commented:
how do I bring up the "LILO graphical interface"?
0
 
friebeleCommented:
solemate is correct. Change the 'image' reference as above. In your configuration, remove the line with 'default'. Lilo automatically assumes the first operating system on the list as the default. Remember, from a console as superuser, type "lilo" to initiate the changes.
0
 
vvijaykCommented:
Have u done
#lilo
so that this info is written in mbr ?
0
 
hansendcCommented:
It might be worth a shot to try this:
> lilo -D win
That is the command line option to specify the default lilo entry to boot.  Maybe your lilo.conf is being parsed incorrectly or something.  Stranger things have been known to happen.  This will override any default boot entry in lilo.conf
0
 
tvanlintAuthor Commented:
the various config I tried would have worked if I had known to type lilo to make the update 'stick', so thanks friebele.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now