ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved CentOS 7 - no NIC in Hyper-V gen 1 VM

    IT Discussion
    hyper-v centos 7
    5
    14
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dafyreD
      dafyre
      last edited by

      You need to shut the VM down, and edit it. Add a new Legacy Nic -- those are limited to 100 Mbit.

      thwrT ObsolesceO travisdh1T 3 Replies Last reply Reply Quote 2
      • thwrT
        thwr @dafyre
        last edited by

        @dafyre said in CentOS 7 - no NIC in Hyper-V gen 1 VM:

        You need to shut the VM down, and edit it. Add a new Legacy Nic -- those are limited to 100 Mbit.

        Would be a fallback, already thought about it.

        Should be ok for my use case, but not in a production deployment. Would rather like to solve this one right from the beginning.

        1 Reply Last reply Reply Quote 0
        • ObsolesceO
          Obsolesce @dafyre
          last edited by Obsolesce

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • travisdh1T
            travisdh1 @dafyre
            last edited by

            @dafyre said in CentOS 7 - no NIC in Hyper-V gen 1 VM:

            You need to shut the VM down, and edit it. Add a new Legacy Nic -- those are limited to 100 Mbit.

            Now you're going to make me go take a look at our install. I know Fedora 26 and 27 just work. I bet CentOS needs the guest drivers installed.

            thwrT 1 Reply Last reply Reply Quote 1
            • thwrT
              thwr @travisdh1
              last edited by

              @travisdh1 said in CentOS 7 - no NIC in Hyper-V gen 1 VM:

              @dafyre said in CentOS 7 - no NIC in Hyper-V gen 1 VM:

              You need to shut the VM down, and edit it. Add a new Legacy Nic -- those are limited to 100 Mbit.

              Now you're going to make me go take a look at our install. I know Fedora 26 and 27 just work. I bet CentOS needs the guest drivers installed.

              Uhm. I assumed they are. Erm... You make me look stupid 🙂

              1 Reply Last reply Reply Quote 0
              • black3dynamiteB
                black3dynamite
                last edited by

                CentOS 7 can be installed using Generation 2 unless Pandora FMS is a strip-down version of CentOS 7.
                https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/supported-centos-and-red-hat-enterprise-linux-virtual-machines-on-hyper-v#BKMK_7x

                thwrT 1 Reply Last reply Reply Quote 2
                • dafyreD
                  dafyre
                  last edited by

                  Why not spin up Pandora on Fedora 26 or so?

                  thwrT 1 Reply Last reply Reply Quote 0
                  • thwrT
                    thwr @black3dynamite
                    last edited by

                    @black3dynamite said in CentOS 7 - no NIC in Hyper-V gen 1 VM:

                    CentOS 7 can be installed using Generation 2 unless Pandora FMS is a strip-down version of CentOS 7.
                    https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/supported-centos-and-red-hat-enterprise-linux-virtual-machines-on-hyper-v#BKMK_7x

                    I couldn't even boot as gen 2 (with secure boot disabled). Something I did countless times with Debian based distros.

                    1 Reply Last reply Reply Quote 0
                    • thwrT
                      thwr @dafyre
                      last edited by

                      @dafyre said in CentOS 7 - no NIC in Hyper-V gen 1 VM:

                      Why not spin up Pandora on Fedora 26 or so?

                      Because I just want to try it a bit and the v7 docker container seems to be broken on the MySQL side. They offer an ISO, so why not use it

                      1 Reply Last reply Reply Quote 0
                      • black3dynamiteB
                        black3dynamite
                        last edited by

                        Sound like you will need to install Linux Integration Services.
                        https://www.microsoft.com/en-us/download/details.aspx?id=55106

                        thwrT 1 Reply Last reply Reply Quote 0
                        • thwrT
                          thwr @black3dynamite
                          last edited by thwr

                          @black3dynamite said in CentOS 7 - no NIC in Hyper-V gen 1 VM:

                          Sound like you will need to install Linux Integration Services.
                          https://www.microsoft.com/en-us/download/details.aspx?id=55106

                          awesome.. ok, thanks, will try that. Didn't even thought about this, because it's available in the stock Ubuntu ISO which is what I normally use.

                          black3dynamiteB 1 Reply Last reply Reply Quote 0
                          • black3dynamiteB
                            black3dynamite @thwr
                            last edited by

                            @thwr said in CentOS 7 - no NIC in Hyper-V gen 1 VM:

                            @black3dynamite said in CentOS 7 - no NIC in Hyper-V gen 1 VM:

                            Sound like you will need to install Linux Integration Services.
                            https://www.microsoft.com/en-us/download/details.aspx?id=55106

                            awesome.. ok, thanks, will try that. Didn't even thought about this, because it's available in the stock Ubuntu ISO which is what I normally use.

                            Technically, you can install the tools that's available in CentOS but it will be an very old version.

                            1 Reply Last reply Reply Quote 2
                            • thwrT
                              thwr
                              last edited by thwr

                              Just tried it, and yes, missing integration services.

                              Long story short: I'll stick with Ubuntu 😉 Yeah, I know, I could easily install them, but I'm more in the Debian corner anyway.

                              1 Reply Last reply Reply Quote 1
                              • 1 / 1
                              • First post
                                Last post