SlideShare a Scribd company logo
1 of 10
LILO

LInux LOader
What it is and What it is not..
●

LILO a bootloader for Linux /x86 and other PC -OS.

●

Uses hard-drive or floppy to load.

●

Can boot Linux as well as DOS,Windows (all versions),
OS/2, and the BSD variants

●

Does not understand filesystem.

●

Code and Image stored in raw disk offset

●

Uses BIOS routines to load.
Configuring LILO
●

Configuration settings stored in lilo.conf

●

First section has global options(parameters for boot location

/etc/lilo.conf

attributes)
●

●

The second section(s) contain parameters associated
with the operating system images to be loaded.
Upto 16 boot selections.
Sample lilo.conf
●

boot=/dev/hda

●

map=/boot/map

●

install=/boot/boot.b

●

compact

●

prompt

●

timeout=50

●

image=/boot/vmlinuz-2.0.36

●

label=linux

●

root=/dev/hda2

●

read-only

●

other=/dev/hda1

●

label=win

●

Run /sbin/lilo after
editing for the changes to
take place
Installation
●

●

●

Kernel must live in some place that is accessible by the
BIOS.
Program builds the tables that list which sectors are
used by the files used to load the operating system. As a
consequence, all of these files must live in a partition
that can be accessed by the BIOS.
Lilo has to be reinstalled every time a change is made.
Installation...contd..
●

Precautions:
–

The 'boot=' directive in /etc/lilo.conf tells Lilo where it should place
its primary boot loader. In general, you can either specify the
master boot record (/dev/hda) or the root partition of your Linux
installation (is usually is /dev/hda1 or /dev/hda2)

–

Install lilo on root partition if another O.S is already installed. In
this case, you must mark the partition as ``bootable'' using the
``a'' command of fdisk or the ``b'' command of cfdisk.

–

"linear" keyword in /etc/lilo.conf can help in dealing with geometry
problems. The keyword instructs Lilo to use linear sector
addresses instead of sector/head/cylinder tuples. Conversion
to 3D addresses is delayed to run-time, therefore making the
setup more immune to geometry problems.
LILO Usage
●

●

●

At boot-time LILO waits for specified time.
Choose an operating system image to boot by typing its
label.(Press TAB for available labels).
Options can be
–
–

dos

–
●

linux
linux single(for recovery options)

Command line arguments also supported.
Usage continued...
●

●

root=: you can tell the Linux kernel to mount as root a different
partition than the one appearing in /lilo.conf.
init=: version 1.3.43 and newer of the Linux kernel can
execute another command instead of /sbin/init, as specified
on the command line.(Example:you can access the bare system
by specifying init=/bin/sh)

●

A number: by specifying a number on the kernel command
line, you instruct init to enter a specific run-level (the default is
usually 3 or 2).
Limitations
●

●

●

●

The number of boot options (or something) is limited
(only 19 or so). This plays a role if you always only
add new kernels, as is advisable (cannot result in a
non-bootable system).
The label size is limited. If you have many boot
options, you want descriptive names.
It loads the kernel quite slowly (like, tens of
seconds).
It is not aware of filesystem thus images have to
pointed with exact physical address.
Limitations...continued
➔

Bios Limitations:
–

The most common BIOS restrictions that affect LILO are the
limitation to two hard disks and the inability to access more
than 1024 cylinders per disk. LILO can detect both conditions,
but in order to work around the underlying problems, manual
intervention is necessary.

–

LILO depends on the BIOS to load the following items:
/boot/boot.b
/boot/map (created when running /sbin/lilo) a
all kernels the boot sectors of all other operating systems it
boots the startup message, if one has been defined

More Related Content

What's hot

BeagleBone Black with Upstream Software
BeagleBone Black with Upstream SoftwareBeagleBone Black with Upstream Software
BeagleBone Black with Upstream SoftwareGlobalLogic Ukraine
 
Linux Boot Process
Linux Boot ProcessLinux Boot Process
Linux Boot Processdarshhingu
 
Windows 10 Operating System
Windows 10 Operating SystemWindows 10 Operating System
Windows 10 Operating Systemawaisajaz
 
Linux boot process
Linux boot processLinux boot process
Linux boot processbrusnigin
 
Grub2 Booting Process
Grub2 Booting ProcessGrub2 Booting Process
Grub2 Booting ProcessMike Wang
 
Linux booting Process
Linux booting ProcessLinux booting Process
Linux booting ProcessGaurav Sharma
 
Linux booting procedure
Linux booting procedureLinux booting procedure
Linux booting procedureDhaval Kaneria
 
An Insight into the Linux Booting Process
An Insight into the Linux Booting ProcessAn Insight into the Linux Booting Process
An Insight into the Linux Booting ProcessHardeep Bhurji
 
Code4vn - Linux day - linux boot process
Code4vn - Linux day - linux boot processCode4vn - Linux day - linux boot process
Code4vn - Linux day - linux boot processCường Nguyễn
 
Linux booting process!!
Linux booting process!!Linux booting process!!
Linux booting process!!sourav verma
 
Linux booting process - Linux System Administration
Linux booting process - Linux System AdministrationLinux booting process - Linux System Administration
Linux booting process - Linux System AdministrationSreenatha Reddy K R
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot processTeja Bheemanapally
 
Booting Process OS
Booting Process OSBooting Process OS
Booting Process OSanilinvns
 
แนวข้อสอบ Os
แนวข้อสอบ Osแนวข้อสอบ Os
แนวข้อสอบ OsChamp Phinning
 

What's hot (20)

BeagleBone Black with Upstream Software
BeagleBone Black with Upstream SoftwareBeagleBone Black with Upstream Software
BeagleBone Black with Upstream Software
 
Grub
GrubGrub
Grub
 
Linux Boot Process
Linux Boot ProcessLinux Boot Process
Linux Boot Process
 
Introduction to Modern U-Boot
Introduction to Modern U-BootIntroduction to Modern U-Boot
Introduction to Modern U-Boot
 
5. boot process
5. boot process5. boot process
5. boot process
 
Windows 10 Operating System
Windows 10 Operating SystemWindows 10 Operating System
Windows 10 Operating System
 
Linux boot process
Linux boot processLinux boot process
Linux boot process
 
Linux booting process
Linux booting processLinux booting process
Linux booting process
 
Grub2 Booting Process
Grub2 Booting ProcessGrub2 Booting Process
Grub2 Booting Process
 
Linux booting Process
Linux booting ProcessLinux booting Process
Linux booting Process
 
Linux booting procedure
Linux booting procedureLinux booting procedure
Linux booting procedure
 
An Insight into the Linux Booting Process
An Insight into the Linux Booting ProcessAn Insight into the Linux Booting Process
An Insight into the Linux Booting Process
 
Code4vn - Linux day - linux boot process
Code4vn - Linux day - linux boot processCode4vn - Linux day - linux boot process
Code4vn - Linux day - linux boot process
 
Boot process
Boot processBoot process
Boot process
 
Linux booting process!!
Linux booting process!!Linux booting process!!
Linux booting process!!
 
Linux booting process - Linux System Administration
Linux booting process - Linux System AdministrationLinux booting process - Linux System Administration
Linux booting process - Linux System Administration
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 
Booting Process OS
Booting Process OSBooting Process OS
Booting Process OS
 
coreboot@Budapest 10.2009 Meetup
coreboot@Budapest 10.2009 Meetupcoreboot@Budapest 10.2009 Meetup
coreboot@Budapest 10.2009 Meetup
 
แนวข้อสอบ Os
แนวข้อสอบ Osแนวข้อสอบ Os
แนวข้อสอบ Os
 

Viewers also liked

How to dive
How to diveHow to dive
How to divezumoku
 
Ordin MIRA195 svsu criterii svsu si spsu
Ordin MIRA195 svsu criterii svsu si spsuOrdin MIRA195 svsu criterii svsu si spsu
Ordin MIRA195 svsu criterii svsu si spsuomirel
 
Actify's Product solution Presentation in Simplified Chinese
Actify's Product solution Presentation in Simplified ChineseActify's Product solution Presentation in Simplified Chinese
Actify's Product solution Presentation in Simplified ChineseAlen Kuo
 
Konsep teknologi informasi
Konsep teknologi informasiKonsep teknologi informasi
Konsep teknologi informasirenniantika
 
Making your own bootloader
Making your own bootloaderMaking your own bootloader
Making your own bootloaderiamumr
 
氨回收新技術簡介 140219 2
氨回收新技術簡介 140219 2氨回收新技術簡介 140219 2
氨回收新技術簡介 140219 2h3363989
 
tf presentation
tf presentationtf presentation
tf presentationzumoku
 
Soccer for peace
Soccer for peaceSoccer for peace
Soccer for peacesoccerpeace
 
Riscuri I.S.U. Timis
Riscuri I.S.U. TimisRiscuri I.S.U. Timis
Riscuri I.S.U. Timisomirel
 
Minor Presentation - Distributed file system
Minor Presentation - Distributed file systemMinor Presentation - Distributed file system
Minor Presentation - Distributed file systemiamumr
 
Ordin MAI nr.-195-din- 2007 criterii SVSU
Ordin MAI  nr.-195-din- 2007 criterii SVSUOrdin MAI  nr.-195-din- 2007 criterii SVSU
Ordin MAI nr.-195-din- 2007 criterii SVSUomirel
 
CCHHS HR Recruitment Infographic
CCHHS HR Recruitment InfographicCCHHS HR Recruitment Infographic
CCHHS HR Recruitment InfographicLisa Capozzi
 
Repere cultural-educative - protectie civila
Repere cultural-educative -  protectie civilaRepere cultural-educative -  protectie civila
Repere cultural-educative - protectie civilaomirel
 
GAME PLAN FOR 2017 GENERAL ELECTION MARCH-2015
GAME PLAN FOR 2017 GENERAL ELECTION MARCH-2015GAME PLAN FOR 2017 GENERAL ELECTION MARCH-2015
GAME PLAN FOR 2017 GENERAL ELECTION MARCH-2015samuel mutemi
 
It cloud services
It cloud servicesIt cloud services
It cloud serviceszumoku
 

Viewers also liked (20)

How to dive
How to diveHow to dive
How to dive
 
Ordin MIRA195 svsu criterii svsu si spsu
Ordin MIRA195 svsu criterii svsu si spsuOrdin MIRA195 svsu criterii svsu si spsu
Ordin MIRA195 svsu criterii svsu si spsu
 
Actify's Product solution Presentation in Simplified Chinese
Actify's Product solution Presentation in Simplified ChineseActify's Product solution Presentation in Simplified Chinese
Actify's Product solution Presentation in Simplified Chinese
 
Konsep teknologi informasi
Konsep teknologi informasiKonsep teknologi informasi
Konsep teknologi informasi
 
Eğiticinin Eğitimi Uygulama Sınavı Ör.
Eğiticinin Eğitimi Uygulama Sınavı Ör.Eğiticinin Eğitimi Uygulama Sınavı Ör.
Eğiticinin Eğitimi Uygulama Sınavı Ör.
 
Making your own bootloader
Making your own bootloaderMaking your own bootloader
Making your own bootloader
 
Struts2.x
Struts2.xStruts2.x
Struts2.x
 
氨回收新技術簡介 140219 2
氨回收新技術簡介 140219 2氨回收新技術簡介 140219 2
氨回收新技術簡介 140219 2
 
Anika
AnikaAnika
Anika
 
tf presentation
tf presentationtf presentation
tf presentation
 
Soccer for peace
Soccer for peaceSoccer for peace
Soccer for peace
 
Riscuri I.S.U. Timis
Riscuri I.S.U. TimisRiscuri I.S.U. Timis
Riscuri I.S.U. Timis
 
Minor Presentation - Distributed file system
Minor Presentation - Distributed file systemMinor Presentation - Distributed file system
Minor Presentation - Distributed file system
 
Ordin MAI nr.-195-din- 2007 criterii SVSU
Ordin MAI  nr.-195-din- 2007 criterii SVSUOrdin MAI  nr.-195-din- 2007 criterii SVSU
Ordin MAI nr.-195-din- 2007 criterii SVSU
 
CCHHS HR Recruitment Infographic
CCHHS HR Recruitment InfographicCCHHS HR Recruitment Infographic
CCHHS HR Recruitment Infographic
 
