LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 06-17-2005, 03:06 PM   #1
Randall Slack
Member
 
Registered: Feb 2005
Location: Rotterdam, The Netherlands
Distribution: Debian - Ubuntu
Posts: 219

Rep: Reputation: 30
change runlevel on boot?


hi all,

just a quick question here,

i've been using xdm to log in, but due its lack of features i need something else,
i'm trying GDM now, but apparently some dependancy missing
(thought i would get an error message at boot, or it would jump to xdm,
i admit i didn't check as thorough as i've should)

it hangs when going into X, have setup up runlevel 4 before. and no way to get out.
next thing i'm thinking of is installing the whole gnome section and remove it later on.
but i wonder, since you can manually boot into your default runlevel with

" bare.i root=/dev/hda3 noinitrd ro "

can you boot into a different runlevel, like this? i've been trying a lot of things, but i can't find much on it on google, or just looking in the wrong place.

anyway, hope somebody knows, otherwise i just install the gnome thing.

much obliged!
 
Old 06-17-2005, 03:15 PM   #2
Ipolit
Member
 
Registered: Nov 2003
Location: Bulgaria
Distribution: Vector Linux, Morphix
Posts: 293

Rep: Reputation: 31
boot the system with your installation disk, login as root (without password)
mount -t reiserfs /dev/hda1 /mnt
cd /mnt/etc
nano inittab - starts nano editor to edit inittab (if you don't have it try with pico - same procedure)
change
# The default runlevel.
id:4:initdefault: to 3
press ctrl+O to save
press ctrl+X to exit
reboot
now you'll boot in text mode
you can start graphical interface with startx

the line for the mounting deppends on your filesystem and the place of your hd
 
Old 06-17-2005, 03:27 PM   #3
Randall Slack
Member
 
Registered: Feb 2005
Location: Rotterdam, The Netherlands
Distribution: Debian - Ubuntu
Posts: 219

Original Poster
Rep: Reputation: 30
Great Stuff!!

and i'm in my inittab right now with vi,

but have one other problem, think i removed pico and nano is not default i guess, did tried it earlier and liked it.
the only editor i have left that will work (normally do everything with mc, but doesnt work) is vi,
only the keystrokes in vi are not working, can scrol down to 4, but when i try to edit????

what am i doing wrong here?

just found the button to start the "insert mode" (think it was control?)

i still need to get out now!!

Last edited by Randall Slack; 06-17-2005 at 03:31 PM.
 
Old 06-17-2005, 03:30 PM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
If you use LILO, you can change runlevels right there. Been awhile since I used lilo but get to the built-in 'command prompt' somehow.. ESC or whatever, one of the function keys. Something. Then type
Code:
Slackware 3
If "Slackware" is the title that you use for the linux partition. That will boot slackware into init3....

Sorry for the vaugeness... I'm a grub person myself. Grub can do the same thing, I forget how tho... That will save you the hassle of using a Slackware CD...
 
Old 06-17-2005, 03:32 PM   #5
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
"i" for insert. Then edit. "ESC" to exit the editing mode. "SHIFT+Z" to save and then "SHIFT+Z" to quit.
 
Old 06-17-2005, 03:37 PM   #6
Randall Slack
Member
 
Registered: Feb 2005
Location: Rotterdam, The Netherlands
Distribution: Debian - Ubuntu
Posts: 219

Original Poster
Rep: Reputation: 30
Worked like a charm!!!

have a bautifull darkstar login prompt again,

thnx guys, think i can manage from here.
 
Old 06-30-2005, 04:30 PM   #7
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by jong357
"i" for insert. Then edit. "ESC" to exit the editing mode. "SHIFT+Z" to save and then "SHIFT+Z" to quit.
How about a 'Shift+ZZ' to save and quit instead of doing it seperatly.. or :wq! works as well..

Last edited by trickykid; 06-30-2005 at 04:31 PM.
 
  


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
Change runlevel in FC3 FinalFlash Linux - Newbie 3 05-15-2005 12:01 PM
Change runlevel Quiber Linux - Software 1 01-11-2005 12:27 AM
how do i change my runlevel pguru Linux - Newbie 5 08-13-2004 02:51 PM
Change runlevel under GRUB prompt? _tracyy Linux - Software 2 07-23-2004 01:49 AM
some services down after a change of runlevel zovres Linux - Newbie 5 10-15-2003 08:48 PM


All times are GMT -5. The time now is 10:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration