IQ - Schwarzer Bildschirm mit Hinweis "Dev sda1 contains a filesystem with errors"
IQ: Schwarzer Bildschirm mit Meldung „Dev sda1 contains a filesystem with errors”
⚠️ ACHTUNG: Das Tastaturlayout in der (initramfs)-Konsole ist ENGLISCH (US)!
Sonderzeichen und „Y/Z” liegen an anderen Stellen als auf der deutschen Tastatur. Die richtigen Tasten stehen im Abschnitt „Tastatur” unten.
Symptom
Beim Start bleibt der Bildschirm schwarz und zeigt die Meldung „Dev sda1 contains a filesystem with errors”. Am Ende steht eine Eingabeaufforderung mit (initramfs).
Ursache
Das Dateisystem ist fehlerhaft, meist nach einem Stromausfall oder einem Ausschalten ohne Herunterfahren. Es muss einmal mit fsck repariert werden.
Lösung
- Hinter
(initramfs)folgenden Befehl eingeben und mit Enter bestätigen:
fsck /dev/sda2 -y
⚠️ Englisches Tastaturlayout beachten: Minus, Schrägstrich und „y” müssen mit den Tasten aus der Tabelle unten eingegeben werden. Zwischen fsck und /dev/sda2 sowie zwischen /dev/sda2 und -y ist jeweils ein Leerzeichen.
- Warten, bis die Prüfung abgeschlossen ist. Am Ende muss die Meldung „File system was modified” erscheinen.
exiteingeben und mit Enter bestätigen. Das Gerät startet neu.- Es erscheinen grüne OK-Symbole. Damit startet der PC normal.
Tastatur (englisches Layout)
| Gewünschtes Zeichen | Diese Taste auf der deutschen Tastatur drücken |
|---|---|
- (Minus) |
Minus-Taste auf dem Num-Pad |
/ (Schrägstrich) |
Taste mit dem - (rechts neben dem Punkt) |
y |
Taste Z |
Hinweise
- Erscheint die Meldung „not found”, wurde der Befehl falsch eingegeben. Meist liegt es am Tastaturlayout oder an fehlenden Leerzeichen.
- Erscheint „File system was modified” nicht, den Befehl erneut ausführen.
English
IQ: Black screen with message “Dev sda1 contains a filesystem with errors”
⚠️ ATTENTION: The keyboard layout in the (initramfs) console is ENGLISH (US)!
Special characters and “Y/Z” are in different places than on a German keyboard. See the “Keyboard” section below for the correct keys.
Symptom
On startup, the screen stays black and shows “Dev sda1 contains a filesystem with errors”. A prompt ending in (initramfs) appears at the bottom.
Cause
The filesystem is corrupted, usually after a power failure or the device being switched off without shutting down. It must be repaired once using fsck.
Solution
- At the
(initramfs)prompt, enter the following command and press Enter:
fsck /dev/sda2 -y
⚠️ Mind the English keyboard layout: Type the minus, slash and “y” using the keys shown in the table below. There must be a space between fsck and /dev/sda2, and another between /dev/sda2 and -y.
- Wait until the check completes. The output must end with “File system was modified”.
- Type
exitand press Enter. The device will restart. - Green OK symbols will appear, indicating the PC is booting normally.
Keyboard (English layout)
| Character you need | Key to press on the German keyboard |
|---|---|
- (minus) |
Minus key on the numeric keypad |
/ (slash) |
The key labelled - (right of the period key) |
y |
The Z key |
Notes
- If “not found” appears, the command was typed incorrectly. This is usually caused by the keyboard layout or missing spaces.
- If “File system was modified” does not appear, run the command again.
