Solved

Lilo

Posted on 1998-09-01
4
372 Views
Last Modified: 2010-04-20
Is there some way to either make my lilo autoboot up Windows95 and not linux? I have Linux Pro 4.1. Either that or can anyone direct me to a link for LILO95 (if such i thing still exists, i saw it a few years ago and have not seen it since)
0
Comment
Question by:RubAWay
  • 2
4 Comments
 
LVL 4

Expert Comment

by:jlms
ID: 1637932
Yes, simply define the W95 as the one that boots by defualt.

Check your /etc/lilo.conf file and the related man page.
0
 
LVL 1

Expert Comment

by:jreese
ID: 1637933
1. Edit /etc/lilo.conf so that the Windows 95 entry is the first in the list, so that it becomes the default. You can set the delay time that LILO will wait before automatically booting the default OS. Here's a quick example:

# lilo.conf: LILO configuration file
boot = /dev/hda
delay = 300   # Delay is in tenths of seconds; This delay is for                # 30 seconds
other = /dev/hda1   # This first entry will be the default
  label = win95
  table = /dev/hda
image = /vmlinuz
  root = /dev/hda2
  label = linux
  read-only
# End of lilo.conf

After editing lilo.conf, run /sbin/lilo:

my_hostname# /sbin/lilo
Added win 95 *
Added linux

When you reboot, the letters LILO will appear for 30 seconds. After that, Win95 will boot. If you want to boot linux, then during that 30 seconds you need to press the SHIFT key, release it, then type "linux", then hit the RETURN key. Linux will then boot. If you want to see what OS'es are available at boot time, when you see the LILO appear, press and release the SHIFT key, then press and release the TAB key: a list of OS choices will appear.

2. You can avoid editing /etc/lilo.conf by running /sbin/lilo with the flag -D win95 to specify Windows as the default kernel to boot.
0
 

Author Comment

by:RubAWay
ID: 1637934
Jreese, why did you not answer as an answer? Sorry Jlms, but Jreese actually made more sense and told me what to do. Im gonna have to reject your answer and ask Jereese to propose his Comment as an answer.
0
 
LVL 1

Accepted Solution

by:
jreese earned 100 total points
ID: 1637935
Text as above
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

829 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