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

    How-To clone a Xen USB on Windows

    IT Discussion
    how to xen clone usb cloning bootable xenserver
    9
    33
    6.8k
    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.
    • ntoxicatorN
      ntoxicator
      last edited by

      What about from an SD card? Similar process I presume?

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

        @ntoxicator said in How-To clone a Xen USB on Windows:

        What about from an SD card? Similar process I presume?

        SD cards are actually USB thumb drives. Only difference is where the controller is located. The USB drive has a tiny controller built in. The SD card has the USB controller portion hard wired to the mobo and you only plug and unplug the memory chip portion. They are actually the same devices under the hood.

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

          @Dashrender said

          wow, that made my head spin.

          Me, too.

          I'm waiting for sommeone to dumb that down for a rook for when I need it, shortly.

          1 Reply Last reply Reply Quote 1
          • stacksofplatesS
            stacksofplates @travisdh1
            last edited by

            @travisdh1 said in How-To clone a Xen USB on Windows:

            @Dashrender said in How-To clone a Xen USB on Windows:

            I'm wondering, if your server supports two internal USB ports (or willing to use an external one) I wonder if you can dd a running disk to an image, then dd it to the other disk?

            XenServer 6.5 is using LVM for the root file system, so no need to do something so gouch as using dd to image drives. Create a physical volume on the backup drive, add the new PV to the system volume group, create a mirror image by making a new snapshot of the system logical volume on the backup PV. Remove the backup PV from the VG. Remove backup USB. Verify it boots, and stash it some where.

            Will it boot though? I didn't think the boot partition could use LVM?

            Maybe it's something else. I know there is some limitation for /boot.

            1 Reply Last reply Reply Quote 0
            • RomoR
              Romo
              last edited by

              @johnhooks Grub2 can read files from LVM, so it could boot without a problem.

              stacksofplatesS 1 Reply Last reply Reply Quote 0
              • stacksofplatesS
                stacksofplates @Romo
                last edited by stacksofplates

                @Romo said in How-To clone a Xen USB on Windows:

                @johnhooks Grub2 can read files from LVM, so it could boot without a problem.

                Does XenServer support grub2? I know even in 7 they still set it up as a separate partition.

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

                  @johnhooks said in How-To clone a Xen USB on Windows:

                  @Romo said in How-To clone a Xen USB on Windows:

                  @johnhooks Grub2 can read files from LVM, so it could boot without a problem.

                  Does XenServer support grub2? I know even in 7 they still set it up as a separate partition.

                  After actually looking at my server yesterday, it doesn't look like XenServer puts itself on an LVM partition. wth man, makes no sense. Even ProxMox got that part right.

                  Google doesn't find any LVM how to things on mangolassi yet. Guess someone should get around to that.

                  stacksofplatesS scottalanmillerS 2 Replies Last reply Reply Quote 1
                  • stacksofplatesS
                    stacksofplates @travisdh1
                    last edited by

                    @travisdh1 said in How-To clone a Xen USB on Windows:

                    @johnhooks said in How-To clone a Xen USB on Windows:

                    @Romo said in How-To clone a Xen USB on Windows:

                    @johnhooks Grub2 can read files from LVM, so it could boot without a problem.

                    Does XenServer support grub2? I know even in 7 they still set it up as a separate partition.

                    After actually looking at my server yesterday, it doesn't look like XenServer puts itself on an LVM partition. wth man, makes no sense. Even ProxMox got that part right.

                    Google doesn't find any LVM how to things on mangolassi yet. Guess someone should get around to that.

                    It might be a CentOS 6 limitation, I'll have to look at a RHEL system when I get to my desk.

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

                      Did anyone ever figure out if you could do this with dual USB slots?

                      I was trying to think of a way to do this from home via iDRAC as opposed to being in the office.

                      I guess I could leave the "blank" USB in the other slot, then boot to a Live Windows CD, do the clone, then reboot the server.

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

                        Was my post so laziness prone it didn't even deserve a response? LOL.

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

                          @BRRABill said in How-To clone a Xen USB on Windows:

                          Was my post so laziness prone it didn't even deserve a response? LOL.

                          Likely.

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

                            @scottalanmiller said

                            Likely.

                            I mean that's a thing, right?

                            What's the point of iDRAC if I have to come into the office?

                            Though I know a lot of people can't work from home, so we'll just say this is all theoretical.

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

                              @travisdh1 said in How-To clone a Xen USB on Windows:

                              After actually looking at my server yesterday, it doesn't look like XenServer puts itself on an LVM partition. wth man, makes no sense. Even ProxMox got that part right.

                              And uses EXT4 and VHD!!!!

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

                                @BRRABill said in How-To clone a Xen USB on Windows:

                                Did anyone ever figure out if you could do this with dual USB slots?

                                I was trying to think of a way to do this from home via iDRAC as opposed to being in the office.

                                I guess I could leave the "blank" USB in the other slot, then boot to a Live Windows CD, do the clone, then reboot the server.

                                Yes, that should work. iDRAC with the full license should let you do anything that you could do with the keyboard and monitor.

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

                                  @scottalanmiller said

                                  Yes, that should work. iDRAC with the full license should let you do anything that you could do with the keyboard and monitor.

                                  Though I am assuming a "Windows Live CD" is probably against all sorts of licensing rules.

                                  scottalanmillerS travisdh1T 2 Replies Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @BRRABill
                                    last edited by

                                    @BRRABill said in How-To clone a Xen USB on Windows:

                                    @scottalanmiller said

                                    Yes, that should work. iDRAC with the full license should let you do anything that you could do with the keyboard and monitor.

                                    Though I am assuming a "Windows Live CD" is probably against all sorts of licensing rules.

                                    Correct.

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

                                      @BRRABill said in How-To clone a Xen USB on Windows:

                                      @scottalanmiller said

                                      Yes, that should work. iDRAC with the full license should let you do anything that you could do with the keyboard and monitor.

                                      Though I am assuming a "Windows Live CD" is probably against all sorts of licensing rules.

                                      Right. Just fire up clonezilla from iDRAC, no licensing issues, and it's dd made easy.

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

                                        @travisdh1 said

                                        Right. Just fire up clonezilla from iDRAC, no licensing issues, and it's dd made easy.

                                        I was wondering if Clonezilla would work with booting issues and whatnot. I guess there is only 1 way to find out.

                                        Hmmm, maybe I better do it the Windows way (from this thread) first juuuuuuuuuuuuuuuuuuust in case. I can see myself ending up with two blank USB sticks. Duh.

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

                                          @BRRABill said in How-To clone a Xen USB on Windows:

                                          @travisdh1 said

                                          Right. Just fire up clonezilla from iDRAC, no licensing issues, and it's dd made easy.

                                          I was wondering if Clonezilla would work with booting issues and whatnot. I guess there is only 1 way to find out.

                                          Hmmm, maybe I better do it the Windows way (from this thread) first juuuuuuuuuuuuuuuuuuust in case. I can see myself ending up with two blank USB sticks. Duh.

                                          If you make a backup from XenCenter before that, then all you have to do is reinstall and restore the backup at least.

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

                                            @travisdh1 said

                                            If you make a backup from XenCenter before that, then all you have to do is reinstall and restore the backup at least.

                                            I actually have a question about that. but I will move it to my XS thread.

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