作者 主題: 修改loader.conf,造成重開機提示  (閱讀 4064 次)

0 會員 與 1 訪客 正在閱讀本文。

loginstudy

  • 可愛的小學生
  • *
  • 文章數: 2
    • 檢視個人資料
修改loader.conf,造成重開機提示
« 於: 2015-12-04 21:42 »
因為在/boot/loader.conf 檔案增加了 vesa_load="yes",

重開後不管在 Multi User mode & Single User mode 都會在loading 後出現:

代碼: [選擇]
panic: module_register_init: module named vesa not found

Automatic reboot in 15 seconds - press a key on the console to abort
-->Press a key on the console to reboot,
-->or switch off the system now.

試著在 Escape to loader prompt mode 裡看看能不能修改,但找不到合適的指令。

請問要如何才能修改呢? 謝謝: )

loginstudy

  • 可愛的小學生
  • *
  • 文章數: 2
    • 檢視個人資料
Re: 修改loader.conf,造成重開機提示
« 回覆 #1 於: 2015-12-04 22:16 »
Sorry, stupid question.
在Escape to loader prompt mode 裡指令:

代碼: [選擇]
show
其中一行會出現:

代碼: [選擇]
loader_conf_files=/boot/device.hints /boot/loader.conf /boot/loader.conf.local
然後重設loader_conf_files:

代碼: [選擇]
set loader_conf_files=/boot/device.hints
就不會loading /boot/loader.conf 檔了,進系統後再修改重開即可。: )