Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Boot to Command Line

  1. #1
    Join Date
    Jun 2008
    Location
    South of the Border.
    Beans
    142
    Distro
    Ubuntu 10.04 Lucid Lynx

    Boot to Command Line

    Is it possible to avoid the GUI? Can I go straight to a command line and log in and run as if in a terminal screen?

    Thanks,
    MarkN
    Sony Vaio, 64-bit, running Karmic Koala.
    File Server - That has overran it's budget: MSI 870A-G54 / Radeon HD 5750 / 160 Gig System HDD / 4 x 1TB HDD - RAID 6

  2. #2
    Join Date
    Apr 2009
    Location
    Australia
    Beans
    139
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Boot to Command Line

    You can open a terminal in the GUI by going to Applications>Accessories and click Terminal.
    Dual-boot Mint 10 and Windows 7

    My Linux blog: http://techzillax.blogspot.com/

  3. #3
    Join Date
    Jun 2008
    Location
    South of the Border.
    Beans
    142
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Boot to Command Line

    I am aware of opening a terminal.

    I am curious as to whether I can boot to the command line. (The equivalent of Ctl+Alt+F2.)

    MarkN
    Sony Vaio, 64-bit, running Karmic Koala.
    File Server - That has overran it's budget: MSI 870A-G54 / Radeon HD 5750 / 160 Gig System HDD / 4 x 1TB HDD - RAID 6

  4. #4
    Join Date
    Jan 2010
    Location
    Chicago, IL
    Beans
    23
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Boot to Command Line

    There are a couple ways you can do this. The easiest might just be to start a shell session while actively running Linux by pressing Ctrl-Alt-F2, but remember the second sequence to escape from the session: Ctrl-Alt-F7.

    I think there's also a way to boot exclusively to the command prompt through the ubuntu recovery mode. Besides selecting the recovery mode on boot up in the Grub bootloader I don't know another way. For clarity, the grub bootloader is a menu that will prompt you which partition of your computer you want to boot from before starting up your OS. To activate your bootloader, install grub by typing into a terminal window:
    sudo grub-install /dev/hda

  5. #5
    Join Date
    Dec 2010
    Location
    New York, NY
    Beans
    157
    Distro
    Ubuntu

    Re: Boot to Command Line

    This post tells you how, but I think if you do it this way, you will always boot to CLI. The post shows you how to change back too though.

  6. #6
    Join Date
    Jan 2007
    Beans
    6,543
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Boot to Command Line

    Permanent: Uninstall xorg and gdm. Or install a CLI-only system using the server, alternate or minimal .ISOs
    Temporary: Boot into Recovery Mode as outskut says.

  7. #7
    Join Date
    Sep 2009
    Location
    Shropshire, England
    Beans
    59
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Boot to Command Line

    In order to boot to command line, I insert "text 3" at the end of the linux line in grub,cfg:

    Code:
    linux    /boot/vmlinuz-2.6.32-28- ...... ro text 3

  8. #8
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Boot to Command Line

    In /etc/default/grub, change this line

    GRUB_CMDLINE_LINUX_DEFAULT="splash quiet" to

    GRUB_CMDLINE_LINUX_DEFAULT="text"

    Run sudo update-grub when done. This is easily reversed too if you need to change back.

  9. #9
    Join Date
    Jun 2008
    Location
    South of the Border.
    Beans
    142
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Boot to Command Line

    Thanks. I am having problems with my GUI, so booting to CLI is preferred.

    MarkN
    Sony Vaio, 64-bit, running Karmic Koala.
    File Server - That has overran it's budget: MSI 870A-G54 / Radeon HD 5750 / 160 Gig System HDD / 4 x 1TB HDD - RAID 6

  10. #10
    Join Date
    Mar 2008
    Beans
    7

    Re: Boot to Command Line

    Quote Originally Posted by Blackbird_13 View Post
    In order to boot to command line, I insert "text 3" at the end of the linux line in grub,cfg:

    Code:
    linux    /boot/vmlinuz-2.6.32-28- ...... ro text 3
    what does 3 mean here? thanks!

Page 1 of 2 12 LastLast

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
  •