Results 1 to 10 of 10

Thread: Booting to terminal

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Beans
    65
    Distro
    Kubuntu 10.04 Lucid Lynx

    Booting to terminal

    I'm looking for a way to add a menu entry into grub 2 that boots my computer but does not load the GUI, I want it to run the startup scripts and appear at the terminal login screen. I can't seem to get anything that I have found using google to work. It seems that it should be something simple to add to a grub file that shows "Ubuntu, Terminal" on the grub2 menu during system boot that then proceeds to boot ubuntu but does not load any GUI "stuff".

    The more I'm using Linux, the more it appears that the simplest of things have been overlooked during development. For example, the boot up (Grub2) stuff depends on multiple files. My windows server(s) I simply edit boot.ini and I'm done, I add a couple letters and I get no GUI at startup, but Linux is a different story. I have to spend days trying "solutions" I find online and none work. Sorry to ramble, I'm just getting frustrated with such simple task that feel nearly impossible to accomplish.

    To reiterate, I'd like to know if I can add an entry to my grub2 menu that boots my xubuntu to a terminal login.

    TYIA,
    Ray

  2. #2
    Join Date
    Mar 2009
    Location
    Washington DC
    Beans
    610
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Booting to terminal

    I think maybe removing the login manager may send you directly to terminal prompt.
    "- Courage! It couldn't come at a worse time." | Favorite Hockey Player: #8 Cam Neely! |
    Read my Poetry at
    www.poemscribe.com |

  3. #3
    Join Date
    Apr 2008
    Location
    UK
    Beans
    496
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Booting to terminal

    NB: You'll probably need to replace gdm with xdm hereafter for Xubuntu.

    When your system boots you can naturally just switch to a console TTY with Ctrl+Alt+F1..F6. To complete the effect, you can stop gdb with something like:

    Code:
    sudo service gdm stop
    I think if you remove gdm from the startup apps, that'll do the trick for you. Something like this should work:

    Code:
    sudo update-rc.d -f gdm remove
    When you boot up and it hits terminal, you can start an X session with

    Code:
    startx
    Restore the graphical login with:

    Code:
    sudo update-rc.d gdm defaults
    Alternatively, I think if you manually create an /etc/inittab file and configure it to your needs, then Ubuntu will respect the init level you give it.
    Ace1 FreeBSD/Gnome 2, i5 2300, 16GB, HX750W, 20TB ZFS pool, 60GB SSD, Fractal Design XL
    Ace2 Ubuntu/Xubuntu, i7 2600, 16GB, HX850W, 4TB, Asus HD6970, Fractal Design R3
    Ace3 Ubuntu/XFCE, E7200, 4GB, OCZ GameXStream 700W, 8TB

  4. #4
    Join Date
    Jun 2010
    Beans
    65
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Booting to terminal

    st, I've tried those commands using both gdm and xdm. Stopping xdm gives an error saying unknown service, I believe xubuntu still uses gdm - but may be incorrect. However, those commands do not work, I've tried those (found them using google) before posting but to no avail.

    I'm shocked that it is such a pain to do such a simple task, I have the same issue when I attempt to boot without a monitor connected. I never would of thought either of these things would cause such a problem.
    Last edited by rensell; June 28th, 2010 at 02:42 AM.

  5. #5
    Join Date
    Jun 2010
    Beans
    65
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Booting to terminal

    bump for night time help...

  6. #6
    Join Date
    Jun 2010
    Beans
    65
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Booting to terminal

    I'm hoping someone online tonight may be of some help, I've finally found some time today to get back to this issue.

    I've ctr+alt+f1 and log in and run
    Code:
    sudo update-rc.d -f gdm remove
    and it runs and removes gdm. When I reboot it still loads into the GUI. Now when I ctr+alt+f1 and login and run
    Code:
    sudo update-rc.d -f gdm remove
    if says "Removing any system startup links for /etc/init.d/gdm... and is ready for my input, basically saying there are not links.

    So, I'm puzzled as to why it continues going to the GUI on startup!

    Thanks so much for any help.

  7. #7
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: Booting to terminal

    Just press CTRL+ALT+F2 once you have booted up to login prompt.

    If you don't want X running then login to your shell and type:
    Code:
    sudo /etc/init.d/gdm stop
    or
    Code:
    sudo service gdm stop
    depending upon which version you are running
    No longer participating......

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •