SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque

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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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
 

Último

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Último (20)

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 

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