Navigation

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

    Linux help me clone dynamic windows disk to clean SSD

    IT Discussion
    7
    22
    1488
    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.
    • DustinB3403
      DustinB3403 last edited by

      Linux help me clone dynamic windows disk to clean SSD

      So can anyone give me some quick pointers on where to start on this, my mother has a Dynamic Windows disk from her HP laptop (like wth) and the windows tools I have don't support dynamic disks. (I'm not willing to spend 80 bucks either for this one case).

      So where can linux help me?

      1 Reply Last reply Reply Quote 1
      • scottalanmiller
        scottalanmiller last edited by

        Boot up a LiveCD and image. I'm not aware of any limitation.

        1 Reply Last reply Reply Quote 0
        • dafyre
          dafyre last edited by

          CloneZilla?

          1 Reply Last reply Reply Quote 2
          • coliver
            coliver last edited by

            You could use dd to take a block level image of the drive. Or just use clonezilla.

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

              @coliver I've never used dd.

              Clonezilla I have used, I'll give that a shot.

              1 Reply Last reply Reply Quote 0
              • scottalanmiller
                scottalanmiller last edited by

                DD is the standard tool.

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

                  @scottalanmiller Is there an newb's guide to dd?

                  1 Reply Last reply Reply Quote 0
                  • coliver
                    coliver last edited by

                    Yep,

                    man dd
                    coliver 1 Reply Last reply Reply Quote 2
                    • scottalanmiller
                      scottalanmiller last edited by

                      dd if=/dev/sda of=/dev/sdb bs=32M
                      

                      Where sda is the source, and sbd is the target.

                      1 Reply Last reply Reply Quote 0
                      • coliver
                        coliver @coliver last edited by coliver

                        @coliver said in Linux help me clone dynamic windows disk to clean SSD:

                        Yep,

                        man dd
                        

                        Really you would do something like:

                        dd if=/dev/sda of=/dev/sdb. 
                        

                        There is a way to do it with a progress bar I just don't remember it off the top of my head. Nor is it very useful other then to see some indication.

                        stacksofplates 1 Reply Last reply Reply Quote 0
                        • coliver
                          coliver last edited by

                          Just make sure you are absolutely sure which drive is which. dd is similar to a honey badger when it comes to your data.

                          1 Reply Last reply Reply Quote 2
                          • scottalanmiller
                            scottalanmiller last edited by

                            And you know how a honey badger is with data.

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

                              @coliver said in Linux help me clone dynamic windows disk to clean SSD:

                              @coliver said in Linux help me clone dynamic windows disk to clean SSD:

                              Yep,

                              man dd
                              

                              Really you would do something like:

                              dd if=/dev/sda of=/dev/sdb. 
                              

                              There is a way to do it with a progress bar I just don't remember it off the top of my head. Nor is it very useful other then to see some indication.

                              Ya to get the progress you have to pipe into pv. It's a weird syntax.

                              dd if=/dev/sda | pv | dd of=/dev/sdb
                              coliver 1 Reply Last reply Reply Quote 0
                              • coliver
                                coliver @stacksofplates last edited by

                                @johnhooks said in Linux help me clone dynamic windows disk to clean SSD:

                                @coliver said in Linux help me clone dynamic windows disk to clean SSD:

                                @coliver said in Linux help me clone dynamic windows disk to clean SSD:

                                Yep,

                                man dd
                                

                                Really you would do something like:

                                dd if=/dev/sda of=/dev/sdb. 
                                

                                There is a way to do it with a progress bar I just don't remember it off the top of my head. Nor is it very useful other then to see some indication.

                                Ya to get the progress you have to pipe into pv. It's a weird syntax.

                                dd if=/dev/sda | pv | dd of=/dev/sdb
                                

                                Thanks, I knew it wasn't difficult just not something I do everyday.

                                1 Reply Last reply Reply Quote 1
                                • coliver
                                  coliver @scottalanmiller last edited by

                                  @scottalanmiller said in Linux help me clone dynamic windows disk to clean SSD:

                                  And you know how a honey badger is with data.

                                  Not the one I was looking for but it is much more polite.

                                  0_1461935306523_images.jpg

                                  1 Reply Last reply Reply Quote 0
                                  • stacksofplates
                                    stacksofplates last edited by

                                    Looks like you can do this also

                                    dd if=/dev/sda of=/dev/sdb &
                                    

                                    then

                                    pv /path/to/file.iso | md5sum
                                    

                                    and it prints out the progress

                                    20MiB 0:00:00 [ 268MiB/s] [=====================================================================================================================================================================>] 100%            
                                    8f4e33f3dc3e414ff94e5fb6905cba8c  -
                                    1 Reply Last reply Reply Quote 1
                                    • travisdh1
                                      travisdh1 last edited by

                                      Clonezilla is just dd for those to lazy to figure out the exact command(s) needed to run. Also, I use it all the time.

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

                                        Does DD gracefully handle larger to smaller disks?

                                        brianlittlejohn scottalanmiller 2 Replies Last reply Reply Quote 0
                                        • brianlittlejohn
                                          brianlittlejohn @DustinB3403 last edited by

                                          @DustinB3403 From what I've read (haven't tried) you have to resize the partitions on the source then clone each partition over individually.

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

                                            That blows.

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