Ask: Initramfs failed mount sda1 (issue after auto reboot update)

Hi All,

Currently in our linode we setup the autoreboot update (debian11) things is its kinda random issue for every instance we got as well as when the auto reboot occurred sometimes its make instance failed to mount sda1 and will go to initramfs state which the solution is just power off and on again it will boot normal again

Are there anything i can do to avoid that ? I notice when read somewhere that i should change the kernel - please cmiiw & hope you dont mind to share your thoughts

Many thanks

1 Reply

Without specific logs, I can't say for sure what the issue is, but if you are using Grub2, there is a chance that the problem is caused by the the kernel scanning for SCSI devices asynchronously. You may have read about switching from Grub2 to to the latest Linode kernel in another post here on our Community Site about this subject and it is definitely the easiest option:

It's also mentioned in that post that you can keep using Grub and the distro kernel, you can instead modify your Grub configuration (/etc/default/grub) by appending scsi_mod.scan=sync to the GRUB_CMDLINE_LINUX line:

GRUB_CMDLINE_LINUX="console=ttyS0,19200n8 net.ifnames=0 scsi_mod.scan=sync"

If you run into the issue again and are able to provide any error logs, we can take a look and confirm if this is the same issue or look into what else could be causing it.

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