關於ubuntu啟動選擇內核版本的相關設置問題


ubuntu的14.04版本,安裝后,系統啟動時直接進入系統,沒有選擇Advance Option的選項,進而無法選擇內核版本。

 
這里,我設置了一下/etc/default/grub 這個配置文件
 
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
 
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=""
 
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
 
... .... ...
 
原本的配置文件如上,...后面還有內容,但是未加以修改,所以就未顯示。
其實只改動了一項:將GRUB_HIDDEN_TIMEOUT=0 這行注釋掉。 然后sudo update-grub2 更新一下/boot中grub.cfg文件,然后重啟動,就有選擇內核版本的配置了(注:進入到Advance Option中選擇內核版本)。
 
可以參考 http://www.2cto.com/os/201306/217198.html 這篇文章,啟動還有更為詳細的其他配置說明


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM