I would like to migrate my Raspberry Pi OS from SD card to external disk. In various posts I have read that Raspberry Pi 3 and 4 should support it out of the box.
However, when I just dd disk image from SD card to external disk, the Raspberry does not boot from the disk - looks like it does not find boot sector. I assume that the reason is that booting from disk needs different file structure than from SD card.
Would anyone know how to prepare booting (or fix boot on disk which has been created by dd from SD card) on disk, so I can just dd whole partitions? The configuration of OS on SD card is so complex that I believe I can not copy disk file by file (HASSIO).