LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Bootup failed - fsck error (https://www.linuxquestions.org/questions/linux-general-1/bootup-failed-fsck-error-4175736351/)

piobair 04-23-2024 02:03 PM

Bootup failed - fsck error
 
My new Lenovo laptop is a few weeks old; been using it daily. Debian bookworm OS. Bootup fails with the following:

Quote:

/def/nme0n1p2 contains a file system with errors, check forced.
Inode 23593190, end of extent exceeds allowable value
(logical block 13, physical block 3135496, len 1)

/dev/nvme0n1p2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALY.
(i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/nvne0n1p2 requires a manual fsck

BusyBox v1.35.0 (Debian 1:1.35.0-4+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.


ls /
returns the boot directory. /home is not one of the listed directories.

yancek 04-23-2024 02:14 PM

What happened when you ran fsck as suggested in the error message? Did you do it? The site at the link below explains fsck and options.

https://docs.oracle.com/cd/E19455-01...f0j/index.html

Your message refers only to the 2nd partition on the drive. Are there other partitions showing from running parted or fdisk? What are they? Do you have a separate /home partition which you created during the install? Do you have a separate /boot partition as well as an EFI partition? Did you do an LVM install?

piobair 04-23-2024 02:35 PM

If I am reading the error thread correctly, the bootup sequence ran fsck.
Quote:

fsck exited with status code 4
I did run
Quote:

fsck /
I installed Debian as a single partition. A cursory examination finds that everything on the root file system is intact, except that "/home" is not listed.

Quote:

Originally Posted by yancek (Post 6497941)
What happened when you ran fsck as suggested in the error message? Did you do it? (snip)


michaelk 04-23-2024 03:23 PM

The proper command is:

fsck /dev/nvne0n1p2

Once the command finishes successfully (hopefully) enter the command

exit (and press enter key)

The system should then reboot.

piobair 04-23-2024 03:43 PM

Success!
Thank you.


All times are GMT -5. The time now is 10:09 PM.