Solved

set default OS on dual boot

Posted on 2000-03-19
8
357 Views
Last Modified: 2010-04-20
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
Comment
Question by:tvanlint
8 Comments
 
LVL 1

Expert Comment

by:soulmate022700
ID: 2633241
change:

image = /dev/hda1
        label = win

to:

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

0
 
LVL 1

Author Comment

by:tvanlint
ID: 2633970
I've tried changing the image= to other=, what does the table= do?
0
 

Expert Comment

by:DaveWho
ID: 2634389
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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 1

Author Comment

by:tvanlint
ID: 2634393
how do I bring up the "LILO graphical interface"?
0
 
LVL 1

Accepted Solution

by:
friebele earned 50 total points
ID: 2634555
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
 

Expert Comment

by:vvijayk
ID: 2634729
Have u done
#lilo
so that this info is written in mbr ?
0
 
LVL 1

Expert Comment

by:hansendc
ID: 2640923
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
 
LVL 1

Author Comment

by:tvanlint
ID: 2642455
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to have a cron job run until a condition is met 12 66
nagios alerts 3 44
AWS ELB 5 77
VMware Tools Install On Linux Problem 3 61
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question