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

    Linux help me clone dynamic windows disk to clean SSD

    Scheduled Pinned Locked Moved IT Discussion
    22 Posts 7 Posters 2.2k Views
    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.
    • stacksofplatesS
      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
      
      coliverC 1 Reply Last reply Reply Quote 0
      • coliverC
        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
        • coliverC
          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
          • stacksofplatesS
            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
            • travisdh1T
              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
              • DustinB3403D
                DustinB3403
                last edited by

                Does DD gracefully handle larger to smaller disks?

                brianlittlejohnB scottalanmillerS 2 Replies Last reply Reply Quote 0
                • brianlittlejohnB
                  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
                  • DustinB3403D
                    DustinB3403
                    last edited by

                    That blows.

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

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

                      Does DD gracefully handle larger to smaller disks?

                      No, it's JUST the block copy mechanism.

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

                        I might just buy a 960GB SSD.... it's under $200... and return this unit.

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