And what about redirecting dmesg to a file? I can freely access the filesystem after the boot fails. This may be easier to do.