LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-17-2005, 08:11 AM   #1
Khmer
Member
 
Registered: Aug 2005
Posts: 36

Rep: Reputation: 15
What is Run Level?


What is Run Level?

What is diffrent between LILO and GRUP? What is diffrent?
 
Old 10-17-2005, 08:14 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Run level: Determines which programs start up at boot. You could boot into single-user mode, multi-user text-mode, multi-user GUI mode.

Shutdown is also a runlevel with no software running: Switching to runlevel 0 turns off all processes, thus shutting your PC down. . .

Lilo and Grub are two different ways of managing the boot loader. If you don't know which one to use, then it doen't matter and you can use either
 
Old 10-17-2005, 08:36 AM   #3
Khmer
Member
 
Registered: Aug 2005
Posts: 36

Original Poster
Rep: Reputation: 15
No...?

No, i know LILO and GRUB we can use both, but i want to know

what is diffrent between LILO and GRUB if we compare?
 
Old 10-17-2005, 09:00 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Grub's config lives in /boot, Lilo's in /etc

Grub has a command-shell environment, Lilo doesn't

Grub updates as soon as you edit the config file, Lilo needs doing manually

Grub understands some filesystems natively, Lilo doesn't

But at the end of the day, they both give you a text-based menu that allows you to choose amongst your boot options to start Linux or any other OS
 
Old 10-17-2005, 09:58 AM   #5
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
grub also gives you some sort of security. You can set up a password. The problem with lilo is that one can boot into single user mode without having the root password and can harm your system. You can be assured that this will never happen with grub.
 
Old 10-18-2005, 12:25 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,691
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
(1) To understand run-levels, look at man init and examine the file /etc/inittab. (And /etc/rc.d directories.)

init is the first program that starts, and it runs all the time. What it does is to start all of the other programs, and to clean-up after programs that die. The "inittab" specifies the behavior of that program. The "run level" is a parameter that determines which inittab entries are to be processed. Various elegant things are thus made possible: rebooting, and shutting down, are both handled by switching runlevels.

===

(2) Both grub and LILO are programs that are responsible for getting the Linux kernel into memory in the first place. Of the two, I find that grub is much more satisfactory -- largely because of its flexibility and because of the tools that it provides for your use "when things go slightly wrong."
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Level 3 webwolf70 Mandriva 5 01-17-2005 10:41 PM
What is run level? ejennings_98 Linux - Newbie 8 11-05-2003 04:46 PM
Run level Joey.Dale Linux - General 4 06-18-2003 04:59 PM
Run Level POWERBOOKM Linux - Newbie 2 12-01-2001 08:44 PM
run level isajera Linux - Software 2 06-22-2001 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration