I know about Clonezilla and copy pasting partitions with gparted, but can I just use dd to copy a partition with batocera to a USB stick and will it then boot from the stick? Do I have to set the boot flag or take any other steps?

Thank you for any tips.

  • bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    11 months ago

    I guess, she meant copying not files but block devices, like cp /dev/sda1 /dev/sdb1. With GNU cp this indeed works similar to dd.

    • bartolomeoOP
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      That’s cool, I didn’t know you could use cp on partitions.