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! |
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 |
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!! |
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 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... |
"i" for insert. Then edit. "ESC" to exit the editing mode. "SHIFT+Z" to save and then "SHIFT+Z" to quit.
|
Worked like a charm!!!
have a bautifull darkstar login prompt again, thnx guys, think i can manage from here. |
Quote:
|
All times are GMT -5. The time now is 04:40 PM. |