Reglamento del aprendiz sena
Reglamento del aprendiz sena Reglamento del aprendiz sena
Reglamento del aprendiz sena
 
Repere cultural-educative - protectie civila
Repere cultural-educative -  protectie civilaRepere cultural-educative -  protectie civila
Repere cultural-educative - protectie civila
 
GAME PLAN FOR 2017 GENERAL ELECTION MARCH-2015
GAME PLAN FOR 2017 GENERAL ELECTION MARCH-2015GAME PLAN FOR 2017 GENERAL ELECTION MARCH-2015
GAME PLAN FOR 2017 GENERAL ELECTION MARCH-2015
 
It cloud services
It cloud servicesIt cloud services
It cloud services
 
00
0000
00
 

Similar to Description and basics of lilo

Crafting GNU/ linux distributions for embedded target using Builroot
Crafting GNU/ linux distributions for embedded target using BuilrootCrafting GNU/ linux distributions for embedded target using Builroot
Crafting GNU/ linux distributions for embedded target using BuilrootSourabh Singh Tomar
 
Grub2 and troubleshooting_ol7_boot_problems
Grub2 and troubleshooting_ol7_boot_problemsGrub2 and troubleshooting_ol7_boot_problems
Grub2 and troubleshooting_ol7_boot_problemsTommy Lee
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot processHari Shankar
 
The ABC of Linux (Linux for Beginners)
The ABC of Linux (Linux for Beginners)The ABC of Linux (Linux for Beginners)
The ABC of Linux (Linux for Beginners)plarsen67
 
101 2.2 install boot manager
101 2.2 install boot manager101 2.2 install boot manager
101 2.2 install boot managerAcácio Oliveira
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot processsagarpdalvi
 
Bootloader and bootloading
Bootloader and bootloadingBootloader and bootloading
Bootloader and bootloadingArpita Gupta
 
101 2.2 install boot manager
101 2.2 install boot manager101 2.2 install boot manager
101 2.2 install boot managerAcácio Oliveira
 
Basis Linux (aan de hand van LPIC-1)
Basis Linux (aan de hand van LPIC-1)Basis Linux (aan de hand van LPIC-1)
Basis Linux (aan de hand van LPIC-1)Peter Martin
 
Linux boot process – explained
Linux boot process – explainedLinux boot process – explained
Linux boot process – explainedLinuxConcept
 

Similar to Description and basics of lilo (20)

101 1.2 boot the system
101 1.2 boot the system101 1.2 boot the system
101 1.2 boot the system
 
Linux Booting Process
Linux Booting ProcessLinux Booting Process
Linux Booting Process
 
Understanding The Boot Process
Understanding The Boot ProcessUnderstanding The Boot Process
Understanding The Boot Process
 
Crafting GNU/ linux distributions for embedded target using Builroot
Crafting GNU/ linux distributions for embedded target using BuilrootCrafting GNU/ linux distributions for embedded target using Builroot
Crafting GNU/ linux distributions for embedded target using Builroot
 
Grub2 and troubleshooting_ol7_boot_problems
Grub2 and troubleshooting_ol7_boot_problemsGrub2 and troubleshooting_ol7_boot_problems
Grub2 and troubleshooting_ol7_boot_problems
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 
Linux admin course
Linux admin courseLinux admin course
Linux admin course
 
The ABC of Linux (Linux for Beginners)
The ABC of Linux (Linux for Beginners)The ABC of Linux (Linux for Beginners)
The ABC of Linux (Linux for Beginners)
 
101 2.2 install boot manager
101 2.2 install boot manager101 2.2 install boot manager
101 2.2 install boot manager
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 
Bootloader and bootloading
Bootloader and bootloadingBootloader and bootloading
Bootloader and bootloading
 
Ch08
Ch08Ch08
Ch08
 
Linux Kernel Debugging
Linux Kernel DebuggingLinux Kernel Debugging
Linux Kernel Debugging
 
101 2.2 install boot manager
101 2.2 install boot manager101 2.2 install boot manager
101 2.2 install boot manager
 
Basis Linux (aan de hand van LPIC-1)
Basis Linux (aan de hand van LPIC-1)Basis Linux (aan de hand van LPIC-1)
Basis Linux (aan de hand van LPIC-1)
 
Linux basics
Linux basics Linux basics
Linux basics
 
Linux basics
Linux basics Linux basics
Linux basics
 
Linux boot process – explained
Linux boot process – explainedLinux boot process – explained
Linux boot process – explained
 
2.2 install boot manager
2.2 install boot manager2.2 install boot manager
2.2 install boot manager
 
Masters porting linux
Masters porting linuxMasters porting linux
Masters porting linux
 

Recently uploaded

Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe中 央社
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...marcuskenyatta275
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireExakis Nelite
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftshyamraj55
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxFIDO Alliance
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FIDO Alliance
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch TuesdayIvanti
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...FIDO Alliance
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Skynet Technologies
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...FIDO Alliance
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform EngineeringMarcus Vechiato
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptxFIDO Alliance
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfSrushith Repakula
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxFIDO Alliance
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfFIDO Alliance
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...ScyllaDB
 

Recently uploaded (20)

Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 

Description and basics of lilo

  • 2. What it is and What it is not.. ● LILO a bootloader for Linux /x86 and other PC -OS. ● Uses hard-drive or floppy to load. ● Can boot Linux as well as DOS,Windows (all versions), OS/2, and the BSD variants ● Does not understand filesystem. ● Code and Image stored in raw disk offset ● Uses BIOS routines to load.
  • 3. Configuring LILO ● Configuration settings stored in lilo.conf ● First section has global options(parameters for boot location /etc/lilo.conf attributes) ● ● The second section(s) contain parameters associated with the operating system images to be loaded. Upto 16 boot selections.
  • 5. Installation ● ● ● Kernel must live in some place that is accessible by the BIOS. Program builds the tables that list which sectors are used by the files used to load the operating system. As a consequence, all of these files must live in a partition that can be accessed by the BIOS. Lilo has to be reinstalled every time a change is made.
  • 6. Installation...contd.. ● Precautions: – The 'boot=' directive in /etc/lilo.conf tells Lilo where it should place its primary boot loader. In general, you can either specify the master boot record (/dev/hda) or the root partition of your Linux installation (is usually is /dev/hda1 or /dev/hda2) – Install lilo on root partition if another O.S is already installed. In this case, you must mark the partition as ``bootable'' using the ``a'' command of fdisk or the ``b'' command of cfdisk. – "linear" keyword in /etc/lilo.conf can help in dealing with geometry problems. The keyword instructs Lilo to use linear sector addresses instead of sector/head/cylinder tuples. Conversion to 3D addresses is delayed to run-time, therefore making the setup more immune to geometry problems.
  • 7. LILO Usage ● ● ● At boot-time LILO waits for specified time. Choose an operating system image to boot by typing its label.(Press TAB for available labels). Options can be – – dos – ● linux linux single(for recovery options) Command line arguments also supported.
  • 8. Usage continued... ● ● root=: you can tell the Linux kernel to mount as root a different partition than the one appearing in /lilo.conf. init=: version 1.3.43 and newer of the Linux kernel can execute another command instead of /sbin/init, as specified on the command line.(Example:you can access the bare system by specifying init=/bin/sh) ● A number: by specifying a number on the kernel command line, you instruct init to enter a specific run-level (the default is usually 3 or 2).
  • 9. Limitations ● ● ● ● The number of boot options (or something) is limited (only 19 or so). This plays a role if you always only add new kernels, as is advisable (cannot result in a non-bootable system). The label size is limited. If you have many boot options, you want descriptive names. It loads the kernel quite slowly (like, tens of seconds). It is not aware of filesystem thus images have to pointed with exact physical address.
  • 10. Limitations...continued ➔ Bios Limitations: – The most common BIOS restrictions that affect LILO are the limitation to two hard disks and the inability to access more than 1024 cylinders per disk. LILO can detect both conditions, but in order to work around the underlying problems, manual intervention is necessary. – LILO depends on the BIOS to load the following items: /boot/boot.b /boot/map (created when running /sbin/lilo) a all kernels the boot sectors of all other operating systems it boots the startup message, if one has been defined