How to capture kernel boot output

Hi.

I am booting my linode using pv-grub and a new Centos 6 kernel-2.6.32-131.12.1.el6.i686 doesn't boot anymore, it looks like a kernel panic on the console, but, unfortunately, screen is terminated right away and I can't see the root cause. Is the a way to capture all kernel's output somehow?

Thanks,

Vadym

7 Replies

Are you using Lish? That will show you what's happening as it boots. You can access Lish via Linode Manager -> -> Remote Access, use either the AJAX terminal, or execute the ssh command listed for Lish. From your Linode Manager, execute a reboot and watch your Lish terminal. You can find instructions for using Lish right in the Linode Library.

Yes, lish and this is what I can look at :roll:

[screen is terminating]

Why use screen when you can use Lish?

Yes, but it's not running screen on your Linode, it's running screen outside of your Linode. Screen should only terminate if it's on your Linode and there's some sort of problem.

I found logview command, but it shows only last 100 lines.

How would one collect all output?

I am pretty sure kernel panic can be considered a problem.

screen session is terminated and all output is gone.

I can collect only last 100 lines using lish logview command.

I would like to collect all output.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct