[OpenIndiana-discuss] Recreate /dev/null
Martin Bochnig
martin at martux.org
Thu Apr 25 12:28:15 UTC 2013
>
> Which exactly? Seemingly unimportant details can be essential here.
> I have been in similar situations (during OpenSXCE debugging), I know how
> ugly and hopeless it feels in such a scenario.
>
> Fact is, that if running scripts directly from /lib/svc/method does not
> even help (if you tried), then Jim's approach is the best (and maybe
> actually the only one), that can still rescue you. And if not, then you are
> required to boot from LiveCD (or other alternate media), import the root
> pool, temporarilyset the mountpoint for "/" to some other value, zfs mount
> the root dataset, tar the missing bits over, also sync the boot_archive,
> set the mountpoint back to "/", export the root pool and reboot.
>
Ah, yes. Sorry for the slow awakening, boot from cd as described, and
instead of fiddeling with tar or friends, run devfsadm against the dir to
which you mounted the root.
I need some time to come back.
More information about the OpenIndiana-discuss
mailing list