Solved

set default OS on dual boot

Posted on 2000-03-19
8
356 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
 
LVL 1

Author Comment

by:tvanlint
ID: 2634393
how do I bring up the "LILO graphical interface"?
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why VNC doesn't work in Redhat? 11 34
Linux server cannot access samba share 12 89
linux crontab output 3 66
CentOS create a user with predefined MD5 Hashed password 17 66
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

914 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now