Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: help with dd command

  1. #11
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: help with dd command

    I suggest that you use gparted. It has an easy graphical user interface and lets you select size in Mibibyte units (2^20) bytes.

    If you prefer a command line tool you can use parted (and use a separate tool to create the file system). Then you can select size more accurately, but you should be careful to match the start of a partition with the sectors of the drive.

    Both tools work with MSDOS and GUID partition tables (GPT).
    Last edited by sudodus; April 29th, 2016 at 10:59 AM.

  2. #12
    Join Date
    Mar 2009
    Beans
    1,982

    Re: help with dd command

    What dd will not do is copy a partition from one gpt drive over the top of the partition for another gpt drive. Each drive will have a unique UUID, and if the UUID is wrong then the partition table is corrupt. The UUID will NOT be the same between the two drives.

    So your best bet is to create a (probably 20%) larger partition on the second drive, format it and then dd the first drive's partition over to a file on the second drive.

    You can then use photorec on that file. If photorec needs the partition to be mounted you can mount it using -o loopback

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •