virt-install with Ubuntu server 18 fails with “ERROR Couldn't find hvm kernel for Ubuntu tree.”












0














Hello there (Greenhorn here),



I have a server with Ubuntu 18.04.1 server running on the bare metal. I am attempting to get a VM spun up using virt-install. This works with 14.04 and 16.04, but I get a complete failure attempting to use 18.04 or 18.10. My install is fully updated. I am trying to run some Alpha version software, thus the need for a VM, and it happens to require version 18 (so I am told).



ziggidy@zeus:~/ISOs$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
ziggidy@zeus:~/ISOs$


Here is the syntax I use to spin up the VMs. I have 2 VMs running 14.04 with zero issues for a couple months,so those are good. I am not sure what the error is, but I have run wget to get the version 18 ISOs a few times direct from Ubuntu, not sure if it is the ISO that is the issue or not.



Issue with 18.04



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu18.04
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-18.04.1-live-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 70 B 00:00:00
ERROR Couldn't find hvm kernel for Ubuntu tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start Hermes
otherwise, please restart your installation.
ziggidy@zeus:~/ISOs$


Same error trying 18.10 server



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu18.10
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-18.10-live-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 68 B 00:00:00
ERROR Couldn't find hvm kernel for Ubuntu tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start Hermes
otherwise, please restart your installation.
ziggidy@zeus:~/ISOs$


Fine with ZERO issues with 16.04



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu16.04
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-16.04.5-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 67 B 00:00:00
Retrieving file vmlinuz... | 6.8 MB 00:00:00
Retrieving file initrd.gz... | 14 MB 00:00:00
^CDomain install interrupted.
Installation aborted at user request
ziggidy@zeus:~/ISOs$









share|improve this question


















  • 1




    For 18.10 and 18.04 your are using the live installer. Try the alternate installer, which would be the same as what you used to use.
    – Doug Smythies
    Dec 22 at 16:16












  • Thank you Doug, you are a beautiful person!! That did the trick. I thought perhaps they just changed the naming convention on the ISO. I'm not entirely certain what a live installer is.
    – Ziggidy
    Dec 24 at 0:24
















0














Hello there (Greenhorn here),



I have a server with Ubuntu 18.04.1 server running on the bare metal. I am attempting to get a VM spun up using virt-install. This works with 14.04 and 16.04, but I get a complete failure attempting to use 18.04 or 18.10. My install is fully updated. I am trying to run some Alpha version software, thus the need for a VM, and it happens to require version 18 (so I am told).



ziggidy@zeus:~/ISOs$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
ziggidy@zeus:~/ISOs$


Here is the syntax I use to spin up the VMs. I have 2 VMs running 14.04 with zero issues for a couple months,so those are good. I am not sure what the error is, but I have run wget to get the version 18 ISOs a few times direct from Ubuntu, not sure if it is the ISO that is the issue or not.



Issue with 18.04



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu18.04
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-18.04.1-live-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 70 B 00:00:00
ERROR Couldn't find hvm kernel for Ubuntu tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start Hermes
otherwise, please restart your installation.
ziggidy@zeus:~/ISOs$


Same error trying 18.10 server



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu18.10
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-18.10-live-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 68 B 00:00:00
ERROR Couldn't find hvm kernel for Ubuntu tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start Hermes
otherwise, please restart your installation.
ziggidy@zeus:~/ISOs$


Fine with ZERO issues with 16.04



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu16.04
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-16.04.5-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 67 B 00:00:00
Retrieving file vmlinuz... | 6.8 MB 00:00:00
Retrieving file initrd.gz... | 14 MB 00:00:00
^CDomain install interrupted.
Installation aborted at user request
ziggidy@zeus:~/ISOs$









share|improve this question


















  • 1




    For 18.10 and 18.04 your are using the live installer. Try the alternate installer, which would be the same as what you used to use.
    – Doug Smythies
    Dec 22 at 16:16












  • Thank you Doug, you are a beautiful person!! That did the trick. I thought perhaps they just changed the naming convention on the ISO. I'm not entirely certain what a live installer is.
    – Ziggidy
    Dec 24 at 0:24














0












0








0


0





Hello there (Greenhorn here),



I have a server with Ubuntu 18.04.1 server running on the bare metal. I am attempting to get a VM spun up using virt-install. This works with 14.04 and 16.04, but I get a complete failure attempting to use 18.04 or 18.10. My install is fully updated. I am trying to run some Alpha version software, thus the need for a VM, and it happens to require version 18 (so I am told).



ziggidy@zeus:~/ISOs$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
ziggidy@zeus:~/ISOs$


Here is the syntax I use to spin up the VMs. I have 2 VMs running 14.04 with zero issues for a couple months,so those are good. I am not sure what the error is, but I have run wget to get the version 18 ISOs a few times direct from Ubuntu, not sure if it is the ISO that is the issue or not.



