I would like to create a disk image of a dual boot system (Ubuntu, Windows 11).
Ubuntu is on /dev/sda1 and Windows 11 on /dev/sdb1
How can I accomplish the task with the dd command?
I tried sudo dd if=/dev/sda if=/dev/sdb of=dualboot.img bs=64K conv=noerror,sync. However after two seconds the clone option stops leaving behind a image size of 4096 bytes.
if=. You shouldn't use noerror,sync either. Since you have two separate drives, why not backup them separately? – frostschutz Mar 23 '24 at 18:32