System doesn't boot in multi user mode

After an incorrect shutdown of the computer, the system enters single-user mode at startup.
 

Attachments

  • IMG_20220411_203453 (2).jpg
    IMG_20220411_203453 (2).jpg
    669.7 KB · Views: 217
После некорректного выключения компьютера система при запуске переходит в однопользовательский режим.
let's take a look at your settings. /etc/rc.conf print your information correctly send me. sign in as sh to see your settings
 
The error message clearly says what you need to do: "RUN fsck MANUALLY". In the single user mode you can either run "fsck" and interactively accept its suggestions or run "fsck -y" and let it do its thing. Given incorrect shutdown you may have lost some files & directories but you can poke around in "/lost+found" to see if you lost anything critical.
 
The error message clearly says what you need to do: "RUN fsck MANUALLY". In the single user mode you can either run "fsck" and interactively accept its suggestions or run "fsck -y" and let it do its thing. Given incorrect shutdown you may have lost some files & directories but you can poke around in "/lost+found" to see if you lost anything critical.
I have a better suggestion he has to get the settings to see if it is correct and put the fsck_y_enable="YES" to load to do automatic verification /etc/rc.conf
 
the problem is that something is missing in the settings that's why fsck for checking
 
The error message clearly says what you need to do: "RUN fsck MANUALLY". In the single user mode you can either run "fsck" and interactively accept its suggestions or run "fsck -y" and let it do its thing. Given incorrect shutdown you may have lost some files & directories but you can poke around in "/lost+found" to see if you lost anything critical.
 

Attachments

  • IMG_20220411_213225.jpg
    IMG_20220411_213225.jpg
    553.6 KB · Views: 192
I am afraid this seems to say your filesystem was damaged beyond repair.... I haven't used fsdb in a very long time so can't say if you can repair this manually.... Are there any reliability issues with the disk or memory or motherboard? What happened in your "incorrect shutdown"?

Edit: I recommend asking on the freebsd-fs@freebsd.org mailing list in the hope that a real filesystem expert can help you. And leaving the disk alone until then.
 
I am afraid this seems to say your filesystem was damaged beyond repair.... I haven't used fsdb in a very long time so can't say if you can repair this manually.... Are there any reliability issues with the disk or memory or motherboard? What happened in your "incorrect shutdown"?

Edit: I recommend asking on the freebsd-fs@freebsd.org mailing list in the hope that a real filesystem expert can help you. And leaving the disk alone until then.
 
After an incorrect shutdown of the computer, the system enters single-user mode at startup.
what he can do is repair from a FreeBSD live USB, mount partitions and repair there, he has adequate tools for that, he doesn't even need a list, this can be solved manually, that's what I said. ffs/ufs2 (FreeBSD, ID 0xa5)
 
It may be worth redoing fsck but the "bad inode number 2 to nextinode" message worried me. Inode 2 is the root inode on UFS. I think it would be better to ask on the mailing list.
fsck -yf he needs to go into privileged mode and type this command. I never had this problem I was always very careful but maybe he can solve this problem by mounting the slices and chroot

Gooogol_plex

bakul

 
After an incorrect shutdown of the computer, …

Can you recall what preceded the incident?

If you have a working computer (or system) that can write to a USB flash drive, <https://old.reddit.com/r/freebsd/comments/rjs6gl/-/hpra8n1/> includes a link to UBCD, which includes Parted Magic, which includes GSmartControl a.k.a. Disk Health. With the Disk Health application it should be fairly easy to tell (from S.M.A.R.T. data) whether the hardware is OK.

fsck_y_enable="YES"

If required data is not backed up, I'd hesitate before allowing writes to the device in this situation.
 
FreeBSD bug 255979 – fsck bad inode number 2 (256) to nextinode

I assume that this covers what's in the photograph (2, not 256); comment 0 includes:

fsck_ufs: bad inode number 2 to nextinode


Given the fix (in FreeBSD 13.1, not yet released): a check of the hardware might be overkill, but it's good practice.
 
Back
Top