The following recipe might help: boot bsd.rd (s) for shell
fsck your root filesystem mount your root filesystem on /mnt fsck the filesystems specified in /mnt/etc/fstab Mount at least your /usr partition, but on /mnt/usr You will need it to run the pwd_mkdb command Run the following: /mnt/usr/sbin/pwd_mkdb -d /mnt/etc master.passwd Good luck. There is a simpler path of course. Do an upgrade to the same era of code you were running. Behind the scenes, it will perform this same action. > After a power-loss, my server rebooted and gave at start : > > ---- > starting network daemons: sshdMar 23 07:59:40 su: /etc/pwd.db: > Inappropriate file type or format > (failed) smtpdMar 23 07:59:41 su: /etc/pwd.db: Inappropriate file type > or format > (failed). > starting local daemons: cronMar 23 07:59:41 su: /etc/pwd.db: > Inappropriate file type or format > (failed). > > OpenBSD/socppc (asphyx) (console) > > login: root > Password: > Login incorrect > login: > > ---- > > Is there a way to repair without putting out the drive ? > (it is an OpenBSD5.4 on a RB600a) > > Thank you in advance, > Denis