After an abrupt power disruption, freebsd 13.0 got into an xfce login loop; When I tried to select a different hard drive from BIOS with Ubuntu, the boot process went into disk 0, disk 1, disk 2 selection process which fell back to the same freebsd nvme with the login loop issue. I have also forgotten root password, root prompt from single user mode does not accept a password change.
This part resolved. The code was wrong. Got the correct syntax from Section 10.11 of the Freebsd 12&13 FAQ which is
Could change my root and user password, got to xfce login screen, still user login didn't work, logged in as root, had to again start browser with --no -sandbox. This I try to fix.
Tried by adding user to wheel and video again, reboot brought up xfce root login worked but user login with correct password did not work, there was the xfce login loop for the user again.
But how did the bios get corrupt? The other hard disk with Ubuntu 21.10 has been working fine till date, but after the abrupt power interruption, if the ubuntu hard disk is selected from the bios, the system seems to ignore the selection and gets to freebsd, which now works!
(In trying to fix the bios I changed some settings today, bios still works, there are some wrong settings. Are there a recommendations for BIOS settings for freeBSD printed somewere?
mount -u -a
passwd: pam_chauthtok(): Error in service module
This part resolved. The code was wrong. Got the correct syntax from Section 10.11 of the Freebsd 12&13 FAQ which is
mount -urw
on single user boot, root prompt followed bymount -a
Could change my root and user password, got to xfce login screen, still user login didn't work, logged in as root, had to again start browser with --no -sandbox. This I try to fix.
Tried by adding user to wheel and video again, reboot brought up xfce root login worked but user login with correct password did not work, there was the xfce login loop for the user again.
But how did the bios get corrupt? The other hard disk with Ubuntu 21.10 has been working fine till date, but after the abrupt power interruption, if the ubuntu hard disk is selected from the bios, the system seems to ignore the selection and gets to freebsd, which now works!
(In trying to fix the bios I changed some settings today, bios still works, there are some wrong settings. Are there a recommendations for BIOS settings for freeBSD printed somewere?
Last edited: