2016年5月5日 星期四

讓 Ubuntu開機後進入文字模式



這個簡單的教學將會展示如何讓你的 Ubuntu系統開機時直接進入文字模式
This simple tutorial will show you how to boot your Ubuntu system (14.04 or 13.10) directly into command line (text mode or console).


備份原始檔案 Backup original file
sudo cp -n /etc/default/grub /etc/default/grub.orig

如果未來因為一些狀況你需要回復原始設定,請執行以下命令
If for some reason you want to revert to original settings, just run command below in terminal:

sudo mv /etc/default/grub.orig /etc/default/grub && sudo update-grub

進行以下的改動
Do below changes:

  • Comment the line GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”, by adding #at the beginning, which will disable the Ubuntu purple screen.
  • Change GRUB_CMDLINE_LINUX=”" to GRUB_CMDLINE_LINUX=”text”, this makes Ubuntu boot directly into Text Mode.
  • Uncomment this line #GRUB_TERMINAL=console, by removing the # at the beginning, this makes Grub Menu into real black & white Text Mode (without background image)



在儲存這些改動之後,透過這個指令升級grub
After saved the changes, update grub via command:

sudo update-grub

重啟你的電腦並看看結果吧
Restart your computer and see the result.






本文內容轉載自UbuntuHandbook

0 意見: