[PC-BSD Testing] can't boot after updates
lars.engels at 0x20.net
Wed Jul 31 03:56:48 PDT 2013
On Wed, Jul 31, 2013 at 01:15:25PM +0300, Mike Barnard wrote:
> On 31 July 2013 11:47, Mike Barnard <mike.barnardq at gmail.com> wrote:
> > hi,
> > I updated my pcbsd this morning, GMT+3, and rebooted.
> > I cannot seem to get past single user mode, it ends up complaining
> > about not being able to find /bin/sh.
> It turns out that more than just sh is missing. A quick check shows that
> these files are missing from the /bin directory
> I restored these by booting from the installation media, Choose option 5 to
> boot into Emergency Console. After it brings the PCBSD Utility screen ->
> Utilities -> Shell
> I plugged in my portable disk and mounted it on /mnt and copied the files
> in /bin over to my portable disk. I rebooted my PCBSD installation, chose
> single usermode, entered /usr/local/bin/bash for my shell (since sh was not
> I remounted / as read write (mount -o rw tank0/ROOT/default /) and first
> moved cp over to /bin, then used cp -i to not overwrite existing files.
> At least I can now log into my PC. Will attempt this update again and post
> if anything goes wrong.
> PS: While booting, I get a screen that shows me
> geom_journal.ko missing
> geom_mirror.ko missing
> geom_eli.ko missing
In such cases it's very good to know that there are statically compiled
binaries of the most useful programs to rescue a system in /rescue.
For example there's /rescue/sh, /rescue/zfs, /rescue/zpool,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
More information about the Testing