As well as all my important stuff in /home, can I transfer over the operating system as well as everything in the root partition? What about the Windows Partition? Thanks in advance.

  • Rentlar@lemmy.ca
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    25 days ago

    If you’re feeling risky, dd can do everything you want to but it can also fuck everything up if you make a mistake (so can ignoring warnings on gui programs). So triple check everything (the if= and of= portions in particular) before you run any dd command. Launch a live distribution off a CD or USB to use a disk image maker or dd, don’t make images of the operating system disk while it’s being used for best results. A couple sample methods:

    • make an image of the entire smaller disk, place it on a third storage disk
    • restore the image from the third disk to the destination disk you want
    • then resize the partitions or add new ones on the second disk using Gparted for the remaining storage space.

    The quicker but riskier method is to directly clone the first disk to the second larger disk, then adjusting the second disk using Gparted to add or expand partitions.

    Either way it will copy everything from the old disk including windows and root partitions.