LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Start a Debian based OS with out X (no gui, only console) (http://www.linuxquestions.org/questions/debian-26/start-a-debian-based-os-with-out-x-no-gui-only-console-700786/)

stenrulz 01-29-2009 08:23 AM

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

utanja 01-29-2009 08:43 AM

Quote:

Originally Posted by stenrulz (Post 3425135)
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..

rizwanrafique 01-29-2009 12:16 PM

Quote:

Originally Posted by stenrulz (Post 3425135)
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.

To restore it back:

Code:

# update-rc.d -f gdm defaults

farslayer 01-29-2009 04:10 PM

boot the system..

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..

stenrulz 01-29-2009 05:24 PM

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).

utanja 01-29-2009 06:50 PM

We gave you a few alternatives. None work? Strange....:confused:. How did you install Debian? You only need a base system for CLI. (no gui).

stenrulz 01-29-2009 07:39 PM

I said that it was a Debian based os. It is untangle firewall/router OS. I really need to know how to disable the GUI. Thanks

stenrulz 01-29-2009 07:40 PM

I need a way of editing the info in gnu grub. Thanks a lot

farslayer 01-29-2009 11:21 PM

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.

stratotak 01-30-2009 01:20 AM

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

utanja 01-30-2009 04:49 PM

How did you install the system initially?

citrusblast 10-02-2010 12:55 AM

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.


All times are GMT -5. The time now is 07:33 PM.