LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Closed Thread
  Search this Thread
Old 09-24-2012, 07:47 AM   #1
sudi267
LQ Newbie
 
Registered: Sep 2012
Distribution: debian ubuntu
Posts: 10

Rep: Reputation: Disabled
Exclamation how to change runlevel of centOS


hello friends
i have changed runlevel of centos6.2 to 5 by editing /etc/inittab file
earliar it was 3

if i want to revert it i.e setting the runlevel back to 3 ?
how do i do that, the OS is taking a longer time to boot,infact jus progress bar comes and the complete screen of virt-viewer becomes blank their is no login prompt also

i have installed centOS6.2-i386 as virtual OS on ubuntu 12.04 desktop version
i m totally new to LINUX i did all the installation after searching on google
i dont have deep knowledge of linux
so please help me
 
Old 09-24-2012, 07:51 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please post your thread once and in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of http://www.linuxquestions.org/questi...os-4175428771/.
 
Old 09-24-2012, 07:59 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Open a terminal window and
Code:
su -     (or sudo or whatever)
vi /etc/inittab
<change back to this>
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
<save and exit>
init 6
That ought to do it.

You'll come up in a console. If you want X running you can probably use startx to do that (you should have that or something similar). When you're done with X, just exit from it which will get you back to console (and, as root, you can inti 0 to shut down the system).

Hope this helps some.
 
Old 09-24-2012, 08:50 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by tronayne View Post
Open a terminal window
When a thread is marked for closure as a duplicate you are not expected to post in it.
 
Old 09-24-2012, 10:07 AM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Sorry, missed the duplicate part.

Blow 'er away!
 
  


Closed Thread



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
how to change runlevel of centOS sudi267 Linux - Newbie 2 09-25-2012 01:32 PM
initializing runlevel 5 from CentOS nathan.eder2004 Linux - General 4 12-30-2006 05:32 PM
Change runlevel jstephens84 Debian 4 01-02-2006 05:25 PM
Change runlevel Quiber Linux - Software 1 01-10-2005 11:27 PM
how do i change my runlevel pguru Linux - Newbie 5 08-13-2004 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:36 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
Open Source Consulting | Domain Registration