- kvm使用virt-install安装ubuntu的时候(或大部分ubuntu的时候),会报错Couldn't find hvm kernel for Ubuntu tree
这个问题国内大部分解决方案并不适用,引用国外的一句话
If you use --cdrom in replace of --location you will loose some options like --extra-args ! This useful parameter could not be used in cooperation with --cdrom ! If you want to use --extra-args you must use --location ! If you like this parameter you must overcome to this problem such a different way! If you want to overcome to this problem, you must know that .iso files are a type of compressed files, first of all! Yes! They are some special type of compressed files like .zip or .rar, .tar.gz and so etc.
- 顺便挂一个可用的ubuntu20 iso Ubuntu Server 20.04.1 LTS (Focal Fossa)
在使用KVM的virt-install命令安装Ubuntu时,可能会遇到找不到HVM内核的错误。文章指出,如果使用--cdrom选项,将无法配合--extra-args参数。为了解决这个问题,需要使用--location参数,并且提到ISO文件实际上是压缩文件。提供了解决该问题的线索,即理解ISO文件的性质并寻找替代方法。
1008





