Can I just use dd to clone my laptop to a bootable USB stick? - eviltoast

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.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 months ago

      Because it is in use. You technically can hot swap a file system by switching run levels and temporarily switching to a tmpfs but I’ve never succeeded.