Ubuntu Server 18.04.1 guest on Ubuntu Server 18.04.1 host, KVM












1















I am attempting to install a Ubuntu Server 18.04.1 guest on a Ubuntu Server 18.04.1 host using KVM. I have ubuntu-18.04.1-live-server-amd64.iso downloaded to the host.



When I run the following:



sudo virt-install -n marmoset-eugo-1 --description "Eng Undergrad Office Marmoset server" 

--os-type=Linux --os-variant=ubuntu18.04 --ram=4096 --vcpus=6

--disk path=/var/lib/libvirt/images/marmoset-eugo-1.img,bus=virtio,size=128,format=qcow2

--network bridge:br0 --graphics none

--location /home/d24lau/Downloads/ubuntu-18.04.1-live-server-amd64.iso

--extra-args console=ttyS0


I get the following error:



Starting install...

Retrieving file .treeinfo... | 0 B 00:00:00

Retrieving file content... | 0 B 00:00:00

Retrieving file info... | 77 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 marmoset-eugo-1

otherwise, please restart your installation.


So then I try to use the CDROM option instead:



sudo virt-install -n marmoset-eugo-1 --description "Eng Undergrad Office Marmoset server" 

--os-type=Linux --os-variant=ubuntu18.04 --ram=4096 --vcpus=6

--disk path=/var/lib/libvirt/images/marmoset-eugo-1.img,bus=virtio,size=128,format=qcow2

--network bridge:br0 --graphics none

--cdrom /home/d24lau/Downloads/ubuntu-18.04.1-live-server-amd64.iso


At this point, it appears that the installation has started, but I do not seem to be able to interact with the installation. I am getting the following output and the terminal waits indefinitely:



WARNING CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. See the man page for examples of using --location with CDROM media



Starting install...

Allocating 'marmoset-eugo-1.img' | 128 GB 00:00:00

Connected to domain marmoset-eugo-1

Escape character is ^]


Has anyone had any experience doing this type of install before? I'm trying to do everything from the CLI and the only video tutorials I can find do this through the graphical KVM virtual manager.



Thanks,










share|improve this question







New contributor




user3006062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    I am attempting to install a Ubuntu Server 18.04.1 guest on a Ubuntu Server 18.04.1 host using KVM. I have ubuntu-18.04.1-live-server-amd64.iso downloaded to the host.



    When I run the following:



    sudo virt-install -n marmoset-eugo-1 --description "Eng Undergrad Office Marmoset server" 

    --os-type=Linux --os-variant=ubuntu18.04 --ram=4096 --vcpus=6

    --disk path=/var/lib/libvirt/images/marmoset-eugo-1.img,bus=virtio,size=128,format=qcow2

    --network bridge:br0 --graphics none

    --location /home/d24lau/Downloads/ubuntu-18.04.1-live-server-amd64.iso

    --extra-args console=ttyS0


    I get the following error:



    Starting install...

    Retrieving file .treeinfo... | 0 B 00:00:00

    Retrieving file content... | 0 B 00:00:00

    Retrieving file info... | 77 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 marmoset-eugo-1

    otherwise, please restart your installation.


    So then I try to use the CDROM option instead:



    sudo virt-install -n marmoset-eugo-1 --description "Eng Undergrad Office Marmoset server" 

    --os-type=Linux --os-variant=ubuntu18.04 --ram=4096 --vcpus=6

    --disk path=/var/lib/libvirt/images/marmoset-eugo-1.img,bus=virtio,size=128,format=qcow2

    --network bridge:br0 --graphics none

    --cdrom /home/d24lau/Downloads/ubuntu-18.04.1-live-server-amd64.iso


    At this point, it appears that the installation has started, but I do not seem to be able to interact with the installation. I am getting the following output and the terminal waits indefinitely:



    WARNING CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. See the man page for examples of using --location with CDROM media



    Starting install...

    Allocating 'marmoset-eugo-1.img' | 128 GB 00:00:00

    Connected to domain marmoset-eugo-1

    Escape character is ^]


    Has anyone had any experience doing this type of install before? I'm trying to do everything from the CLI and the only video tutorials I can find do this through the graphical KVM virtual manager.



    Thanks,










    share|improve this question







    New contributor




    user3006062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      I am attempting to install a Ubuntu Server 18.04.1 guest on a Ubuntu Server 18.04.1 host using KVM. I have ubuntu-18.04.1-live-server-amd64.iso downloaded to the host.



      When I run the following:



      sudo virt-install -n marmoset-eugo-1 --description "Eng Undergrad Office Marmoset server" 

      --os-type=Linux --os-variant=ubuntu18.04 --ram=4096 --vcpus=6

      --disk path=/var/lib/libvirt/images/marmoset-eugo-1.img,bus=virtio,size=128,format=qcow2

      --network bridge:br0 --graphics none

      --location /home/d24lau/Downloads/ubuntu-18.04.1-live-server-amd64.iso

      --extra-args console=ttyS0


      I get the following error:



      Starting install...

      Retrieving file .treeinfo... | 0 B 00:00:00

      Retrieving file content... | 0 B 00:00:00

      Retrieving file info... | 77 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 marmoset-eugo-1

      otherwise, please restart your installation.


      So then I try to use the CDROM option instead:



      sudo virt-install -n marmoset-eugo-1 --description "Eng Undergrad Office Marmoset server" 

      --os-type=Linux --os-variant=ubuntu18.04 --ram=4096 --vcpus=6

      --disk path=/var/lib/libvirt/images/marmoset-eugo-1.img,bus=virtio,size=128,format=qcow2

      --network bridge:br0 --graphics none

      --cdrom /home/d24lau/Downloads/ubuntu-18.04.1-live-server-amd64.iso


      At this point, it appears that the installation has started, but I do not seem to be able to interact with the installation. I am getting the following output and the terminal waits indefinitely:



      WARNING CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. See the man page for examples of using --location with CDROM media



      Starting install...

      Allocating 'marmoset-eugo-1.img' | 128 GB 00:00:00

      Connected to domain marmoset-eugo-1

      Escape character is ^]


      Has anyone had any experience doing this type of install before? I'm trying to do everything from the CLI and the only video tutorials I can find do this through the graphical KVM virtual manager.



      Thanks,










      share|improve this question







      New contributor




      user3006062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am attempting to install a Ubuntu Server 18.04.1 guest on a Ubuntu Server 18.04.1 host using KVM. I have ubuntu-18.04.1-live-server-amd64.iso downloaded to the host.



      When I run the following:



      sudo virt-install -n marmoset-eugo-1 --description "Eng Undergrad Office Marmoset server" 

      --os-type=Linux --os-variant=ubuntu18.04 --ram=4096 --vcpus=6

      --disk path=/var/lib/libvirt/images/marmoset-eugo-1.img,bus=virtio,size=128,format=qcow2

      --network bridge:br0 --graphics none

      --location /home/d24lau/Downloads/ubuntu-18.04.1-live-server-amd64.iso

      --extra-args console=ttyS0


      I get the following error:



      Starting install...

      Retrieving file .treeinfo... | 0 B 00:00:00

      Retrieving file content... | 0 B 00:00:00

      Retrieving file info... | 77 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 marmoset-eugo-1

      otherwise, please restart your installation.


      So then I try to use the CDROM option instead:



      sudo virt-install -n marmoset-eugo-1 --description "Eng Undergrad Office Marmoset server" 

      --os-type=Linux --os-variant=ubuntu18.04 --ram=4096 --vcpus=6

      --disk path=/var/lib/libvirt/images/marmoset-eugo-1.img,bus=virtio,size=128,format=qcow2

      --network bridge:br0 --graphics none

      --cdrom /home/d24lau/Downloads/ubuntu-18.04.1-live-server-amd64.iso


      At this point, it appears that the installation has started, but I do not seem to be able to interact with the installation. I am getting the following output and the terminal waits indefinitely:



      WARNING CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. See the man page for examples of using --location with CDROM media



      Starting install...

      Allocating 'marmoset-eugo-1.img' | 128 GB 00:00:00

      Connected to domain marmoset-eugo-1

      Escape character is ^]


      Has anyone had any experience doing this type of install before? I'm trying to do everything from the CLI and the only video tutorials I can find do this through the graphical KVM virtual manager.



      Thanks,







      kvm






      share|improve this question







      New contributor




      user3006062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      user3006062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      user3006062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Jan 21 at 18:11









      user3006062user3006062

      61




      61




      New contributor




      user3006062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      user3006062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      user3006062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          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
          });


          }
          });






          user3006062 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111726%2fubuntu-server-18-04-1-guest-on-ubuntu-server-18-04-1-host-kvm%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          user3006062 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          user3006062 is a new contributor. Be nice, and check out our Code of Conduct.













          user3006062 is a new contributor. Be nice, and check out our Code of Conduct.












          user3006062 is a new contributor. Be nice, and check out our Code of Conduct.
















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111726%2fubuntu-server-18-04-1-guest-on-ubuntu-server-18-04-1-host-kvm%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

          How did Captain America manage to do this?

          迪纳利

          南乌拉尔铁路局