View Single Post
Old 04-03-2007, 12:04 AM   #3 (permalink)
praka123
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Post Re: Boot Ubuntu INto command line

Debian and Ubuntu has different runlevels while compared to mandrake,suse,fedora etc

default runlevel is 2.while S is single user or 1 also.
3,4,5 are simply the same as runlevel 2;and runlevel 6 will reboot,0=halt

for getting direct CLI,you may need to stop gdm from executing
One solution is to boot into single user level via grub kernel line appnended with a "1" .after reaching single user,run "telinit 2" will get a CLI without gdm started.

https://wiki.ubuntu.com/ReplacementI...direct=upstart

Debian and Ubuntu from edgy onwards uses a replacement for sysVinit called upstart.upstart will make booting much speeder by executing scripts asynchronously or by parallel execution of boot time scripts thus speeding up thus i feel is superior than other distros.though InitNG exists for distros like Gentoo.

edit:solution:
Quote:
In which case, this may work, although I'll add the caveat that I haven't tried this myself. By default Ubuntu starts at runlevel 2, and 3 -5 are just duplicates. Create /etc/inittab as discussed earlier, and set the default runlevel to be 3. Edit the files in /etc/rc3.d to meet your requirements. Specifically the file named /etc/rc3.d/S13gdm starts your X session, so if you delete this (or for safety move it to another location), and then (re)start into runlevel 3, your X session will not start.
source:
http://www.experts-exchange.com/OS/L..._22115162.html
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline