LinuxQuestions.org
Visit Jeremy's Blog.
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 12-17-2008, 04:36 AM   #1
Syrrace
LQ Newbie
 
Registered: Nov 2008
Posts: 4

Rep: Reputation: 0
Unhappy Ubuntu 8.04 in runlevel 2 from GRUB


I want to enter in runlevel 2 (like tty0 textual mode without loading gdm and X.org) from my Ubuntu 8.04, and I want to do it from GRUB...


Is it possible?
 
Old 12-17-2008, 04:47 AM   #2
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
to make your runlevel 2 as default see inittab,
check your kernel line in grub in the end type 2.
 
Old 12-17-2008, 05:07 AM   #3
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
Quote:
Originally Posted by Syrrace View Post
I want to enter in runlevel 2 (like tty0 textual mode without loading gdm and X.org) from my Ubuntu 8.04, and I want to do it from GRUB...


Is it possible?
First step to do this is simply rename the link in /etc/rc2.d, assuming you use standard Ubuntu with gnome:
Code:
mv /etc/rc2.d/S30gdm /etc/rc2.d/K30gdm
Ubuntu doesn't use init, it uses upstart these days. So, any further information you'll have to go look at that. There is no inittab.

Also, you might wanna remove 'splash' from your kernel command line in /boot/grub/menu.lst.

Last edited by jcookeman; 12-17-2008 at 05:11 AM.
 
Old 12-17-2008, 05:34 AM   #4
benoy4007
Member
 
Registered: Jun 2004
Location: India
Distribution: Red Hat
Posts: 30

Rep: Reputation: 15
Run kernal with "singal" option from grub.
 
Old 12-17-2008, 05:47 AM   #5
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
To add to what's already been said:

If you just want to do that on occasion, press the "Esc" key when you see "Grub loading" on your screen. This will open the Grub menu. From there, select "Command Line Only".
 
Old 12-18-2008, 05:27 AM   #6
Syrrace
LQ Newbie
 
Registered: Nov 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by benoy4007 View Post
Run kernal with "singal" option from grub.
Maybe "signal"?

But it doesn't work... Ok, I will be more precise: I want to execute on runlevel 2 a LIVECD of Ubuntu from GRUB. Is is possibile?

;(

Last edited by Syrrace; 12-18-2008 at 05:51 AM.
 
Old 12-18-2008, 06:50 AM   #7
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
In your initial post you said you wanted to enter runlevel 2 without gdm. I told you how to do it.
 
Old 12-18-2008, 06:51 AM   #8
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
You may find what your looking for here.

http://www.google.com/cse?cx=0122857...el+2&sa=Search
 
Old 12-18-2008, 07:10 AM   #9
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
Quote:
Originally Posted by dragonslayer48dx View Post
To add to what's already been said:

If you just want to do that on occasion, press the "Esc" key when you see "Grub loading" on your screen. This will open the Grub menu. From there, select "Command Line Only".
its "single" or "S"


to go into runlevel 2 you can type 2 in place of "S" at grub prompt in the end of kernel line.
 
Old 12-18-2008, 07:16 AM   #10
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
Newsflash folks: runlevel 2 is the default in Ubuntu. So, all he has to do is change the link in /etc/rc2.d
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting into runlevel 3 ubuntu Brynn Linux - Software 5 05-28-2007 09:47 AM
Ubuntu CLI runlevel? virtualme Linux - Newbie 2 01-29-2006 01:55 AM
how to pass runlevel via grub to kernel rskantz@juno.com Linux - Software 4 12-05-2005 03:11 PM
[GRUB] Choose runlevel Cornholio Linux - General 7 03-24-2005 10:50 AM
Change runlevel under GRUB prompt? _tracyy Linux - Software 2 07-23-2004 01:49 AM


All times are GMT -5. The time now is 05:06 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