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

      What they say now is!
      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 /mntNote: If mounting the image fails, you can locate the image by running the command

      blkid -t LABEL="XenServer Tools"Execute the installation script as the root user:

      /mnt/Linux/install.shUnmount the image from the guest by running the command:
      umount /mnt 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(or /dev/sdd in Ubuntu 10.10 and later), 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

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

        Dustin one day I strive to be proficient like you and SAM 🙂 If I see ya beer's on me bro!

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

          @krisleslie said in XenTools installation error for Linux:

          Dustin one day I strive to be proficient like you and SAM 🙂 If I see ya beer's on me bro!

          Ha... I wish I was nearly as proficient as SAM is. . . I squeak by.

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

            @krisleslie said in XenTools installation error for Linux:

            Note that CD-ROM drives and ISOs attached to Linux VMs appear as /dev/xvdd(or /dev/sdd in Ubuntu 10.10 and later), 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

            This is wrong though... In the latest releases for fedora, ubuntu, and debian, for sure, it is /dev/cdrom

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

              @bnrstnr said in XenTools installation error for Linux:

              @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

              This isnt an error
              It merely states you ahve mounted a read only device, like a cd or dvd
              edit: oh wait i see the first one is different.

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

                @bnrstnr said in XenTools installation error for Linux:

                @krisleslie said in XenTools installation error for Linux:

                Note that CD-ROM drives and ISOs attached to Linux VMs appear as /dev/xvdd(or /dev/sdd in Ubuntu 10.10 and later), 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

                This is wrong though... In the latest releases for fedora, ubuntu, and debian, for sure, it is /dev/cdrom

                Not in Xenserver. The xvd device naming is for Xen.

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

                  I swear just one decent UX engineer! Just one!

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

                    @momurda said in XenTools installation error for Linux:

                    @bnrstnr said in XenTools installation error for Linux:

                    @krisleslie said in XenTools installation error for Linux:

                    Note that CD-ROM drives and ISOs attached to Linux VMs appear as /dev/xvdd(or /dev/sdd in Ubuntu 10.10 and later), 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

                    This is wrong though... In the latest releases for fedora, ubuntu, and debian, for sure, it is /dev/cdrom

                    Not in Xenserver. The xvd device naming is for Xen.

                    Yeah. . . but that shouldn't matter here. As this mounting process is occurring within a VM. The insert operation @krisleslie did you do it from the CLI (of XenServer) or from XO?

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

                      @dustinb3403 SSH into it via Putty.

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

                        @krisleslie said in XenTools installation error for Linux:

                        @dustinb3403 SSH into it via Putty.

                        So you ran the CLI command within XS to mount the drivers into your guest?

                        Seems like the difficult approach. . .

                        B K 2 Replies Last reply Reply Quote 1
                        • B
                          bnrstnr @DustinB3403
                          last edited by

                          @dustinb3403 said in XenTools installation error for Linux:

                          So you ran the CLI command within XS to mount the drivers into your guest?
                          Seems like the difficult approach. . .

                          Semi off topic, but this is one of those things where I've seen people complain about having to enter UUID's... In the 3-4 years I've been working with XS I've never once had to enter a UUID

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

                            @bnrstnr said in XenTools installation error for Linux:

                            @dustinb3403 said in XenTools installation error for Linux:

                            So you ran the CLI command within XS to mount the drivers into your guest?
                            Seems like the difficult approach. . .

                            Semi off topic, but this is one of those things where I've seen people complain about having to enter UUID's... In the 3-4 years I've been working with XS I've never once had to enter a UUID

                            I've only ever had to dig for UUID's when I hit a limit coalescing snapshots from a CR job provided by XO.

                            The underlying storage, or XS itself simply wasn't fast enough to complete before the next CR ran so I had to delete the parent snapshot.

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

                              @momurda said in XenTools installation error for Linux:

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

                              In Fedora, you can use either /dev/cdrom or /dev/sr0 because they are linked.

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

                                @dustinb3403 Please school me brother as Linux isn't my OS of fun but I tend to prefer it over windows!

                                I installed the vm, putty'd in because I thought that was the right thing! If I did it from the Xen Console I was greeted with the menu for the app and how to navigate to the IP's for it.

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

                                  @krisleslie said in XenTools installation error for Linux:

                                  @dustinb3403 Please school me brother as Linux isn't my OS of fun but I tend to prefer it over windows!

                                  I installed the vm, putty'd in because I thought that was the right thing! If I did it from the Xen Console I was greeted with the menu for the app and how to navigate to the IP's for it.

                                  I would've simply accessed the VM from my XO installation, "installed the xstools", opened the console or SSH'd to the VM and then mounted and installed the drivers into the VM.

                                  The approach you took (at least it appears) is you ssh'd to your XenServer installation, mounted the drivers to your VM by UUID and then went to install them.

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

                                    I did try to just install Xen Tools like I would normally do the windows version, by right clicking on the vm and Install the tools. But when that didn't do anything on screen, that's what raised a flag like oh shit I need to do something CLI.

                                    Had it been something on screen to tell me or better guide me 🙂 it would have been a smoother experience. Hence me saying, a UX Engineer needs to be around!

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

                                      @krisleslie said in XenTools installation error for Linux:

                                      I did try to just install Xen Tools like I would normally do the windows version, by right clicking on the vm and Install the tools. But when that didn't do anything on screen, that's what raised a flag like oh shit I need to do something CLI.

                                      Had it been something on screen to tell me or better guide me 🙂 it would have been a smoother experience. Hence me saying, a UX Engineer needs to be around!

                                      haha. . .

                                      Does this VM have a desktop? In XenCenter or XO there is a flag which shows what media is mounted in the CDROM of your VM's (this I know for certain).

                                      But with linux, you have to manually mount the disk which is what the above conversation was about.

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

                                        Think of it like on Windows, where it ask what do you want to do with this <USB/CD> do you want to browse it etc.

                                        Windows takes some liberties and automatically mounts it, which could have issues (autorun's) etc.

                                        Linux makes you choose what to do and leaves the item there for you to do with it what you want.

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

                                          Not that I like Windows way better (sometimes it's good sometimes it's bad) but I swear, someone needs to take a look at the way these systems are designed!

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

                                            @krisleslie said in XenTools installation error for Linux:

                                            Not that I like Windows way better (sometimes it's good sometimes it's bad) but I swear, someone needs to take a look at the way these systems are designed!

                                            There is definitely a learning curve to Linux coming from a life full of Windows. Once you learn it, though, you'll be that much better at all things Linux going forward! I think it's fun and a LOT of it makes way more sense after you learn the reasoning behind it.

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