Start a Debian based OS with out X (no gui, only console)
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Start a Debian based OS with out X (no gui, only console)
Hi, i would like to know how to start a Debian based OS without X (no gui, only console) by editing or adding a line in gnu grub. Does any one know how to do this? I need to install some video drivers before it will load the GUI. Thanks a lot
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 581
Rep:
Quote:
Originally Posted by stenrulz
Hi, i would like to know how to start a Debian based OS without X (no gui, only console) by editing or adding a line in gnu grub. Does any one know how to do this? I need to install some video drivers before it will load the GUI. Thanks a lot
Just eliminate either loading gdm, or kdm now your system will load at the gui...
you can use sysvconfig at root to stop these initial services..
Hi, i would like to know how to start a Debian based OS without X (no gui, only console) by editing or adding a line in gnu grub. Does any one know how to do this? I need to install some video drivers before it will load the GUI. Thanks a lot
Code:
# update-rc.d -f gdm remove
Or whichever display manager (kdm/xdm) you're using.
CTRL+ALT+F2 - to get to a command prompt so you can login as root /etc/init.d/gdm stop - Shut down gdm/X
aptitude update
aptitude install build-essential module-assistant
m-a update
m-a prepare
OK now you are ready to install/compile your nvidia or ATI drivers..
it will not fully load up. It dies loading the linux video drivers that do not work 100%. I need a to edit some thing in gnu grub to disable Start X (GUI).
You don't disable X by editing grub.. My post told you how to boot the system, get to a command prompt then shut down gdm/x
I even included directions on how to install the compile environment and Kernel headers so you could compile a nvidia or ATI driver.. if you know a better way then please share, but what I posted has always worked for me on Debian based systems.
Have you booted in single user mode yet?On debian it has 2 entries in grub.Multiuser and single user.If you boot using single user it boots to a root password command.You can do your repairs from a cli.If it dosent have a single user mode entry in grub..you can use "e" to edit the grub command and add single to it and then enter "b' to boot..it should boot as single user...then you can use nano to edit xorg.conf and change driver to vesa and see if that gets gui working.
Like this
/boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro single
I've asked around on the Untangle forums about this very issue, a while back, and gotten the response from the developers that, because of the way the GUI is integrated into the distro, there is no way to launch without it without breaking the system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.