NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Recovering from botched update? (NetBSD guide feedback also!)
David Chanters <david.chanters%googlemail.com@localhost> writes:
> I thought I had followed the instructions properly (a gripe I have
> with this page is it's not obvious where the separation is between
> *compiling* and *installing*), but it seems something has gone wrong
> since I now have a very broken NetBSD installation.
>
> Thankfully this is still in a VBox install on my Linux machine, but I now
> find:
>
> *** Failed target: installworld
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
> shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
> this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}"
> ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
> $@)}"; cd "${real}" && /usr/obj/tooldir.NetBSD-5.0.1-i386/bin/nbmake
> _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget distrib/sets
> installsets INSTALLDIR=/ INSTALLSETS=
> *** Error code 1
>
> Stop.
> nbmake: stopped in /usr/src
> [1] Bad system call (core dumped) cat >&2 <<...
> [1] Bad system call (core dumped) rm -r -f "/tmp/n...
> netbsd$ ls
> Bad system call (core dumped)
> netbsd$ ls
> Bad system call (core dumped)
> netbsd$ ls
> Bad system call (core dumped)
> netbsd$
>
> ... I daren't reboot the VBox image yet --- what's gone wrong, and
> what, if anything bar reinstalling can I do to fix this botch?
> I thought I had followed the instructions properly (a gripe I have
> with this page is it's not obvious where the separation is between
> *compiling* and *installing*), but it seems something has gone wrong
> since I now have a very broken NetBSD installation.
>
> Thankfully this is still in a VBox install on my Linux machine, but I now
> find:
>
> *** Failed target: installworld
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
> shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
> this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}"
> ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
> $@)}"; cd "${real}" && /usr/obj/tooldir.NetBSD-5.0.1-i386/bin/nbmake
> _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget distrib/sets
> installsets INSTALLDIR=/ INSTALLSETS=
> *** Error code 1
>
> Stop.
> nbmake: stopped in /usr/src
> [1] Bad system call (core dumped) cat >&2 <<...
> [1] Bad system call (core dumped) rm -r -f "/tmp/n...
> netbsd$ ls
> Bad system call (core dumped)
> netbsd$ ls
> Bad system call (core dumped)
> netbsd$ ls
> Bad system call (core dumped)
> netbsd$
>
> ... I daren't reboot the VBox image yet --- what's gone wrong, and
> what, if anything bar reinstalling can I do to fix this botch?
Fetch sets corresponding to your kernel (or before it)
and unpack them over your system, the base set is essential:
su root -c 'cd / && /rescue/pax -zrpe -f /some/path/base.tgz'
Unpack other sets except etc.tgz similarly.
--
HE CE3OH...
Home |
Main Index |
Thread Index |
Old Index