



(8 ratings)
LILO
stands for Linux Loader. The contents of the /etc/lilo.conf
file (in RedHat Linux 6) decide what LILO does during booting.
This article explains one possible setup on your machine, where
you could have Linux and Windows 95 together on one computer.
The important lines in the lilo.conf file are the location of
your Windows and Linux partitions. If you know the partitions
on which you have installed the Operating Systems, then configuring
LILO is very simple.
Setup :
The setup of my system can be best explained with the table below
|
Linux
device
|
Size
|
Type | Description |
|
/dev/hda1
|
2
GB
|
Win 95 Fat32 | C:\ in Windows (Within Primary Partition) |
|
/dev/hda3
|
1
GB
|
Linux Native | Consists of / and /boot (Within Primary Partition) |
|
/dev/hda4
|
60MB
|
Linux Swap | (Within Primary Partition) |
|
/dev/hda5
|
3GB
|
Win 95 Fat32 | D:\
in Windows Logical 1st partition (Within Extended Partition) |
|
/dev/hda6
|
2GB
|
Linux Native | Consists
of /usr Logical 2nd partition (Within Extended Partition) |
Currently
when my system boots. The Lilo prompt stays for 5 seconds. On
pressing <Tab> I get 2 options named linux & win.
If I don't type anything for 5 seconds, then by default
(as set in lilo.conf) Windows 95 starts booting.
Procedure
:
Edit the /etc/lilo.conf file (using any text editor) as shown below. This is the current configuration on my system. Yours may be different. Make the requisite changes to boot the partition where your Windows installation exists.
|
boot
= /dev/hda default
= win read-only label
= linux |
Most of the lines are self descriptive. The lines we are concerned with is default=win and the last 2 lines which describe on which partition Windows is installed. 'win' is a name that I have given to my Windows OS. You can give any name but see to it that both the lines (default= and label= ) share the same name. This name would appear when you press the <Tab> key at the LILO prompt.
20 Random Tutorials from the same category :
How to view text files in Linux
Linux XP - a joke becoming reality?
How to find - Size of a directory & Free disk space
Debugging "C" And "C++" Programs Using "gdb"
What are the SUID, SGID and the Sticky Bits?
Setup of Ensonic Sound Card (PCI Sound card)
Building And Using Static And Shared "C" Libraries
Access Windows partitions from Linux
Configure PPP for dialup for a single machine
Asking questions in a discussion forum
Manipulating directories in Linux
Network programming under Unix systems
Scheduling tasks using Cron - Part I
Unix Multi-Process Programming and Inter-Process Communications (IPC)
Moving around in the Linux file system
Accessing User Information On A Unix System
Manipulating Files And Directories In Unix
About your files on Linux
Execute a task 'at' the time you want..
Understanding file permissions and modifying them using chmod













