主机:英特尔 i7-4* CPU,运行 Linux kubuntu 14.04
客人:尝试创造。
ubuntu-vm-builder kvm saucy
最终,
Get:1 http://archive.ubuntu.com/ubuntu/ saucy-updates/main linux-image-3.11.0-19-generic amd64 3.11.0-19.33 [14.5 MB]
Get:2 http://archive.ubuntu.com/ubuntu/ saucy-updates/main linux-image-virtual amd64 3.11.0.19.20 [2302 B]
Fetched 14.5 MB in 6s (2335 kB/s)
Selecting previously unselected package linux-image-3.11.0-19-generic.
(Reading database ... 10289 files and directories currently installed.)
Unpacking linux-image-3.11.0-19-generic (from .../linux-image-3.11.0-19-generic_3.11.0-19.33_amd64.deb) ...
Selecting previously unselected package linux-image-virtual.
Unpacking linux-image-virtual (from .../linux-image-virtual_3.11.0.19.20_amd64.deb) ...
, stderr: grep: /proc/cpuinfo: No such file or directory
This kernel does not support a non-PAE CPU.
dpkg: error processing /var/cache/apt/archives/linux-image-3.11.0-19-generic_3.11.0-19.33_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.11.0-19-generic_3.11.0-19.33_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
这难道不应该工作吗??i7 确实有 PAE。在 /proc/cpuinfo 中对 pae 进行 grep 可以确认这一点。并且
和
kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
有人知道这里发生了什么事吗?
/iaw
答案1
我不知道您的 PAE CPU 是否被视为非 PAGE CPU。但是,我们收到了相同的错误消息,此内核不支持非 PAE CPU,这对我们有用:
内核不支持在 Ubuntu 13.10 上安装非 PAE CPU 的 KVM 客户机 - 修复
...
基本上,您只需要通过设置 addpkg 标志来确保安装了 linux-image-generic 包(即支持非 PAE CPU 的内核),如下所示:
--addpkg=linux-image-generic