Hacker News new | ask | show | jobs
by buserror 3869 days ago
Hehe you'd be /amazed/ how much smaller the kernel gets it you don't put in IPv4/6 -- and let me tell you, when you upload via uart, every little helps :-)

My fav method is to build a kernel with just busybox using my minifs [0], making sure I have kexec support in that kernel.

Once booted, I can upload a new kernel via zmodem, and kexec straight into the new kernel. Rince, repeat!

You can also use zmodem to upload new binaries to a system, even if it's an initramfs, without having to do a full rebuild/reboot. Quite handy.

[0]: https://github.com/buserror/minifs

1 comments

I wonder if I could use zmodem via VirtualBox's serial port... I mean, I have PXE for loading new kernels but this seems cooler.