Celeb Glow
news | March 28, 2026

fsck error on boot: /dev/sda2 - can't type slash character

I need to set the fsck manually on boot but I can't type in the character / that is required to set the path.

(initramfs) fsck /dev/sda2

I tried multiple keyboard combinations without success. How to fix this?

1 Answer

In such cases it's useful to have a look at the US keyboard layout.

US Keyboard layout

The key on your keyboard to the left of the right Shift key should be / on US keyboards - which is the default unless changed on Linux.

It's also possible to do this without ever typing /. Simply cd .. until you are at /, then cd dev followed by fsck sda2. You don't need to give it the full path.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy