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

    XenTools installation error for Linux

    IT Discussion
    6
    40
    1.5k
    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.
    • K
      krisleslie
      last edited by krisleslie

      Using Turnkey OVA of Observium and it installed properly. I have tried to run the following command with no luck/love. So after I run the first command it says a path prefix is not a directory. So after poking around I saw I had a xvda1.

      root@observium ~# blkid
      /dev/xvda1: UUID="AjIer9-K9Ue-vCoB-andJ-Nyjc-M7nq-Grl4dy" TYPE="LVM2_member" PARTUUID="2f250c11-01"
      /dev/mapper/turnkey-root: UUID="9af46ee8-a597-438a-b55c-ba48f49b1044" TYPE="ext4"
      /dev/mapper/turnkey-swap_1: UUID="2585744a-173e-43d2-a270-99d97a8780bf" TYPE="swap"
      /dev/sr0: UUID="2015-07-23-17-00-00-00" LABEL="W10_X64" TYPE="udf"

      Installing XenServer Tools on Linux VMs
      Select the VM in the Resources pane, right-click, and then click Install XenServer Tools on the shortcut menu. Alternatively, on the VM menu, click Install XenServer Tools.
      Click Install XenServer Tools on the message dialog to go to the VM's console.
      As the root user, mount the image into the VM:
      mount -o ro,exec /dev/disk/by-label/XenServer\x20Tools /mnt

      1 Reply Last reply Reply Quote 0
      • B
        bnrstnr
        last edited by bnrstnr

        It never mounts on the first try for me on Ubuntu VMs for whatever reason, usually just running the mount command again will mount it read-only. It's almost always in /dev/cdrom despite what the documentation says.

        mount /dev/cdrom /mnt/

        scottalanmillerS 1 Reply Last reply Reply Quote 1
        • K
          krisleslie
          last edited by

          @bnrstnr said in XenTools installation error for Linux:

          mount /dev/cdrom /mnt/

          For the love of GOD that worked thanks!

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @bnrstnr
            last edited by

            @bnrstnr said in XenTools installation error for Linux:

            It never mounts on the first try for me on Ubuntu VMs for whatever reason, usually just running the mount command again will mount it read-only. It's almost always in /dev/cdrom despite what the documentation says.

            mount /dev/cdrom /mnt/

            What, the what?

            B 1 Reply Last reply Reply Quote 2
            • B
              bnrstnr @scottalanmiller
              last edited by

              @scottalanmiller said in XenTools installation to Linux:

              What, the what?

              no idea lol that's just how it is

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @bnrstnr
                last edited by

                @bnrstnr said in XenTools installation error for Linux:

                @scottalanmiller said in XenTools installation to Linux:

                What, the what?

                no idea lol that's just how it is

                Ubuntu fail.

                B 1 Reply Last reply Reply Quote 2
                • momurdaM
                  momurda
                  last edited by

                  I only have a problem remembering which to use
                  /dev/dvd
                  /dev/sr0
                  /dev/cdrom
                  is different for each distro.

                  K black3dynamiteB 2 Replies Last reply Reply Quote 1
                  • K
                    krisleslie @momurda
                    last edited by

                    @momurda said in XenTools installation error for Linux:

                    nly have a problem remembering which to use
                    /dev/dvd
                    /dev/sr0
                    /dev/cdrom
                    is different for each distro.

                    Maybe Linux needs someone from a UX engineering background to help out! LOL because for something that is rock solid it changes too much 😞

                    DustinB3403D 1 Reply Last reply Reply Quote 0
                    • K
                      krisleslie
                      last edited by

                      @scottalanmiller said in XenTools installation error for Linux:

                      mount /dev/cdrom /mnt/

                      mount /dev/cdrom /mnt/
                      So SCOTT am I wrong in reading this? Im telling the system to mount a dev called cdrom but turn around and "RE" mount it? WTF and WTH?!?!?!

                      momurdaM 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @krisleslie
                        last edited by

                        @krisleslie said in XenTools installation error for Linux:

                        @momurda said in XenTools installation error for Linux:

                        nly have a problem remembering which to use
                        /dev/dvd
                        /dev/sr0
                        /dev/cdrom
                        is different for each distro.

                        Maybe Linux needs someone from a UX engineering background to help out! LOL because for something that is rock solid it changes too much 😞

                        These changes are made by the individual dev teams though. . . so the issue is we need a massive hive mind to get everything to be standardized.

                        1 Reply Last reply Reply Quote 0
                        • momurdaM
                          momurda @krisleslie
                          last edited by

                          @krisleslie No youre just mounting the /dev/cdrom device to a folder call /mnt
                          Could be anything, /stuff, /userdata, etc. /mnt is just there to use by default.

                          1 Reply Last reply Reply Quote 1
                          • DustinB3403D
                            DustinB3403
                            last edited by

                            @krisleslie said in XenTools installation error for Linux:

                            @scottalanmiller said in XenTools installation error for Linux:

                            mount /dev/cdrom /mnt/

                            mount /dev/cdrom /mnt/
                            So SCOTT am I wrong in reading this? Im telling the system to mount a dev called cdrom but turn around and "RE" mount it? WTF and WTH?!?!?!

                            @momurda answered but here is a "better" example.

                            mount /dev/cdrom /takethisdiskandlikeit

                            1 Reply Last reply Reply Quote 0
                            • DustinB3403D
                              DustinB3403
                              last edited by

                              You're specifying what device to mount, and where to mount it at.

                              So you would than jump into /takethisdiskandlikeit to run ./install

                              K 1 Reply Last reply Reply Quote 1
                              • K
                                krisleslie @DustinB3403
                                last edited by

                                @dustinb3403

                                So let me get this straight, I could have actually piped another command into that?

                                DustinB3403D 1 Reply Last reply Reply Quote 0
                                • B
                                  bnrstnr @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in XenTools installation error for Linux:

                                  Ubuntu fail.

                                  This is what I get every time I mount the XS guest tools ISO on Ubuntu. Every single time...
                                  https://i.imgur.com/NnF1p9F.png

                                  momurdaM 1 Reply Last reply Reply Quote 0
                                  • K
                                    krisleslie
                                    last edited by

                                    That is the exact same error I got!

                                    1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403 @krisleslie
                                      last edited by

                                      @krisleslie said in XenTools installation error for Linux:

                                      @dustinb3403

                                      So let me get this straight, I could have actually piped another command into that?

                                      Possibly, yes.

                                      Likely mount /dev/cdrom /mnt | sudo ./install.sh

                                      1 Reply Last reply Reply Quote 1
                                      • K
                                        krisleslie
                                        last edited by

                                        mount -o ro,exec /dev/disk/by-label/XenServer\x20Tools /mnt

                                        It fails when we point to the "DISK"

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          krisleslie
                                          last edited by

                                          For the love of GOD if I wasn't happy with finding an answer that would have turned me off! Like it isn't helpful. Maybe I'm wrong but a UX engineer would be like, ummmm FIX THAT!

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            krisleslie
                                            last edited by

                                            Ok so I found out the installation instructions changed for Linux after a few releases!

                                            Installing XenServer Tools on Linux VMs

                                            • Select the VM in the Resources pane, right-click, and then click Install XenServer Tools on the shortcut menu. Alternatively, on the VM menu, click Install XenServer Tools.

                                            • Click Install XenServer Tools on the message dialog to go to the VM's console.

                                            • As the root user, mount the image into the VM:
                                              mount /dev/xvdd /mnt

                                            • Execute the installation script as the root user:
                                              /mnt/Linux/install.sh

                                            If the kernel has been upgraded, or the VM was upgraded from a previous version, reboot the VM now.
                                            Note that CD-ROM drives and ISOs attached to Linux VMs appear as /dev/xvdd rather than /dev/cdrom. This is because they are not true CD-ROM devices, but normal devices. When the CD is ejected by XenCenter, it hot-unplugs the device from the VM and the device disappears. This is different from Windows VMs, where the CD remains in the VM in an empty state

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