NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install/56615: fsck: no match for 00000000-0000-0000-0000-000000000000 : no such file or directory ; init can't exec for single user : no such file or directory
The following reply was made to PR install/56615; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: install/56615: fsck: no match for
00000000-0000-0000-0000-000000000000 : no such file or directory ; init
can't exec for single user : no such file or directory
Date: Tue, 11 Jan 2022 18:54:17 +0100
On Tue, Jan 11, 2022 at 04:20:01PM +0000, marietto2008%gmail.com@localhost wrote:
> this error is appeared suddenly and I don't know what I did before to produce it,so I can't repeat it. Sorry,but I can't boot Netbsd anymore and I can't access its partition.
>
> fsck: no match for 00000000-0000-0000-0000-000000000000 : no such file or directory ; init can't exec for single user : no such file or directory
Your root file system got damaged (probably very serious).
Path for recovery is:
- drop to boot prompt
- boot netbsd -a
and use /rescue/init instead of /sbin/init and then /rescue/sh as shell
If that gives you a shell prompt, run /rescue/fsck -fy /
and see what is left over from your installation aftwards.
I guess at least /etc/fstab is damaged (causing the strange "no match" error),
and maybe /libexec/ld.elf_so and/or some of /lib/libc*.so.* and/or /bin/sh.
Extracting the base set again over / should fix the latter, and then you
could look at /etc/fstab and check what needs repair there.
Martin
Home |
Main Index |
Thread Index |
Old Index