host 雖然 top 有看到 vmware 的 process,也有 .lck 的資料夾產生,但是都 ssh 不到
到電腦前面打開 GUI 才發現是卡在 grub 選單裡面
google 發現可以把 grub 選單關掉的方法 (應該會開預設的選項)
在 /etc/default/grub 這個檔案裡面
內容:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
把 GRUB_HIDDEN_TIMEOUT_QUIET 改成 false (預設是 true)
改完之後 sudo update-grub
重新開機就會直接進去,不會卡在選單,直接可以用 ssh 連線
可用選項
- You can change the default from 0 to any number, corresponding to the entry in the Grub bootup menu (first entry is 0, second is 1, etc.)
- You can change the "hidden timeout" (no menu); and also display the countdown (TIMEOUT_QUIET=false)
- You can force the grub menu to show by commenting out the two GRUB_HIDDEN lines with a # at the beginning of the line and set the grub menu timeout (default is 10 seconds)
Reference
http://askubuntu.com/questions/148095/how-do-i-set-the-grub-timeout-and-the-grub-default-boot-entry
No comments:
Post a Comment