Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2014 06:17:26 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-questions@freebsd.org
Subject:   Single-User mode problems
Message-ID:  <1395753446601-5897506.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
I am seeing two problems when system goes to single-user mode.

1. If I boot into single-user, It gives ""cannot read termcap database using
dumb terminal settings". I have checked /usr/share/misc and ran "# cap_mkdb
termcap". Resulting .db file is same size as before.

2. On the other hand, if I go to single user with "shutdown now", "Enter
full pathname of shell or RETURN for /bin/sh:",  Return > system freezes and
shows "init: can't exec for single user no such file or directory". I then
have to "ctrl+alt+del" and reboot.

It's possible problem #1 is related to #2, but I can't figure out how...

$ ls /bin/*sh*  >  csh  sh   tcsh
$ cat /etc/shells  >  /bin/sh, /bin/csh, /bin/tcsh, /usr/local/bin/bash,
/usr/local/bin/rbash, /usr/local/libexec/git-core/git-shell




-----
FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
--
View this message in context: http://freebsd.1045724.n5.nabble.com/Single-User-mode-problems-tp5897506.html
Sent from the freebsd-questions mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1395753446601-5897506.post>