6
4
Ok, this might sound ridiculous, but of all the issues I could have, I'm scratching my head over booting into text mode. Normally I'm in the opposite direction, such as startx
not working.
To put the wtf-level of this into perspective, I just managed to run Photoshop CS5 without problems (I'm trying to go into text mode to install nVidia graphics drivers).
Speaking of levels, the runlevels concept is confusing me; Debian seems to have a default runlevel of 2 - in the readme for the drivers it says such a runlevel would be text mode, and not even have networking (and that the "default" would be 5).
Just to clear that up, on this Debian, /etc/inittab
says:
# The default runlevel.
id:2:initdefault:
Then, I think about booting into "recovery mode", which is text-only. I have a gut feeling that's not the way to do it, as I'm not trying to "recover" anything, and I don't even know what changes in that mode.
So I google, and a post says I should edit /boot/grub/grub.cfg
. But that file says at the beginning:
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
And I really don't feel comfortable editing a file that says that.
Then I find this other post, Debian-specific. Basically it says to go root and disable the login manager:
# update-rc.d -f gdm remove
I was just going to try that out, but some commenters disagreed, some saying I should move a file:
# mv /etc/rc2.d/S30gdm /etc/rc2.d/K70gdm
Other put this in his .bash_profile
:
if [ "$(echo $(who am i)|awk '{print $2}')" = "tty1" ]; then startx;logout;fi
(don't ask me what that means) Somebody even mentions this as a solution:
# apt-get remove gdm
Could anybody tell me a sane, simple way of booting into text-mode on this Debian-based distro?
This helped me a ton. Thanks. But I have a question: Does this stop Gnome from loading on boot? Or does it still load and the user is just presented text mode? – mawburn – 2013-09-29T17:13:56.993
@MadBurn I have no idea at the moment, but you can check by running
top
in text mode, I believe Gnome's process is called gnome-session or something. If I'm not mistaken, it won't be loaded, but again I'm not sure. I'm glad my answer helped you out :) – Camilo Martin – 2013-10-01T11:32:13.713I think it does stop the process from starting. I wasn't able to find anything in the process list that told me otherwise. All the top processes were just core system processes. Either way, my broken-down-laptop Linux Mint 15 MATE based home server runs like a champ now. :) – mawburn – 2013-10-01T13:06:12.193
Hmmm, a broken old laptop as a server... pretty cool idea. I'm also sure your Gnome's not running because it's very prominent by resource usage on
top
. – Camilo Martin – 2013-10-02T14:44:55.763