Change Fedora Default Runlevel With inittab Configuration File on Fedora 10



Computer Configuration GNU Linux Fedora using Linux Command

 

   The example below show the default inittab configuration file on Fedora 10 operating system.  The inittab configuration file below show default runlevel for fedora 10 that mark by the line id:5:initdefault: that boot the Fedora 10 system to X11mode or GUI mode that give you the graphical desktop.  To change the Fedora 10 default runlevel or change the default boot behavior from X11 graphical desktop to text base login screen... change the inittab configuration line from id:5:initdefault: to runlevel 3 (Full multiuser mode) that mark by id:3:initdefault: as show on inittab configuration file example below.

 

Default inittab configuration file is set to id:5:initdefault: that make Fedora 10 to boot and give you graphical desktop screen.

Fedora 10 graphical desktop screen.

[root@fedora ~]# cat /etc/inittab

# inittab is only used by upstart for the default runlevel.

#

# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.

#

# System initialization is started by /etc/event.d/rcS

#

# Individual runlevels are started by /etc/event.d/rc[0-6]

#

# Ctrl-Alt-Delete is handled by /etc/event.d/control-alt-delete

#

# Terminal gettys (tty[1-6]) are handled by /etc/event.d/tty[1-6] and

# /etc/event.d/serial

#

# For information on how to write upstart event handlers, or how

# upstart works, see init(8), initctl(8), and events(5).

#

# Default runlevel. The runlevels used are:

#   0 - halt (Do NOT set initdefault to this)

#   1 - Single user mode

#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)

#   3 - Full multiuser mode

#   4 - unused

#   5 - X11

#   6 - reboot (Do NOT set initdefault to this)

#

id:5:initdefault:

[root@fedora ~]#

 

Edit inittab configuration file to id:3:initdefault: make Fedora 10 to boot and give you text base login.

Fedora 10 text base login screen.

[root@fedora ~]# cat /etc/inittab

# inittab is only used by upstart for the default runlevel.

#

# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.

#

# System initialization is started by /etc/event.d/rcS

#

# Individual runlevels are started by /etc/event.d/rc[0-6]

#

# Ctrl-Alt-Delete is handled by /etc/event.d/control-alt-delete

#

# Terminal gettys (tty[1-6]) are handled by /etc/event.d/tty[1-6] and

# /etc/event.d/serial

#

# For information on how to write upstart event handlers, or how

# upstart works, see init(8), initctl(8), and events(5).

#

# Default runlevel. The runlevels used are:

#   0 - halt (Do NOT set initdefault to this)

#   1 - Single user mode

#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)

#   3 - Full multiuser mode

#   4 - unused

#   5 - X11

#   6 - reboot (Do NOT set initdefault to this)

#

id:3:initdefault:

[root@fedora ~]#

 




0 comments: