---
title: "ubuntu start with text mode"
author: "Rule"
date: "2018-01-27T22:09:34Z"
tags: []
categories: ["操作系统"]
slug: "ubuntu-start-with-text-mode"
draft: false
lastmod: "2018-01-27T22:09:34Z"
id: 2409339
url: "https://rule.iteye.com/blog/2409339"
---

转自：http://blog.csdn.net/qq229596421/article/details/72084693

sudo vi /etc/default/grub 

 

#GRUB\_CMDLINE\_LINUX\_DEFAULT=”quiet”

GRUB\_CMDLINE\_LINUX=”text”

GRUB\_TERMINAL=console

 

sudo update-grub  

sudo systemctl set-default multi-user.target  

sudo reboot  

 

进入命令行模式后，可以如下命令切换回桌面模式

sudo systemctl start lightdm