Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    Do you have space to store a ~50.35 GiB image? If so, you could use dd to image the first ~50.35 GiB of the disk, and create a VDI from that. You need to take all data from the beginning of the disk to the end of partition 2... i.e: 105,582,591 sectors or (typically x512) 54,058,286,592 bytes - dd if=/dev/sdb of=image.dd bs=4M count=54058286592 iflag=count_bytes
    – Attie
    Commented Sep 30, 2018 at 21:12
  • 2
    Thank you attie for your help! I didn't think of going down the dd road. As to your suggestion the only flag I used was count=10582591 since setting the blocksize parameter to 4M doubled the resulting image's size. Feel free to paste your post as answer and I'll mark it as solved. Cheers.
    – maxwhere
    Commented Oct 2, 2018 at 0:28