LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-18-2004, 08:49 PM   #1
glore
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: Mandrake 10
Posts: 61

Rep: Reputation: 15
What do INITs mean?


Hello,
I am new to this forum which I found of great help for a newbie like me! Thanks to you all for your cooperation.

The distro I am trying is Mandrake 10 and I am writing from Argentina.

One of my doubts (I have many but will try to ask them one at the time) is:

What are INITs (init 2; init 3; etc) and what are they used for?

As far as I understood, they are accessing levels. For instance, to install the nvidia driver I followed instructions telling me to type init 2 in order to install it. After that I went back to init 5.

Well, any easy explanation for a newbie will be very welcome.

Thanks.
 
Old 04-18-2004, 09:04 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
init 0-6 correspond to the different runlevels.

init 1 is single user mode(root)
init 3 is maintenance mode.
and 5 is the graphical+networking+whatever else,

these can be veiwed by looking through init.d files, depending on your distros directory format.
 
Old 04-18-2004, 09:11 PM   #3
mbegovic
Member
 
Registered: Nov 2003
Location: Vancouver, Canada
Distribution: Currently FC3
Posts: 342

Rep: Reputation: 30
The init is a program that init-ializes the operating system. It runs during the boot-up. I'm not sure what init 1, 2, 3 or 5 is. I know what runlevels 1,2,3 and 5 are, though. Runlevel 1 is single-user mode [only the most basic system services initialized and a root shell opened], runlevels 2 and 3 are multi-user modes (with or without NFS) [everything initialized, but only the text prompt is opened], runlevel 5 is graphical mode [all servers and services started, goes into graphical login screen]. You can configure /etc/inittab to boot into either one of these runlevels. Maybe this is what it means, though I'm not sure.

<edit> Didn't see the previous post when I wrote this. </edit>

Last edited by mbegovic; 04-18-2004 at 09:12 PM.
 
Old 04-18-2004, 09:21 PM   #4
Rick485
Member
 
Registered: Sep 2003
Location: Arizona
Distribution: Kubuntu 8.04
Posts: 202

Rep: Reputation: 30
Here is an article that explains run levels and other information about the Linux boot process. I had bookmarked it and had found it to be helpful.

http://www.pycs.net/lateral/stories/23.html
 
Old 04-19-2004, 06:45 AM   #5
glore
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: Mandrake 10
Posts: 61

Original Poster
Rep: Reputation: 15
Thanks for the help

Thank you for the help. It was very useful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:42 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration