我已经在 Ubuntu 12.04 中安装了内核 3.13(Trusty),当它询问我是否要更新 menu.lst 时,我选择了默认值:否。
所以现在,它启动到内核 3.2 而不是 3.13,并且 grub 中没有 3.13 选择,也没有任何可用的高级选项。
如何获得内核 3.13 作为默认内核?
Output for dpkg -l grub*:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig- pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============- ============================================
ii grub 0.97-29ubuntu6 GRand Unified Bootloader (Legacy version)
ii grub-common 1.99-21ubuntu3 GRand Unified Bootloader (common files)
un grub-coreboot <none> (no description available)
un grub-efi <none> (no description available)
un grub-efi-amd64 <none> (no description available)
un grub-efi-ia32 <none> (no description available)
un grub-emu <none> (no description available)
un grub-ieee1275 <none> (no description available)
un grub-legacy <none> (no description available)
un grub-legacy-do <none> (no description available)
un grub-linuxbios <none> (no description available)
un grub-pc <none> (no description available)
un grub-yeeloong <none> (no description available)
un grub2 <none> (no description available)
Output for # dpkg -l linux-image*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
un linux-image <none> (no description available)
un linux-image-2. <none> (no description available)
un linux-image-2. <none> (no description available)
un linux-image-2. <none> (no description available)
un linux-image-2. <none> (no description available)
un linux-image-3. <none> (no description available)
ii linux-image-3. 3.13.0-110.157 Linux kernel image for version 3.13.0 on 64
ii linux-image-3. 3.2.0-123.166 Linux kernel image for version 3.2.0 on 64 b
ii linux-image-ge 3.2.0.123.138 Generic Linux kernel image
ii linux-image-ge 3.13.0.110.101 Generic Linux kernel image
un linux-image-se <none> (no description available)
答案1
Grub 尚未完全安装。您可以grub
通过以下方式安装
sudo apt-get install grub-pc