How to start Ubuntu in Console modeUbuntu recovery mode impossible on lubuntu 18.04.1No tty for new 18.04Boot to command line without loading GUIapt-get update fails to fetch files, “Temporary failure resolving …” errorI can't get grub menu to show up during bootHow do I change the runlevel on systemd?How do I install Ubuntu 18 without the GUI?Add GRUB menu item to boot into terminalUbuntu 15.04 Server - How to stop X from starting at bootHow to edit GRUB after POST for text only console mode?Ubtunu 12.04 x86_64 Which Proprietary Nvidia Driver for nVidia GT216GLM [Quadro FX 880M] supports brightness controls on Lenvo W510?Ubuntu 16.04 MSI Steelseries keyboard doesnt work properlyTTY console not working on Imac/Ubuntu16.04VMWare Fusion 10, Ubuntu 16.04 LTS low graphics mode issues
Is "to go berserk" used by native speakers or is it obsolete?
What's the best way of typing the following 58 equations into LaTeX?
Feeling burned-out in PhD. program and thinking about dropping out
Cheating On Lichess?
Not registering my US born child of 1 US parent as a US citizen
Easier way to type multiple lines on a diagonal path in illustrator?
What do you call candidates in elections who don't actually have a chance to win and only create an illusion of competition?
What stops one country from issuing another country's passports?
Storing info in JWT payload
Adult vs Kitten vs All Stages cat food
Journal editor made bad edits to my (accepted) paper - how do I respond?
Chess Tournaments without Studying Theory?
How do you all work out the relative costs of spells?
Could a Falcon Heavy really put six GPS Block III satellites in orbit?
Not Quite a Pipe Dream
My passport's Machine Readable Zone is damaged. How do I deal with it?
In C#, is there a way to enforce behavior coupling in interface methods or is the fact that I am trying to do that a design smell?
Brainfuck interpreter written in C
Router wont hold config
What's the trick to shaking the berry trees?
If I have an Earth-like world with Earth-like fauna, and I want brightly-colored mammals, what would be a realistic way of causing that to evolve?
Is philosophy primarily about proving things to the best of our ability?
Merging rectangles in c++
How to create a new file via touch if it is in a directory which doesn't exist?
How to start Ubuntu in Console mode
Ubuntu recovery mode impossible on lubuntu 18.04.1No tty for new 18.04Boot to command line without loading GUIapt-get update fails to fetch files, “Temporary failure resolving …” errorI can't get grub menu to show up during bootHow do I change the runlevel on systemd?How do I install Ubuntu 18 without the GUI?Add GRUB menu item to boot into terminalUbuntu 15.04 Server - How to stop X from starting at bootHow to edit GRUB after POST for text only console mode?Ubtunu 12.04 x86_64 Which Proprietary Nvidia Driver for nVidia GT216GLM [Quadro FX 880M] supports brightness controls on Lenvo W510?Ubuntu 16.04 MSI Steelseries keyboard doesnt work properlyTTY console not working on Imac/Ubuntu16.04VMWare Fusion 10, Ubuntu 16.04 LTS low graphics mode issues
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I want to know if there is a way to switch to console mode from boot menu.
I've NVIDIA 1070 and every time there is an update, GUI stops working. All I need to do is re-install the drivers however to do that I need console.
[EDIT]: I should have added more information to this question but I'll comment on all answers. In short: I've tried text instead of quite splash I do see booting in text more however I don't get login screen ctrl+alt+f1 doesn't help because GDM keep trying to restart. Previously I managed to kill GDM through multiple tries but is not working since latest update
[EDIT]: After searching for runlevel, I've found Change runlevel on 16.04? but I think it required me to have running system to make changes, please correct me if I'm wrong.
16.04 nvidia
add a comment
|
I want to know if there is a way to switch to console mode from boot menu.
I've NVIDIA 1070 and every time there is an update, GUI stops working. All I need to do is re-install the drivers however to do that I need console.
[EDIT]: I should have added more information to this question but I'll comment on all answers. In short: I've tried text instead of quite splash I do see booting in text more however I don't get login screen ctrl+alt+f1 doesn't help because GDM keep trying to restart. Previously I managed to kill GDM through multiple tries but is not working since latest update
[EDIT]: After searching for runlevel, I've found Change runlevel on 16.04? but I think it required me to have running system to make changes, please correct me if I'm wrong.
16.04 nvidia
7
Have you tried appending a3to the boot options (adding3toquiet splash)?
– muru
Dec 12 '16 at 2:26
I'll try that, so basically just changequiet splashtoquiet splash 3is that correct?
– wisemonkey
Dec 12 '16 at 5:47
Amazing thanks a lot, this is what I was looking for. I would like to know if I can somehow make NVidia (proprietary) drivers configure properly with every kernel update. But even if not this should help me. You can add it as an answer and I'll accept it.
– wisemonkey
Dec 12 '16 at 6:02
The most correct answer is here: superuser.com/a/1139020/403009
– Eric Wang
Mar 29 '18 at 19:15
add a comment
|
I want to know if there is a way to switch to console mode from boot menu.
I've NVIDIA 1070 and every time there is an update, GUI stops working. All I need to do is re-install the drivers however to do that I need console.
[EDIT]: I should have added more information to this question but I'll comment on all answers. In short: I've tried text instead of quite splash I do see booting in text more however I don't get login screen ctrl+alt+f1 doesn't help because GDM keep trying to restart. Previously I managed to kill GDM through multiple tries but is not working since latest update
[EDIT]: After searching for runlevel, I've found Change runlevel on 16.04? but I think it required me to have running system to make changes, please correct me if I'm wrong.
16.04 nvidia
I want to know if there is a way to switch to console mode from boot menu.
I've NVIDIA 1070 and every time there is an update, GUI stops working. All I need to do is re-install the drivers however to do that I need console.
[EDIT]: I should have added more information to this question but I'll comment on all answers. In short: I've tried text instead of quite splash I do see booting in text more however I don't get login screen ctrl+alt+f1 doesn't help because GDM keep trying to restart. Previously I managed to kill GDM through multiple tries but is not working since latest update
[EDIT]: After searching for runlevel, I've found Change runlevel on 16.04? but I think it required me to have running system to make changes, please correct me if I'm wrong.
16.04 nvidia
16.04 nvidia
edited Apr 13 '17 at 12:24
Community♦
1
1
asked Dec 11 '16 at 22:45
wisemonkeywisemonkey
2,5836 gold badges23 silver badges34 bronze badges
2,5836 gold badges23 silver badges34 bronze badges
7
Have you tried appending a3to the boot options (adding3toquiet splash)?
– muru
Dec 12 '16 at 2:26
I'll try that, so basically just changequiet splashtoquiet splash 3is that correct?
– wisemonkey
Dec 12 '16 at 5:47
Amazing thanks a lot, this is what I was looking for. I would like to know if I can somehow make NVidia (proprietary) drivers configure properly with every kernel update. But even if not this should help me. You can add it as an answer and I'll accept it.
– wisemonkey
Dec 12 '16 at 6:02
The most correct answer is here: superuser.com/a/1139020/403009
– Eric Wang
Mar 29 '18 at 19:15
add a comment
|
7
Have you tried appending a3to the boot options (adding3toquiet splash)?
– muru
Dec 12 '16 at 2:26
I'll try that, so basically just changequiet splashtoquiet splash 3is that correct?
– wisemonkey
Dec 12 '16 at 5:47
Amazing thanks a lot, this is what I was looking for. I would like to know if I can somehow make NVidia (proprietary) drivers configure properly with every kernel update. But even if not this should help me. You can add it as an answer and I'll accept it.
– wisemonkey
Dec 12 '16 at 6:02
The most correct answer is here: superuser.com/a/1139020/403009
– Eric Wang
Mar 29 '18 at 19:15
7
7
Have you tried appending a
3 to the boot options (adding 3 to quiet splash)?– muru
Dec 12 '16 at 2:26
Have you tried appending a
3 to the boot options (adding 3 to quiet splash)?– muru
Dec 12 '16 at 2:26
I'll try that, so basically just change
quiet splash to quiet splash 3 is that correct?– wisemonkey
Dec 12 '16 at 5:47
I'll try that, so basically just change
quiet splash to quiet splash 3 is that correct?– wisemonkey
Dec 12 '16 at 5:47
Amazing thanks a lot, this is what I was looking for. I would like to know if I can somehow make NVidia (proprietary) drivers configure properly with every kernel update. But even if not this should help me. You can add it as an answer and I'll accept it.
– wisemonkey
Dec 12 '16 at 6:02
Amazing thanks a lot, this is what I was looking for. I would like to know if I can somehow make NVidia (proprietary) drivers configure properly with every kernel update. But even if not this should help me. You can add it as an answer and I'll accept it.
– wisemonkey
Dec 12 '16 at 6:02
The most correct answer is here: superuser.com/a/1139020/403009
– Eric Wang
Mar 29 '18 at 19:15
The most correct answer is here: superuser.com/a/1139020/403009
– Eric Wang
Mar 29 '18 at 19:15
add a comment
|
4 Answers
4
active
oldest
votes
Yes you can. As described here (ubuntuhandbook.org - Boot into text console ubuntu) you need to edit /etc/default/grub to have the next boot end up in text mode. In summary you will set these parameters:
GRUB_CMDLINE_LINUX_DEFAULT="text"
GRUB_TERMINAL=console
After saving changes you need to run:
sudo update-grub
sudo systemctl enable multi-user.target --force
sudo systemctl set-default multi-user.target
Undoing text-mode
To undo sudo systemctl set-default multi-user.target simply type
sudo systemctl enable graphical.target --force
sudo systemctl set-default graphical.target
Is there any way to show login to terminal by default (likeinit 3in old times), problem withctrl+alt+f1is that GDM keeps retrying to start and I don't get console.
– wisemonkey
Dec 12 '16 at 1:24
Did you try the grub method described in the answer?
– WinEunuuchs2Unix
Dec 12 '16 at 2:17
2
@wisemonkey I have updated the answer with manual updating of grub from Live DVD/USB.
– WinEunuuchs2Unix
Dec 12 '16 at 11:08
4
This does not seem to work on Ubuntu 15.04 and up (I tried 16.04 LTS). A crucial step after you fixed the grub file and run update-grub is to execute:sudo systemctl set-default multi-user.target- only then it started booting straight into console for me. Solution from @yury in the comments of the link you gave.
– f055
Sep 20 '17 at 14:41
1
The undo part is not working on Ubuntu 18.04 and I'd also love to know how to revert this change properly so I don't have to type startx on every boot. Thanks in advance!
– hullunist
Sep 18 at 13:05
|
show 5 more comments
Boot into recovery mode
Immediately after the BIOS/UEFI splash screen during boot, with BIOS, quickly press and hold the Shift key, which will bring up a GNU GRUB menu screen. With UEFI press (perhaps several times) the Esc key to get to the GNU GRUB menu screen. Sometimes the manufacturer's splash screen is a part of the Windows bootloader, so when you power up the machine it goes straight to the GNU GRUB menu screen, and then pressing Shift is unnecessary.
The timing when to press the left Shift key can be tricky, so sometimes if you miss it you need to try it again. If that doesn't work try the answers to I can't get the GRUB menu to show up during boot.
You will see a GNU GRUB menu screen that looks like this:

Press the down arrow key until you select the 2nd entry from the top (the one with the recovery mode in the description) and then press Enter twice.
Now you should see this recovery menu:

Using the arrow keys scroll down to network (the third entry from the bottom in the Recovery Menu) and then press Enter.
Using the arrow keys scroll down to root (the second entry from the bottom in the Recovery Menu) and then press Enter.
You should now see a root prompt and you can run commands from it.
lightdm is called lightdm because it is a lightweight application compared to GDM which is heavy and takes longer to load. If you still have lightdm installed you can switch back to using lightdm as the default login display manager with the command: sudo dpkg-reconfigure gdm3. This will open up a new window allowing you to select either gdm3 or lightdm as the default login display manager.
Reboot the computer with the command reboot
After that the keyboard shortcutCtrl+Alt+F3 may start to work properly, and allow you to start Ubuntu from the console.
Start Ubuntu from a virtual console
Open a text-only virtual console by using the keyboard shortcut Ctrl+Alt+F3.
At the
login:prompt type your username and press Enter.At the
Password:prompt type your user password and press Enter.Now you are logged in to a text-only console, and you can run terminal commands from the console. To reboot the system run the command:
sudo reboot. Press the keyboard shortcut Ctrl+Alt+F7 to exit the virtual console. In Ubuntu 17.10 and later press the keyboard shortcut Ctrl+Alt+F2 to exit from the virtual console.After you have logged in in the terminal type
sudo systemctl start graphical.targetand press Enter to bring up your default login screen, and then login to your Ubuntu desktop environment as usual.
(Just copying previous comment): Is there any way to show login to terminal by default (likeinit 3in old times), problem withctrl+alt+f1is that GDM keeps retrying to start and I don't get console.
– wisemonkey
Dec 12 '16 at 1:26
I replied to your comment by editing my answer.
– karel
Dec 12 '16 at 2:07
Thanks Karel, but this assumes I can get system running somehow. Is that correct? Is there a way to issuesudo dpkg-reconfigure gdmwithout logging in?
– wisemonkey
Dec 12 '16 at 5:49
This does not waor anymoresudo dpkg-reconfigure gdm->package gdm is not installed(ubuntu 16.04). Andsudo dpkg-reconfigure lightdmdoes not do anything.
– Robert
Mar 30 '18 at 12:44
@Robert You are partially right. The reason why I referred to gdm is that gdm is mentioned in the question, therefore I was required to address it in my answer. However if you run the commandapt policy gdmin Ubuntu 16.04 you will see that gdm is indeed a package in the default Ubuntu 16.04 repositories.
– karel
Mar 30 '18 at 12:48
|
show 2 more comments
Press CTRL+ALT+F1 or any other function (F) key up to F7, which takes you back to your "GUI" terminal. These should drop you into a text-mode terminal for each different function key.
Otherwise you can boot into recovery mode if you need:
https://wiki.ubuntu.com/RecoveryMode
Basically hold down SHIFT as you boot up to get the Grub menu.
1
(copying previous comment): Is there any way to show login to terminal by default (like init 3 in old times), problem with ctrl+alt+f1 is that GDM keeps retrying to start and I don't get console. And for recovery mode its same results if I say clean start. I'll read up on other recovery modes and see if they are helpful
– wisemonkey
Dec 12 '16 at 1:26
add a comment
|
Editing /etc/default/grub gave me the boot menu that I needed to boot in recovery mode.
These were my steps:
- Edit
/etc/default/gruband setGRUB_TIMEOUTto-1(the documentation [1] also mentions that you need to comment out any setting ofGRUB_HIDDEN_TIMEOUT). This will allow the boot menu to pop up and stay there until you take action. - Run
sudo update-grubfor changes to take effect. - Reboot and select the recovery mode option in the Grub menu.
[1] https://help.ubuntu.com/community/Grub2/Setup#Specific_Entries
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f859630%2fhow-to-start-ubuntu-in-console-mode%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes you can. As described here (ubuntuhandbook.org - Boot into text console ubuntu) you need to edit /etc/default/grub to have the next boot end up in text mode. In summary you will set these parameters:
GRUB_CMDLINE_LINUX_DEFAULT="text"
GRUB_TERMINAL=console
After saving changes you need to run:
sudo update-grub
sudo systemctl enable multi-user.target --force
sudo systemctl set-default multi-user.target
Undoing text-mode
To undo sudo systemctl set-default multi-user.target simply type
sudo systemctl enable graphical.target --force
sudo systemctl set-default graphical.target
Is there any way to show login to terminal by default (likeinit 3in old times), problem withctrl+alt+f1is that GDM keeps retrying to start and I don't get console.
– wisemonkey
Dec 12 '16 at 1:24
Did you try the grub method described in the answer?
– WinEunuuchs2Unix
Dec 12 '16 at 2:17
2
@wisemonkey I have updated the answer with manual updating of grub from Live DVD/USB.
– WinEunuuchs2Unix
Dec 12 '16 at 11:08
4
This does not seem to work on Ubuntu 15.04 and up (I tried 16.04 LTS). A crucial step after you fixed the grub file and run update-grub is to execute:sudo systemctl set-default multi-user.target- only then it started booting straight into console for me. Solution from @yury in the comments of the link you gave.
– f055
Sep 20 '17 at 14:41
1
The undo part is not working on Ubuntu 18.04 and I'd also love to know how to revert this change properly so I don't have to type startx on every boot. Thanks in advance!
– hullunist
Sep 18 at 13:05
|
show 5 more comments
Yes you can. As described here (ubuntuhandbook.org - Boot into text console ubuntu) you need to edit /etc/default/grub to have the next boot end up in text mode. In summary you will set these parameters:
GRUB_CMDLINE_LINUX_DEFAULT="text"
GRUB_TERMINAL=console
After saving changes you need to run:
sudo update-grub
sudo systemctl enable multi-user.target --force
sudo systemctl set-default multi-user.target
Undoing text-mode
To undo sudo systemctl set-default multi-user.target simply type
sudo systemctl enable graphical.target --force
sudo systemctl set-default graphical.target
Is there any way to show login to terminal by default (likeinit 3in old times), problem withctrl+alt+f1is that GDM keeps retrying to start and I don't get console.
– wisemonkey
Dec 12 '16 at 1:24
Did you try the grub method described in the answer?
– WinEunuuchs2Unix
Dec 12 '16 at 2:17
2
@wisemonkey I have updated the answer with manual updating of grub from Live DVD/USB.
– WinEunuuchs2Unix
Dec 12 '16 at 11:08
4
This does not seem to work on Ubuntu 15.04 and up (I tried 16.04 LTS). A crucial step after you fixed the grub file and run update-grub is to execute:sudo systemctl set-default multi-user.target- only then it started booting straight into console for me. Solution from @yury in the comments of the link you gave.
– f055
Sep 20 '17 at 14:41
1
The undo part is not working on Ubuntu 18.04 and I'd also love to know how to revert this change properly so I don't have to type startx on every boot. Thanks in advance!
– hullunist
Sep 18 at 13:05
|
show 5 more comments
Yes you can. As described here (ubuntuhandbook.org - Boot into text console ubuntu) you need to edit /etc/default/grub to have the next boot end up in text mode. In summary you will set these parameters:
GRUB_CMDLINE_LINUX_DEFAULT="text"
GRUB_TERMINAL=console
After saving changes you need to run:
sudo update-grub
sudo systemctl enable multi-user.target --force
sudo systemctl set-default multi-user.target
Undoing text-mode
To undo sudo systemctl set-default multi-user.target simply type
sudo systemctl enable graphical.target --force
sudo systemctl set-default graphical.target
Yes you can. As described here (ubuntuhandbook.org - Boot into text console ubuntu) you need to edit /etc/default/grub to have the next boot end up in text mode. In summary you will set these parameters:
GRUB_CMDLINE_LINUX_DEFAULT="text"
GRUB_TERMINAL=console
After saving changes you need to run:
sudo update-grub
sudo systemctl enable multi-user.target --force
sudo systemctl set-default multi-user.target
Undoing text-mode
To undo sudo systemctl set-default multi-user.target simply type
sudo systemctl enable graphical.target --force
sudo systemctl set-default graphical.target
edited Sep 18 at 22:41
answered Dec 11 '16 at 22:54
WinEunuuchs2UnixWinEunuuchs2Unix
65.7k18 gold badges125 silver badges243 bronze badges
65.7k18 gold badges125 silver badges243 bronze badges
Is there any way to show login to terminal by default (likeinit 3in old times), problem withctrl+alt+f1is that GDM keeps retrying to start and I don't get console.
– wisemonkey
Dec 12 '16 at 1:24
Did you try the grub method described in the answer?
– WinEunuuchs2Unix
Dec 12 '16 at 2:17
2
@wisemonkey I have updated the answer with manual updating of grub from Live DVD/USB.
– WinEunuuchs2Unix
Dec 12 '16 at 11:08
4
This does not seem to work on Ubuntu 15.04 and up (I tried 16.04 LTS). A crucial step after you fixed the grub file and run update-grub is to execute:sudo systemctl set-default multi-user.target- only then it started booting straight into console for me. Solution from @yury in the comments of the link you gave.
– f055
Sep 20 '17 at 14:41
1
The undo part is not working on Ubuntu 18.04 and I'd also love to know how to revert this change properly so I don't have to type startx on every boot. Thanks in advance!
– hullunist
Sep 18 at 13:05
|
show 5 more comments
Is there any way to show login to terminal by default (likeinit 3in old times), problem withctrl+alt+f1is that GDM keeps retrying to start and I don't get console.
– wisemonkey
Dec 12 '16 at 1:24
Did you try the grub method described in the answer?
– WinEunuuchs2Unix
Dec 12 '16 at 2:17
2
@wisemonkey I have updated the answer with manual updating of grub from Live DVD/USB.
– WinEunuuchs2Unix
Dec 12 '16 at 11:08
4
This does not seem to work on Ubuntu 15.04 and up (I tried 16.04 LTS). A crucial step after you fixed the grub file and run update-grub is to execute:sudo systemctl set-default multi-user.target- only then it started booting straight into console for me. Solution from @yury in the comments of the link you gave.
– f055
Sep 20 '17 at 14:41
1
The undo part is not working on Ubuntu 18.04 and I'd also love to know how to revert this change properly so I don't have to type startx on every boot. Thanks in advance!
– hullunist
Sep 18 at 13:05
Is there any way to show login to terminal by default (like
init 3 in old times), problem with ctrl+alt+f1 is that GDM keeps retrying to start and I don't get console.– wisemonkey
Dec 12 '16 at 1:24
Is there any way to show login to terminal by default (like
init 3 in old times), problem with ctrl+alt+f1 is that GDM keeps retrying to start and I don't get console.– wisemonkey
Dec 12 '16 at 1:24
Did you try the grub method described in the answer?
– WinEunuuchs2Unix
Dec 12 '16 at 2:17
Did you try the grub method described in the answer?
– WinEunuuchs2Unix
Dec 12 '16 at 2:17
2
2
@wisemonkey I have updated the answer with manual updating of grub from Live DVD/USB.
– WinEunuuchs2Unix
Dec 12 '16 at 11:08
@wisemonkey I have updated the answer with manual updating of grub from Live DVD/USB.
– WinEunuuchs2Unix
Dec 12 '16 at 11:08
4
4
This does not seem to work on Ubuntu 15.04 and up (I tried 16.04 LTS). A crucial step after you fixed the grub file and run update-grub is to execute:
sudo systemctl set-default multi-user.target - only then it started booting straight into console for me. Solution from @yury in the comments of the link you gave.– f055
Sep 20 '17 at 14:41
This does not seem to work on Ubuntu 15.04 and up (I tried 16.04 LTS). A crucial step after you fixed the grub file and run update-grub is to execute:
sudo systemctl set-default multi-user.target - only then it started booting straight into console for me. Solution from @yury in the comments of the link you gave.– f055
Sep 20 '17 at 14:41
1
1
The undo part is not working on Ubuntu 18.04 and I'd also love to know how to revert this change properly so I don't have to type startx on every boot. Thanks in advance!
– hullunist
Sep 18 at 13:05
The undo part is not working on Ubuntu 18.04 and I'd also love to know how to revert this change properly so I don't have to type startx on every boot. Thanks in advance!
– hullunist
Sep 18 at 13:05
|
show 5 more comments
Boot into recovery mode
Immediately after the BIOS/UEFI splash screen during boot, with BIOS, quickly press and hold the Shift key, which will bring up a GNU GRUB menu screen. With UEFI press (perhaps several times) the Esc key to get to the GNU GRUB menu screen. Sometimes the manufacturer's splash screen is a part of the Windows bootloader, so when you power up the machine it goes straight to the GNU GRUB menu screen, and then pressing Shift is unnecessary.
The timing when to press the left Shift key can be tricky, so sometimes if you miss it you need to try it again. If that doesn't work try the answers to I can't get the GRUB menu to show up during boot.
You will see a GNU GRUB menu screen that looks like this:

Press the down arrow key until you select the 2nd entry from the top (the one with the recovery mode in the description) and then press Enter twice.
Now you should see this recovery menu:

Using the arrow keys scroll down to network (the third entry from the bottom in the Recovery Menu) and then press Enter.
Using the arrow keys scroll down to root (the second entry from the bottom in the Recovery Menu) and then press Enter.
You should now see a root prompt and you can run commands from it.
lightdm is called lightdm because it is a lightweight application compared to GDM which is heavy and takes longer to load. If you still have lightdm installed you can switch back to using lightdm as the default login display manager with the command: sudo dpkg-reconfigure gdm3. This will open up a new window allowing you to select either gdm3 or lightdm as the default login display manager.
Reboot the computer with the command reboot
After that the keyboard shortcutCtrl+Alt+F3 may start to work properly, and allow you to start Ubuntu from the console.
Start Ubuntu from a virtual console
Open a text-only virtual console by using the keyboard shortcut Ctrl+Alt+F3.
At the
login:prompt type your username and press Enter.At the
Password:prompt type your user password and press Enter.Now you are logged in to a text-only console, and you can run terminal commands from the console. To reboot the system run the command:
sudo reboot. Press the keyboard shortcut Ctrl+Alt+F7 to exit the virtual console. In Ubuntu 17.10 and later press the keyboard shortcut Ctrl+Alt+F2 to exit from the virtual console.After you have logged in in the terminal type
sudo systemctl start graphical.targetand press Enter to bring up your default login screen, and then login to your Ubuntu desktop environment as usual.
(Just copying previous comment): Is there any way to show login to terminal by default (likeinit 3in old times), problem withctrl+alt+f1is that GDM keeps retrying to start and I don't get console.
– wisemonkey
Dec 12 '16 at 1:26
I replied to your comment by editing my answer.
– karel
Dec 12 '16 at 2:07
Thanks Karel, but this assumes I can get system running somehow. Is that correct? Is there a way to issuesudo dpkg-reconfigure gdmwithout logging in?
– wisemonkey
Dec 12 '16 at 5:49
This does not waor anymoresudo dpkg-reconfigure gdm->package gdm is not installed(ubuntu 16.04). Andsudo dpkg-reconfigure lightdmdoes not do anything.
– Robert
Mar 30 '18 at 12:44
@Robert You are partially right. The reason why I referred to gdm is that gdm is mentioned in the question, therefore I was required to address it in my answer. However if you run the commandapt policy gdmin Ubuntu 16.04 you will see that gdm is indeed a package in the default Ubuntu 16.04 repositories.
– karel
Mar 30 '18 at 12:48
|
show 2 more comments
Boot into recovery mode
Immediately after the BIOS/UEFI splash screen during boot, with BIOS, quickly press and hold the Shift key, which will bring up a GNU GRUB menu screen. With UEFI press (perhaps several times) the Esc key to get to the GNU GRUB menu screen. Sometimes the manufacturer's splash screen is a part of the Windows bootloader, so when you power up the machine it goes straight to the GNU GRUB menu screen, and then pressing Shift is unnecessary.
The timing when to press the left Shift key can be tricky, so sometimes if you miss it you need to try it again. If that doesn't work try the answers to I can't get the GRUB menu to show up during boot.
You will see a GNU GRUB menu screen that looks like this:

Press the down arrow key until you select the 2nd entry from the top (the one with the recovery mode in the description) and then press Enter twice.
Now you should see this recovery menu:

Using the arrow keys scroll down to network (the third entry from the bottom in the Recovery Menu) and then press Enter.
Using the arrow keys scroll down to root (the second entry from the bottom in the Recovery Menu) and then press Enter.
You should now see a root prompt and you can run commands from it.
lightdm is called lightdm because it is a lightweight application compared to GDM which is heavy and takes longer to load. If you still have lightdm installed you can switch back to using lightdm as the default login display manager with the command: sudo dpkg-reconfigure gdm3. This will open up a new window allowing you to select either gdm3 or lightdm as the default login display manager.
Reboot the computer with the command reboot
After that the keyboard shortcutCtrl+Alt+F3 may start to work properly, and allow you to start Ubuntu from the console.
Start Ubuntu from a virtual console
Open a text-only virtual console by using the keyboard shortcut Ctrl+Alt+F3.
At the
login:prompt type your username and press Enter.At the
Password:prompt type your user password and press Enter.Now you are logged in to a text-only console, and you can run terminal commands from the console. To reboot the system run the command:
sudo reboot. Press the keyboard shortcut Ctrl+Alt+F7 to exit the virtual console. In Ubuntu 17.10 and later press the keyboard shortcut Ctrl+Alt+F2 to exit from the virtual console.After you have logged in in the terminal type
sudo systemctl start graphical.targetand press Enter to bring up your default login screen, and then login to your Ubuntu desktop environment as usual.
(Just copying previous comment): Is there any way to show login to terminal by default (likeinit 3in old times), problem withctrl+alt+f1is that GDM keeps retrying to start and I don't get console.
– wisemonkey
Dec 12 '16 at 1:26
I replied to your comment by editing my answer.
– karel
Dec 12 '16 at 2:07
Thanks Karel, but this assumes I can get system running somehow. Is that correct? Is there a way to issuesudo dpkg-reconfigure gdmwithout logging in?
– wisemonkey
Dec 12 '16 at 5:49
This does not waor anymoresudo dpkg-reconfigure gdm->package gdm is not installed(ubuntu 16.04). Andsudo dpkg-reconfigure lightdmdoes not do anything.
– Robert
Mar 30 '18 at 12:44
@Robert You are partially right. The reason why I referred to gdm is that gdm is mentioned in the question, therefore I was required to address it in my answer. However if you run the commandapt policy gdmin Ubuntu 16.04 you will see that gdm is indeed a package in the default Ubuntu 16.04 repositories.
– karel
Mar 30 '18 at 12:48
|
show 2 more comments
Boot into recovery mode
Immediately after the BIOS/UEFI splash screen during boot, with BIOS, quickly press and hold the Shift key, which will bring up a GNU GRUB menu screen. With UEFI press (perhaps several times) the Esc key to get to the GNU GRUB menu screen. Sometimes the manufacturer's splash screen is a part of the Windows bootloader, so when you power up the machine it goes straight to the GNU GRUB menu screen, and then pressing Shift is unnecessary.
The timing when to press the left Shift key can be tricky, so sometimes if you miss it you need to try it again. If that doesn't work try the answers to I can't get the GRUB menu to show up during boot.
You will see a GNU GRUB menu screen that looks like this:

Press the down arrow key until you select the 2nd entry from the top (the one with the recovery mode in the description) and then press Enter twice.
Now you should see this recovery menu:

Using the arrow keys scroll down to network (the third entry from the bottom in the Recovery Menu) and then press Enter.
Using the arrow keys scroll down to root (the second entry from the bottom in the Recovery Menu) and then press Enter.
You should now see a root prompt and you can run commands from it.
lightdm is called lightdm because it is a lightweight application compared to GDM which is heavy and takes longer to load. If you still have lightdm installed you can switch back to using lightdm as the default login display manager with the command: sudo dpkg-reconfigure gdm3. This will open up a new window allowing you to select either gdm3 or lightdm as the default login display manager.
Reboot the computer with the command reboot
After that the keyboard shortcutCtrl+Alt+F3 may start to work properly, and allow you to start Ubuntu from the console.
Start Ubuntu from a virtual console
Open a text-only virtual console by using the keyboard shortcut Ctrl+Alt+F3.
At the
login:prompt type your username and press Enter.At the
Password:prompt type your user password and press Enter.Now you are logged in to a text-only console, and you can run terminal commands from the console. To reboot the system run the command:
sudo reboot. Press the keyboard shortcut Ctrl+Alt+F7 to exit the virtual console. In Ubuntu 17.10 and later press the keyboard shortcut Ctrl+Alt+F2 to exit from the virtual console.After you have logged in in the terminal type
sudo systemctl start graphical.targetand press Enter to bring up your default login screen, and then login to your Ubuntu desktop environment as usual.
Boot into recovery mode
Immediately after the BIOS/UEFI splash screen during boot, with BIOS, quickly press and hold the Shift key, which will bring up a GNU GRUB menu screen. With UEFI press (perhaps several times) the Esc key to get to the GNU GRUB menu screen. Sometimes the manufacturer's splash screen is a part of the Windows bootloader, so when you power up the machine it goes straight to the GNU GRUB menu screen, and then pressing Shift is unnecessary.
The timing when to press the left Shift key can be tricky, so sometimes if you miss it you need to try it again. If that doesn't work try the answers to I can't get the GRUB menu to show up during boot.
You will see a GNU GRUB menu screen that looks like this:

Press the down arrow key until you select the 2nd entry from the top (the one with the recovery mode in the description) and then press Enter twice.
Now you should see this recovery menu:

Using the arrow keys scroll down to network (the third entry from the bottom in the Recovery Menu) and then press Enter.
Using the arrow keys scroll down to root (the second entry from the bottom in the Recovery Menu) and then press Enter.
You should now see a root prompt and you can run commands from it.
lightdm is called lightdm because it is a lightweight application compared to GDM which is heavy and takes longer to load. If you still have lightdm installed you can switch back to using lightdm as the default login display manager with the command: sudo dpkg-reconfigure gdm3. This will open up a new window allowing you to select either gdm3 or lightdm as the default login display manager.
Reboot the computer with the command reboot
After that the keyboard shortcutCtrl+Alt+F3 may start to work properly, and allow you to start Ubuntu from the console.
Start Ubuntu from a virtual console
Open a text-only virtual console by using the keyboard shortcut Ctrl+Alt+F3.
At the
login:prompt type your username and press Enter.At the
Password:prompt type your user password and press Enter.Now you are logged in to a text-only console, and you can run terminal commands from the console. To reboot the system run the command:
sudo reboot. Press the keyboard shortcut Ctrl+Alt+F7 to exit the virtual console. In Ubuntu 17.10 and later press the keyboard shortcut Ctrl+Alt+F2 to exit from the virtual console.After you have logged in in the terminal type
sudo systemctl start graphical.targetand press Enter to bring up your default login screen, and then login to your Ubuntu desktop environment as usual.
edited Oct 4 at 9:39
answered Dec 11 '16 at 23:00
karelkarel
71.1k15 gold badges159 silver badges185 bronze badges
71.1k15 gold badges159 silver badges185 bronze badges
(Just copying previous comment): Is there any way to show login to terminal by default (likeinit 3in old times), problem withctrl+alt+f1is that GDM keeps retrying to start and I don't get console.
– wisemonkey
Dec 12 '16 at 1:26
I replied to your comment by editing my answer.
– karel
Dec 12 '16 at 2:07
Thanks Karel, but this assumes I can get system running somehow. Is that correct? Is there a way to issuesudo dpkg-reconfigure gdmwithout logging in?
– wisemonkey
Dec 12 '16 at 5:49
This does not waor anymoresudo dpkg-reconfigure gdm->package gdm is not installed(ubuntu 16.04). Andsudo dpkg-reconfigure lightdmdoes not do anything.
– Robert
Mar 30 '18 at 12:44
@Robert You are partially right. The reason why I referred to gdm is that gdm is mentioned in the question, therefore I was required to address it in my answer. However if you run the commandapt policy gdmin Ubuntu 16.04 you will see that gdm is indeed a package in the default Ubuntu 16.04 repositories.
– karel
Mar 30 '18 at 12:48
|
show 2 more comments
(Just copying previous comment): Is there any way to show login to terminal by default (likeinit 3in old times), problem withctrl+alt+f1is that GDM keeps retrying to start and I don't get console.
– wisemonkey
Dec 12 '16 at 1:26
I replied to your comment by editing my answer.
– karel
Dec 12 '16 at 2:07
Thanks Karel, but this assumes I can get system running somehow. Is that correct? Is there a way to issuesudo dpkg-reconfigure gdmwithout logging in?
– wisemonkey
Dec 12 '16 at 5:49
This does not waor anymoresudo dpkg-reconfigure gdm->package gdm is not installed(ubuntu 16.04). Andsudo dpkg-reconfigure lightdmdoes not do anything.
– Robert
Mar 30 '18 at 12:44
@Robert You are partially right. The reason why I referred to gdm is that gdm is mentioned in the question, therefore I was required to address it in my answer. However if you run the commandapt policy gdmin Ubuntu 16.04 you will see that gdm is indeed a package in the default Ubuntu 16.04 repositories.
– karel
Mar 30 '18 at 12:48
(Just copying previous comment): Is there any way to show login to terminal by default (like
init 3 in old times), problem with ctrl+alt+f1 is that GDM keeps retrying to start and I don't get console.– wisemonkey
Dec 12 '16 at 1:26
(Just copying previous comment): Is there any way to show login to terminal by default (like
init 3 in old times), problem with ctrl+alt+f1 is that GDM keeps retrying to start and I don't get console.– wisemonkey
Dec 12 '16 at 1:26
I replied to your comment by editing my answer.
– karel
Dec 12 '16 at 2:07
I replied to your comment by editing my answer.
– karel
Dec 12 '16 at 2:07
Thanks Karel, but this assumes I can get system running somehow. Is that correct? Is there a way to issue
sudo dpkg-reconfigure gdm without logging in?– wisemonkey
Dec 12 '16 at 5:49
Thanks Karel, but this assumes I can get system running somehow. Is that correct? Is there a way to issue
sudo dpkg-reconfigure gdm without logging in?– wisemonkey
Dec 12 '16 at 5:49
This does not waor anymore
sudo dpkg-reconfigure gdm-> package gdm is not installed(ubuntu 16.04). And sudo dpkg-reconfigure lightdm does not do anything.– Robert
Mar 30 '18 at 12:44
This does not waor anymore
sudo dpkg-reconfigure gdm-> package gdm is not installed(ubuntu 16.04). And sudo dpkg-reconfigure lightdm does not do anything.– Robert
Mar 30 '18 at 12:44
@Robert You are partially right. The reason why I referred to gdm is that gdm is mentioned in the question, therefore I was required to address it in my answer. However if you run the command
apt policy gdm in Ubuntu 16.04 you will see that gdm is indeed a package in the default Ubuntu 16.04 repositories.– karel
Mar 30 '18 at 12:48
@Robert You are partially right. The reason why I referred to gdm is that gdm is mentioned in the question, therefore I was required to address it in my answer. However if you run the command
apt policy gdm in Ubuntu 16.04 you will see that gdm is indeed a package in the default Ubuntu 16.04 repositories.– karel
Mar 30 '18 at 12:48
|
show 2 more comments
Press CTRL+ALT+F1 or any other function (F) key up to F7, which takes you back to your "GUI" terminal. These should drop you into a text-mode terminal for each different function key.
Otherwise you can boot into recovery mode if you need:
https://wiki.ubuntu.com/RecoveryMode
Basically hold down SHIFT as you boot up to get the Grub menu.
1
(copying previous comment): Is there any way to show login to terminal by default (like init 3 in old times), problem with ctrl+alt+f1 is that GDM keeps retrying to start and I don't get console. And for recovery mode its same results if I say clean start. I'll read up on other recovery modes and see if they are helpful
– wisemonkey
Dec 12 '16 at 1:26
add a comment
|
Press CTRL+ALT+F1 or any other function (F) key up to F7, which takes you back to your "GUI" terminal. These should drop you into a text-mode terminal for each different function key.
Otherwise you can boot into recovery mode if you need:
https://wiki.ubuntu.com/RecoveryMode
Basically hold down SHIFT as you boot up to get the Grub menu.
1
(copying previous comment): Is there any way to show login to terminal by default (like init 3 in old times), problem with ctrl+alt+f1 is that GDM keeps retrying to start and I don't get console. And for recovery mode its same results if I say clean start. I'll read up on other recovery modes and see if they are helpful
– wisemonkey
Dec 12 '16 at 1:26
add a comment
|
Press CTRL+ALT+F1 or any other function (F) key up to F7, which takes you back to your "GUI" terminal. These should drop you into a text-mode terminal for each different function key.
Otherwise you can boot into recovery mode if you need:
https://wiki.ubuntu.com/RecoveryMode
Basically hold down SHIFT as you boot up to get the Grub menu.
Press CTRL+ALT+F1 or any other function (F) key up to F7, which takes you back to your "GUI" terminal. These should drop you into a text-mode terminal for each different function key.
Otherwise you can boot into recovery mode if you need:
https://wiki.ubuntu.com/RecoveryMode
Basically hold down SHIFT as you boot up to get the Grub menu.
edited Dec 13 '16 at 1:22
Fabich
1371 silver badge6 bronze badges
1371 silver badge6 bronze badges
answered Dec 11 '16 at 22:53
Kristopher IvesKristopher Ives
3,7372 gold badges19 silver badges31 bronze badges
3,7372 gold badges19 silver badges31 bronze badges
1
(copying previous comment): Is there any way to show login to terminal by default (like init 3 in old times), problem with ctrl+alt+f1 is that GDM keeps retrying to start and I don't get console. And for recovery mode its same results if I say clean start. I'll read up on other recovery modes and see if they are helpful
– wisemonkey
Dec 12 '16 at 1:26
add a comment
|
1
(copying previous comment): Is there any way to show login to terminal by default (like init 3 in old times), problem with ctrl+alt+f1 is that GDM keeps retrying to start and I don't get console. And for recovery mode its same results if I say clean start. I'll read up on other recovery modes and see if they are helpful
– wisemonkey
Dec 12 '16 at 1:26
1
1
(copying previous comment): Is there any way to show login to terminal by default (like init 3 in old times), problem with ctrl+alt+f1 is that GDM keeps retrying to start and I don't get console. And for recovery mode its same results if I say clean start. I'll read up on other recovery modes and see if they are helpful
– wisemonkey
Dec 12 '16 at 1:26
(copying previous comment): Is there any way to show login to terminal by default (like init 3 in old times), problem with ctrl+alt+f1 is that GDM keeps retrying to start and I don't get console. And for recovery mode its same results if I say clean start. I'll read up on other recovery modes and see if they are helpful
– wisemonkey
Dec 12 '16 at 1:26
add a comment
|
Editing /etc/default/grub gave me the boot menu that I needed to boot in recovery mode.
These were my steps:
- Edit
/etc/default/gruband setGRUB_TIMEOUTto-1(the documentation [1] also mentions that you need to comment out any setting ofGRUB_HIDDEN_TIMEOUT). This will allow the boot menu to pop up and stay there until you take action. - Run
sudo update-grubfor changes to take effect. - Reboot and select the recovery mode option in the Grub menu.
[1] https://help.ubuntu.com/community/Grub2/Setup#Specific_Entries
add a comment
|
Editing /etc/default/grub gave me the boot menu that I needed to boot in recovery mode.
These were my steps:
- Edit
/etc/default/gruband setGRUB_TIMEOUTto-1(the documentation [1] also mentions that you need to comment out any setting ofGRUB_HIDDEN_TIMEOUT). This will allow the boot menu to pop up and stay there until you take action. - Run
sudo update-grubfor changes to take effect. - Reboot and select the recovery mode option in the Grub menu.
[1] https://help.ubuntu.com/community/Grub2/Setup#Specific_Entries
add a comment
|
Editing /etc/default/grub gave me the boot menu that I needed to boot in recovery mode.
These were my steps:
- Edit
/etc/default/gruband setGRUB_TIMEOUTto-1(the documentation [1] also mentions that you need to comment out any setting ofGRUB_HIDDEN_TIMEOUT). This will allow the boot menu to pop up and stay there until you take action. - Run
sudo update-grubfor changes to take effect. - Reboot and select the recovery mode option in the Grub menu.
[1] https://help.ubuntu.com/community/Grub2/Setup#Specific_Entries
Editing /etc/default/grub gave me the boot menu that I needed to boot in recovery mode.
These were my steps:
- Edit
/etc/default/gruband setGRUB_TIMEOUTto-1(the documentation [1] also mentions that you need to comment out any setting ofGRUB_HIDDEN_TIMEOUT). This will allow the boot menu to pop up and stay there until you take action. - Run
sudo update-grubfor changes to take effect. - Reboot and select the recovery mode option in the Grub menu.
[1] https://help.ubuntu.com/community/Grub2/Setup#Specific_Entries
answered Sep 19 at 19:43
jvercejverce
11 bronze badge
11 bronze badge
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f859630%2fhow-to-start-ubuntu-in-console-mode%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
7
Have you tried appending a
3to the boot options (adding3toquiet splash)?– muru
Dec 12 '16 at 2:26
I'll try that, so basically just change
quiet splashtoquiet splash 3is that correct?– wisemonkey
Dec 12 '16 at 5:47
Amazing thanks a lot, this is what I was looking for. I would like to know if I can somehow make NVidia (proprietary) drivers configure properly with every kernel update. But even if not this should help me. You can add it as an answer and I'll accept it.
– wisemonkey
Dec 12 '16 at 6:02
The most correct answer is here: superuser.com/a/1139020/403009
– Eric Wang
Mar 29 '18 at 19:15