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

    Install XenServer 7 on USB

    IT Discussion
    7
    34
    12.6k
    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.
    • DustinB3403D
      DustinB3403
      last edited by

      20 dollars a piece.

      http://m.staples.com/PNY-64GB-Turbo-USB-30-Flash-Drive/product_338640

      travisdh1T 1 Reply Last reply Reply Quote 0
      • hobbit666H
        hobbit666
        last edited by

        hehe just remembered I had 2 64GB Micro ones in my wallet so will try one 🙂

        1 Reply Last reply Reply Quote 0
        • BRRABillB
          BRRABill
          last edited by

          The other key tip is to move the logging off the USB.

          Did we ever decide if the swap file was a danger as well? (A danger to prematurely burning out the USB cells.)

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

            @BRRABill said in Install XenServer 7 on USB:

            The other key tip is to move the logging off the USB.

            Did we ever decide if the swap file was a danger as well? (A danger to prematurely burning out the USB cells.)

            Everything that writes anything more than a config file should be off of the USB. Swap on USB would be insanely slow AND kill it quickly. Basically you should never allow swapping AND logging should be external.

            BRRABillB 1 Reply Last reply Reply Quote 0
            • hobbit666H
              hobbit666
              last edited by

              Installed it on USB device but it won't boot? Any ideas?

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

                @hobbit666 I'm not into XS, but a few ideas:

                • Flash drive visible in UEFI?
                • Selected as (first) boot device?
                • Valid boot loader / partition?
                • Correct partition alignment? Boot partition should begin at sector 2048 on most systems (RPi for example is an exception, it expects the boot partition to start at 8192.
                • Boot partition marked as bootable?
                • Does it boot on another system?
                hobbit666H 1 Reply Last reply Reply Quote 1
                • hobbit666H
                  hobbit666 @thwr
                  last edited by

                  Flash drive visible in UEFI?

                  Not sure is XenServer UEFI? or is it legacy boot?

                  • Selected as (first) boot device?

                  Yes

                  • Valid boot loader / partition?

                  Not sure yet but when plugged into a windows machine there are several partions

                  • Correct partition alignment? Boot partition should be at sector 2048 on most systems (RPi for example is an exception, it expects the boot partition to start at 8192.
                  • Boot partition marked as bootable?

                  Again not sure as i'm installing from XenSercer Media I would of thought it would install and make it bootable??

                  • Does it boot on another system?

                  No

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

                    @hobbit666 said in Install XenServer 7 on USB:

                    Flash drive visible in UEFI?

                    Not sure is XenServer UEFI? or is it legacy boot?

                    UEFI is a management system on your mainboard that replaces the BIOS completly. There may be something that looks like a BIOS, but this is just for compatibility. So that totally depends on your your board, not the OS.

                    • Selected as (first) boot device?

                    Yes

                    • Valid boot loader / partition?

                    Not sure yet but when plugged into a windows machine there are several partions

                    • Correct partition alignment? Boot partition should be at sector 2048 on most systems (RPi for example is an exception, it expects the boot partition to start at 8192.
                    • Boot partition marked as bootable?

                    PowerShell (on a Windows machine where your stick is plugged in. Could be you'll need elevated privileges):

                    Get-WmiObject Win32_DiskPartition | select Name,Index,BlockSize,Bootable,StartingOffset
                    

                    Sources:

                    • http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/03/01/getting-partition-offset-information-with-powershell.aspx
                    • https://gallery.technet.microsoft.com/scriptcenter/a4f06bed-65ee-426a-9aaa-a21a4b04c963

                    Way easier on a Linux machine:

                    fdisk -l
                    

                    Again not sure as i'm installing from XenSercer Media I would of thought it would install and make it bootable??

                    • Does it boot on another system?

                    No

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

                      @thwr said in Install XenServer 7 on USB:

                      @hobbit666 said in Install XenServer 7 on USB:

                      Sorry, got your question wrong:

                      Not sure is XenServer UEFI? or is it legacy boot?

                      UEFI is a management system on your mainboard that replaces the BIOS completly. There may be something that looks like a BIOS, but this is just for compatibility. So that totally depends on your your board, not the OS.

                      Just found this: http://xenserver.org/discuss-virtualization/virtualization-blog/entry/xenserver-6-5-can-do-true-uefi-boot.html

                      Like I said, I'm not into XS, but the headline in this post looks like it tries to boot in BIOS mode by default, but you can make it UEFI aware. Maybe wait for someone who knows XS before you try it 😉

                      Is your server configured to boot in BIOS or UEFI mode? Switching to BIOS mode seems to be a quick workaround, saving you from compiling parts of XS from source.

                      1 Reply Last reply Reply Quote 0
                      • hobbit666H
                        hobbit666
                        last edited by

                        This was going onto a Dell Server so I guessing that is legacy BIOS so to speak not UEFI anyway.

                        1 Reply Last reply Reply Quote 0
                        • hobbit666H
                          hobbit666
                          last edited by hobbit666

                          Should mention this is on a Dell R510 server (I thought it was a R710 but remembered I used that in my ESXi farm)

                          Going to try it again and play with BIOS settings.
                          (Did try Hyper-V which did work from USB but couldn't find NIC 😞 )

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

                            My thought is that the system is not booting from the "C: drive" which is actually the USB.

                            That the BIOS is defaulting to some other boot device, be it the CD/DVD or the array.

                            The array would be my guess.

                            BRRABillB 1 Reply Last reply Reply Quote 0
                            • BRRABillB
                              BRRABill
                              last edited by

                              Getting my T320 to boot off of USB is a little ... odd. You have to go into an option that looks like the hard drive, but the USB is also listed there.

                              But you said it was already booting an OS off of USB, so I am sure you are aware of that.

                              1 Reply Last reply Reply Quote 0
                              • BRRABillB
                                BRRABill @DustinB3403
                                last edited by

                                @DustinB3403 said in Install XenServer 7 on USB:

                                My thought is that the system is not booting from the "C: drive" which is actually the USB.

                                That the BIOS is defaulting to some other boot device, be it the CD/DVD or the array.

                                The array would be my guess.

                                That's kind of what I was trying to say, but you said it better. 🙂

                                But since he's already booted off USB on this server, I assumed that was not the case.

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

                                  It might be that with a different USB in the system (are there multiple USB ports available that are available inside of this server?) it's assigning it the letter "D:" or something like that.

                                  1 Reply Last reply Reply Quote 1
                                  • travisdh1T
                                    travisdh1 @DustinB3403
                                    last edited by

                                    @DustinB3403 said in Install XenServer 7 on USB:

                                    20 dollars a piece.

                                    http://m.staples.com/PNY-64GB-Turbo-USB-30-Flash-Drive/product_338640

                                    Micro Center has 64GB for $13. Best warranty you'll find is the real reason I like those tho, if it ever goes bad they'll replace it.

                                    BRRABillB 1 Reply Last reply Reply Quote 0
                                    • BRRABillB
                                      BRRABill @travisdh1
                                      last edited by

                                      @travisdh1 said i

                                      Micro Center has 64GB for $13. Best warranty you'll find is the real reason I like those tho, if it ever goes bad they'll replace it.

                                      I'm a little OCD so I've been buying the little teeny ones that go flush on the server.

                                      But your link looks like a great option.

                                      travisdh1T 1 Reply Last reply Reply Quote 1
                                      • travisdh1T
                                        travisdh1 @BRRABill
                                        last edited by

                                        @BRRABill said in Install XenServer 7 on USB:

                                        @travisdh1 said i

                                        Micro Center has 64GB for $13. Best warranty you'll find is the real reason I like those tho, if it ever goes bad they'll replace it.

                                        I'm a little OCD so I've been buying the little teeny ones that go flush on the server.

                                        But your link looks like a great option.

                                        They're great for the internal USB port, which most servers have. I don't have any 1U servers, they might not fit something that short.

                                        1 Reply Last reply Reply Quote 0
                                        • hobbit666H
                                          hobbit666
                                          last edited by

                                          would you adam and eve it!!!!!

                                          re-created the install USB stick. Used disk part on the 64GB and "cleaned" it. Re-installed and it boots first time 🙂

                                          1 Reply Last reply Reply Quote 1
                                          • BRRABillB
                                            BRRABill @scottalanmiller
                                            last edited by

                                            @scottalanmiller said

                                            Everything that writes anything more than a config file should be off of the USB. Swap on USB would be insanely slow AND kill it quickly. Basically you should never allow swapping AND logging should be external.

                                            Question 1:
                                            Even though I set up logging to be external, it still seems to write data to the boot device. (Not sure if this still happens in XS7. Just set it up tonight.)
                                            Is there an amount of writing that would be OK? Like a few KB a day? Or would we prefer to see NO log writing?

                                            Question 2:
                                            How does one go about disabling swapping on XS?

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