<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/using-netconsole-to-debug-linux-and-proxmox-kernel-panics-9astot08i" -->

---
title: Using NETCONSOLE to debug Linux (and Proxmox) Kernel Panics
description: A practical guide to setting up NETCONSOLE on Linux and Proxmox systems to capture kernel panics and logs from headless machines. Covers enabling the module...
canonical: https://daily.dev/posts/using-netconsole-to-debug-linux-and-proxmox-kernel-panics-9astot08i
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Using NETCONSOLE to debug Linux (and Proxmox) Kernel Panics | daily.dev
og:description: A practical guide to setting up NETCONSOLE on Linux and Proxmox systems to capture kernel panics and logs from headless machines. Covers enabling the module...
og:url: https://daily.dev/posts/using-netconsole-to-debug-linux-and-proxmox-kernel-panics-9astot08i
og:image: https://api.daily.dev/og/posts/9AsTOt08I.png
og:image:alt: Using NETCONSOLE to debug Linux (and Proxmox) Kernel Panics
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Using NETCONSOLE to debug Linux (and Proxmox) Kernel Panics

**[apalrd's adventures](https://daily.dev/sources/apalrd)** · 3 min read · 0 upvotes · 0 comments

## Summary

A practical guide to setting up NETCONSOLE on Linux and Proxmox systems to capture kernel panics and logs from headless machines. Covers enabling the module immediately via command line, configuring it to persist across reboots via GRUB or Proxmox boot tool, using IPv6 link-local addresses for early-boot reliability, and receiving output with Netcat or a persistent systemd service unit.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.apalrd.net/posts/2024/pve_netconsole>

## Questions this post answers

### How do I capture kernel panics on a headless Linux or Proxmox server using NETCONSOLE?

NETCONSOLE streams kernel messages over UDP to a remote receiver, making it possible to capture panics on headless systems. Enable it immediately with modprobe, or persist it across reboots by adding parameters to /etc/default/grub or /etc/kernel/cmdline. For Proxmox UEFI (non-secure-boot) systems, edit /etc/kernel/cmdline and run proxmox-boot-tool refresh. Use IPv6 link-local addresses for early-boot reliability. Receive output with netcat on UDP port 6666.

_Linux homelab operators debugging intermittent panics share setups like this on daily.dev._

### How do I persist NETCONSOLE settings across reboots on a Proxmox system?

On Proxmox systems using UEFI boot without secure boot, add the netconsole parameter to /etc/kernel/cmdline, then run proxmox-boot-tool refresh. On Debian-based or other Proxmox systems, edit /etc/default/grub and run update-grub. IPv6 link-local addresses are recommended because the interface may not have an IPv4 address early in the boot process.

_Proxmox administrators tracking down boot-time crashes find relevant techniques on daily.dev._

## Similar posts on daily.dev

- [Printk Improvement For Linux 6.19 Can Significantly Speed-Up Boot Times For Some Systems](https://daily.dev/posts/printk-improvement-for-linux-6-19-can-significantly-speed-up-boot-times-for-some-systems-ybksr879d) · Phoronix · 0 upvotes · 0 comments
- [I stopped being afraid to break my systems after learning what each OS actually needs to recover](https://daily.dev/posts/i-stopped-being-afraid-to-break-my-systems-after-learning-what-each-os-actually-needs-to-recover-hot0iyuat) · XDA Developers · 0 upvotes · 0 comments
- [Diskless Linux boot using ZFS, iSCSI & PXE](https://daily.dev/posts/diskless-linux-boot-using-zfs-iscsi-pxe-ztx932ijf) · Hacker News · 1 upvotes · 0 comments
- [Networking Aspects of Running VMs in Containers « ipSpace.net blog](https://daily.dev/posts/networking-aspects-of-running-vms-in-containers-ipspace-net-blog-gttjndloc) · ipSpace.net Blog · 0 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#proxmox](https://daily.dev/tags/proxmox)

[View this post on daily.dev](https://daily.dev/posts/using-netconsole-to-debug-linux-and-proxmox-kernel-panics-9astot08i)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Using NETCONSOLE to debug Linux (and Proxmox) Kernel Panics","url":"https://daily.dev/posts/using-netconsole-to-debug-linux-and-proxmox-kernel-panics-9astot08i","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/using-netconsole-to-debug-linux-and-proxmox-kernel-panics-9astot08i"},"datePublished":"2026-08-11T08:56:22.348Z","dateModified":"2026-08-11T09:31:52.927Z","description":"A practical guide to setting up NETCONSOLE on Linux and Proxmox systems to capture kernel panics and logs from headless machines. Covers enabling the module...","image":"https://media.daily.dev/image/upload/s--2-1xRawN--/f_auto/v1722860399/public/Placeholder%2011","thumbnailUrl":"https://media.daily.dev/image/upload/s--2-1xRawN--/f_auto/v1722860399/public/Placeholder%2011","isAccessibleForFree":true,"articleSection":"apalrd's adventures","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"apalrd's adventures","logo":"https://media.daily.dev/image/upload/s--4zkx8dRj--/f_auto,q_auto/v1786438309/logos/apalrd?_a=BAMAMicg0","url":"https://daily.dev/sources/apalrd"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/using-netconsole-to-debug-linux-and-proxmox-kernel-panics-9astot08i","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,proxmox","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"apalrd's adventures","item":"https://daily.dev/sources/apalrd"},{"@type":"ListItem","position":3,"name":"Using NETCONSOLE to debug Linux (and Proxmox) Kernel Panics"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/using-netconsole-to-debug-linux-and-proxmox-kernel-panics-9astot08i#faq","mainEntity":[{"@type":"Question","name":"How do I capture kernel panics on a headless Linux or Proxmox server using NETCONSOLE?","acceptedAnswer":{"@type":"Answer","text":"NETCONSOLE streams kernel messages over UDP to a remote receiver, making it possible to capture panics on headless systems. Enable it immediately with modprobe, or persist it across reboots by adding parameters to /etc/default/grub or /etc/kernel/cmdline. For Proxmox UEFI (non-secure-boot) systems, edit /etc/kernel/cmdline and run proxmox-boot-tool refresh. Use IPv6 link-local addresses for early-boot reliability. Receive output with netcat on UDP port 6666. Linux homelab operators debugging intermittent panics share setups like this on daily.dev."}},{"@type":"Question","name":"How do I persist NETCONSOLE settings across reboots on a Proxmox system?","acceptedAnswer":{"@type":"Answer","text":"On Proxmox systems using UEFI boot without secure boot, add the netconsole parameter to /etc/kernel/cmdline, then run proxmox-boot-tool refresh. On Debian-based or other Proxmox systems, edit /etc/default/grub and run update-grub. IPv6 link-local addresses are recommended because the interface may not have an IPv4 address early in the boot process. Proxmox administrators tracking down boot-time crashes find relevant techniques on daily.dev."}}]}
```

