我在 64 位元機器上運行 Ubuntu 10.04。我嘗試將核心從 2.6.32-37-generic 升級到 3.2 版本。
我下載了以下文件:
- linux-headers_all.deb
- linux-headers-generic_amd64
- linux-image-generic_amd64
然後我使用以下命令運行它們:
$ sudo dpkg -i linux-headers-3.2.0-030200_3.2.0-030200.201201042035_all.deb
$ sudo dpkg -i linux-headers-3.2.0-030200-generic_3.2.0-030200.201201042035_amd64.deb
$ sudo dpkg -i linux-image-3.2.0-030200-generic_3.2.0-030200.201201042035_amd64.deb
但我收到以下錯誤:
Setting up linux-image-3.2.0-030200-generic (3.2.0-030200.201201042035) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-3.2.0-030200-generic
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169
Not updating initrd symbolic links since we are being updated/reinstalled
(3.2.0-030200.201201042035 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.2.0-030200.201201042035 was configured last, according to dpkg)
Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-030200-generic
Found initrd image: /boot/initrd.img-3.2.0-030200-generic
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
Found linux image: /boot/vmlinuz-2.6.32-37-generic
Found initrd image: /boot/initrd.img-2.6.32-37-generic
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
Found linux image: /boot/vmlinuz-2.6.32-36-generic
Found initrd image: /boot/initrd.img-2.6.32-36-generic
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
Found Windows 7 (loader) on /dev/sda1
error: cannot seek `/dev/sda'.
Found Windows Vista (loader) on /dev/sda2
error: cannot seek `/dev/sda'.
Found Windows Vista (loader) on /dev/sda4
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda4. Check your device.map.
done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-030200-generic /boot/vmlinuz-3.2.0-030200-generic
run-parts: executing /etc/kernel/postinst.d/nvidia-common 3.2.0-030200-generic /boot/vmlinuz-3.2.0-030200-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-030200-generic /boot/vmlinuz-3.2.0-030200-generic
那我該如何避免這種情況呢?
請幫幫我。
乾杯,傑尼爾。
答案1
3.2 目前僅適用於 Ubuntu 12.04。您必須等到 kernel-ppa 團隊將其向後移植到 10.04。這將是五月中旬的某個時候。您應該從突觸中刪除內核。
如果您想為清晰的設定添加更新的內核,請嘗試 kernel-ppa。最新的核心是 3.0.0-15(oneiric 核心)。它被向後移植以在 lucid 上工作。 (確切的核心也會在發布後在這裡)
sudo apt-add-repository ppa:kernel-ppa/ppa
sudo apt-get update
打開 synaptic,你會發現新的核心元包。 (在我的 32 位元系統上linux-image-generic-lts-backport-oneiric
:)
但如果您確實需要 3.2 內核,請將您的 ubuntu 升級到 Precision。它在我的測試機器上運行得很好。