I have a linux-box.
My hdd is nvme, hence boot is fast. I need to analyze each line of after grub.
Can I pass a kernel parameter to capture my boot lines?
You can run
dmesg | more in the terminal after booting.
You didn't tell us your Linux distro, but if it's anything mainstream of the last ca 15 years:
Your boot process, from the very point that control is handed over to the init process (systemd), is logged already; nothing you need to do. journalctl contains everything, and journalctl -b0 allows you to only see the log messages since start of the current boot.
journalctl -b0 is showing boot initialization for systemd, but after grub and between boot initialization user can see some printed lines. I need to them. By the way, I use Debian.
grubbut AFAIK it loads the OS kernel. And until the kernel is loaded, it would seem to me that you won't have any logging capability - correct? So it would also seem that any "capture" facility would have to built into grub... but there is none! So maybe the best you can do is to use the "grubcommand line"? Maybe this Baeldung blog-post would be useful in learning how to use thegrubcommand line?