Issue with 18.04



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu18.04
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-18.04.1-live-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 70 B 00:00:00
ERROR Couldn't find hvm kernel for Ubuntu tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start Hermes
otherwise, please restart your installation.
ziggidy@zeus:~/ISOs$


Same error trying 18.10 server



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu18.10
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-18.10-live-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 68 B 00:00:00
ERROR Couldn't find hvm kernel for Ubuntu tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start Hermes
otherwise, please restart your installation.
ziggidy@zeus:~/ISOs$


Fine with ZERO issues with 16.04



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu16.04
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-16.04.5-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 67 B 00:00:00
Retrieving file vmlinuz... | 6.8 MB 00:00:00
Retrieving file initrd.gz... | 14 MB 00:00:00
^CDomain install interrupted.
Installation aborted at user request
ziggidy@zeus:~/ISOs$









share|improve this question













Hello there (Greenhorn here),



I have a server with Ubuntu 18.04.1 server running on the bare metal. I am attempting to get a VM spun up using virt-install. This works with 14.04 and 16.04, but I get a complete failure attempting to use 18.04 or 18.10. My install is fully updated. I am trying to run some Alpha version software, thus the need for a VM, and it happens to require version 18 (so I am told).



ziggidy@zeus:~/ISOs$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
ziggidy@zeus:~/ISOs$


Here is the syntax I use to spin up the VMs. I have 2 VMs running 14.04 with zero issues for a couple months,so those are good. I am not sure what the error is, but I have run wget to get the version 18 ISOs a few times direct from Ubuntu, not sure if it is the ISO that is the issue or not.



Issue with 18.04



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu18.04
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-18.04.1-live-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 70 B 00:00:00
ERROR Couldn't find hvm kernel for Ubuntu tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start Hermes
otherwise, please restart your installation.
ziggidy@zeus:~/ISOs$


Same error trying 18.10 server



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu18.10
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-18.10-live-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 68 B 00:00:00
ERROR Couldn't find hvm kernel for Ubuntu tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start Hermes
otherwise, please restart your installation.
ziggidy@zeus:~/ISOs$


Fine with ZERO issues with 16.04



ziggidy@zeus:~/ISOs$ sudo virt-install 
> --name Hermes
> --description "Bedrock Minecraft VM"
> --os-type=Linux
> --os-variant=ubuntu16.04
> --ram=2048
> --vcpus=2
> --disk path=/home/ziggidy/VMs/Drive2/Hermes.img,bus=virtio,size=50
> --network bridge:br0
> --graphics none
> --location /home/ziggidy/ISOs/ubuntu-16.04.5-server-amd64.iso
> --extra-args console=ttyS0

Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 67 B 00:00:00
Retrieving file vmlinuz... | 6.8 MB 00:00:00
Retrieving file initrd.gz... | 14 MB 00:00:00
^CDomain install interrupted.
Installation aborted at user request
ziggidy@zeus:~/ISOs$






server 18.04 virtualization kvm minecraft






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 22 at 15:52









Ziggidy

384




384








  • 1




    For 18.10 and 18.04 your are using the live installer. Try the alternate installer, which would be the same as what you used to use.
    – Doug Smythies
    Dec 22 at 16:16












  • Thank you Doug, you are a beautiful person!! That did the trick. I thought perhaps they just changed the naming convention on the ISO. I'm not entirely certain what a live installer is.
    – Ziggidy
    Dec 24 at 0:24














  • 1




    For 18.10 and 18.04 your are using the live installer. Try the alternate installer, which would be the same as what you used to use.
    – Doug Smythies
    Dec 22 at 16:16












  • Thank you Doug, you are a beautiful person!! That did the trick. I thought perhaps they just changed the naming convention on the ISO. I'm not entirely certain what a live installer is.
    – Ziggidy
    Dec 24 at 0:24








1




1




For 18.10 and 18.04 your are using the live installer. Try the alternate installer, which would be the same as what you used to use.
– Doug Smythies
Dec 22 at 16:16






For 18.10 and 18.04 your are using the live installer. Try the alternate installer, which would be the same as what you used to use.
– Doug Smythies
Dec 22 at 16:16














Thank you Doug, you are a beautiful person!! That did the trick. I thought perhaps they just changed the naming convention on the ISO. I'm not entirely certain what a live installer is.
– Ziggidy
Dec 24 at 0:24




Thank you Doug, you are a beautiful person!! That did the trick. I thought perhaps they just changed the naming convention on the ISO. I'm not entirely certain what a live installer is.
– Ziggidy
Dec 24 at 0:24















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1103822%2fvirt-install-with-ubuntu-server-18-fails-with-error-couldnt-find-hvm-kernel-fo%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1103822%2fvirt-install-with-ubuntu-server-18-fails-with-error-couldnt-find-hvm-kernel-fo%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b