nuta / kerla

A new operating system kernel with Linux binary compatibility written in Rust.
Other
3.35k stars 87 forks source link

Support saving kernel crash logs using boot2dump #139

Closed nuta closed 2 years ago

nuta commented 2 years ago

Boot2dump is a new tiny operating system written by me, which is specialized for saving a crash dump. Once Kerla panics, it jumps into the boot2dump's boot code.

Boot2dump reads an ext4 filesytem in a virtio-blk device, saves the dump into a file and then it resets the computer.

It's an already working mechanism in my deployment in DigitalOcean!