Linux help me clone dynamic windows disk to clean SSD
-
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?
-
Boot up a LiveCD and image. I'm not aware of any limitation.
-
CloneZilla?
-
You could use dd to take a block level image of the drive. Or just use clonezilla.
-
@coliver I've never used dd.
Clonezilla I have used, I'll give that a shot.
-
DD is the standard tool.
-
@scottalanmiller Is there an newb's guide to dd?
-
Yep,
man dd
-
dd if=/dev/sda of=/dev/sdb bs=32M
Where sda is the source, and sbd is the target.
-
@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.
-
Just make sure you are absolutely sure which drive is which. dd is similar to a honey badger when it comes to your data.
-
And you know how a honey badger is with data.
-
@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
-
@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.
-
@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.
-
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 -
-
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.
-
Does DD gracefully handle larger to smaller disks?
-
@DustinB3403 From what I've read (haven't tried) you have to resize the partitions on the source then clone each partition over individually.
-
That blows.