Showing posts with label LILO. Show all posts
Showing posts with label LILO. Show all posts

Important directories LILO BOOT Loader and hard driver | sbin, lilo, boot,lilo.conf,/dev/hda,hdb,sda,sdb

The following files are significant to LILO and generated at the time of initial installation
/sbin/lilo map installer directory present in /sbin/lilo
/boot/boot.b boot loader directory are present in /boot/boot.b
/boot/map Boot map has the location of the kernel /boot/map
/etc/lilo.conf is the configuration of lilo directory /etc/lilo.conf

Linux hard driver referred as device files that will be present in /dev directory
If the system have one or more IDE drive then there file are /dev/hda and /dev/hdb
If the system have one or more SCSI drive then there files are /dev/sda and /dev/sda



Installing Configuring LILO MBR | how to configure LILO boot loader in MBR-Master BOOT RECORD

LILO can be installed as the MBR-(MASTER BOOT RECORD) of the boot drive. System has one operating system or it contains two operating system windows and Linux.If the system has the two operating system OS/2 then LILO can be installed on the root partition of the hard drive. If the window Os is install then windows will overwrite MBR at the time of installation and then MBR of windows can be overwritten by LILO.
LILO boot loader installed in the following three ways.

1. From the Master boot record of the hard drive.
2. from the superblock of root partition on the hard drive
3. From the CD-Rom or Floppy disk


LILO can be installed for the first time using shell script named QuickInst
If LlLo is not installed at the time of installing Linux without using quickinst.
The user can still install LILO in two steps
File /etc/lilo.conf is created and configured
/sbin/lilo is run to install LILO and LILO will be made active


LILO Boot loader | LILO Loading in two stages.

LILO is the flexible boot loader for Linux, which is independent of the file system. Using LILO it is possible to select one of sixteen different images at boot time.
LILO can be use MASTER BOOT RECORD (MBR).
MBR-Master boot record it is first sector of the hard disk.
LILO loads it self into the computer memory in two stages.
STAGE1: This stage is know as primary BOOT loader

It is read from the memory by the BIOS from the master boot record.
This stage1 will exist on less than 512 bytes of disk space with MBR and MBR will load stage 2 boot loader.
STAGE2: it is known as secondary boot loader is read into the memory and display the red hat Linux initial screen. These screen the option to select the operating system. After selecting the operating system. It will load into memory and transfers control of the computer to that operating system.
If the users want to have command prompt to key in a command to LILO pressing ctrl XLILO will display a LILO prompt on the screen.
The list of available boot targets is displayed by pressing the key.