I want to create backup of first 500MiB of space from my disk.
Backup
dd if=/dev/sda of=./backup.ddimg bs=1024 count=500
Change
dd if=/dev/zero of=/dev/sda bs=512 count=1000
Restore
dd if=backup.ddimg of=/dev/sda bs=1024 count=500
Will the disk function as if nothing happened with no data loss (not even a byte)?