Failure to boot: init: Unable to create device: /dev/kmsg

Tried to upgrade my testing Linode to new Ubuntu, upgrade did not work correctly (accidentally had something running which should not have been). It then was restarted.

Now can not connect to it all.

Going through Lish I get

console [netcon0] enabled

netconsole: network logging started

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

md: Waiting for all devices to be available before autodetect

md: If you don't use raid, use raid=noautodetect

md: Autodetecting RAID arrays.

md: Scanned 0 and added 0 devices.

md: autorun …

md: … autorun DONE.

EXT3-fs: barriers not enabled

kjournald starting. Commit interval 5 seconds

EXT3-fs (xvda): mounted filesystem with writeback data mode

VFS: Mounted root (ext3 filesystem) readonly on device 202:0.

Freeing unused kernel memory: 848K (ffffffff81c9b000 - ffffffff81d6f000)

Write protecting the kernel read-only data: 12288k

Freeing unused kernel memory: 260K (ffff8800017bf000 - ffff880001800000)

Freeing unused kernel memory: 1160K (ffff880001ade000 - ffff880001c00000)

init: Unable to create device: /dev/kmsg

random: init urandom read with 75 bits of entropy available

Filesystem check or mount failed.

A maintenance shell will now be started.

CONTROL-D will terminate this shell and continue booting after re-trying

filesystems. Any further errors will be ignored

The key part seems to be

init: Unable to create device: /dev/kmsg

I found this referencing problem with grub configuration resulting in this error:

http://unix.stackexchange.com/questions … ot-failing">http://unix.stackexchange.com/questions/91063/why-is-the-kernel-boot-failing

but since there is no Grub, can not do much with it

Anyone got any ideas?

2 Replies

Create a new Linode, install your apps, config from your server notes, copy data from backups.

Managed to fix it. It was a really simple thing

mounted the drive and chroot to it

then just used apt-get to check and then fix it.

For whatever reason some of the packages failed to install first time and worked now. So no everything works

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