At first, the MacBook Air M2 gives an "failed to personalize" error when updating, the detailed error message shown by softwareupdate shows that something related a recovery partition is wrong. The exact error message is not available now.
(To solve this issue) I tried to revive the Mac, but it failed the first time and multiple tries also failed after that. The Mac is unable to boot into macOS and the Recovery. The MacUpdater.log shows the following:
[12:13:52.3728] find_filesystem_partitions: recovery os container= volume=
[12:13:52.3728] entering fsck_recovery_os_filesystems
[12:13:52.3728] ramrod_display_set_granular_progress_forced: 29.000000
[12:13:52.3728] fsck_recovery_os_filesystems: No dev node for 'Recovery' partition
[12:13:52.3728] leaving fsck_recovery_os_filesystems, returning 26
[12:13:52.3728] [04:13:49.0882-GMT]{3>6} CHECKPOINT FAILURE:(FAILURE:26) MOUNTED:[0x1605] fsck_recovery_volume [0]D(failed to fsck recovery OS filesystems)
Since there are many important data on the Mac, I cannot do a restore on it. How should I restore the data?