NetBSD Problem Report #56615

From www@netbsd.org  Tue Jan 11 16:19:33 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 95E051A9239
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 11 Jan 2022 16:19:33 +0000 (UTC)
Message-Id: <20220111161932.2CDD01A923A@mollari.NetBSD.org>
Date: Tue, 11 Jan 2022 16:19:32 +0000 (UTC)
From: marietto2008@gmail.com
Reply-To: marietto2008@gmail.com
To: gnats-bugs@NetBSD.org
Subject: 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
X-Send-Pr-Version: www-1.0

>Number:         56615
>Category:       install
>Synopsis:       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
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    install-manager
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 11 16:20:01 +0000 2022
>Closed-Date:    Sun Jul 10 01:46:45 +0000 2022
>Last-Modified:  Sun Jul 10 01:46:45 +0000 2022
>Originator:     mario zio
>Release:        9.2
>Organization:
as hobby
>Environment:
NetBSD localhost 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
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

screenshots :

https://ibb.co/w6NszSR
https://ibb.co/ZW6XdJy
https://ibb.co/dLVrCBD
>How-To-Repeat:
Really I don't know.
>Fix:

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
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 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

From: Mario Marietto <marietto2008@gmail.com>
To: gnats-bugs@netbsd.org, Christos Zoulas <christos@zoulas.com>
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 19:35:10 +0100

 --000000000000bbe1c305d552b8b0
 Content-Type: text/plain; charset="UTF-8"

 Hello. Thanks,in the meantime I have been able to fix this issue with the
 help of @Christos Zoulas <christos@zoulas.com> ; he is always so gentle
 with me and he helps me a lot. For some reason the ID of the wedges had
 been overwritten by something and it was unable to boot, but  now I have
 fixed them with his help. I will be very happy if you can take in
 consideration the other bugs that I have reported,related to qemu and nvmm
 that aren't working properly. thanks.

 Il giorno mar 11 gen 2022 alle ore 18:55 Martin Husemann <martin@duskware.de>
 ha scritto:

 > The following reply was made to PR install/56615; it has been noted by
 > GNATS.
 >
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@netbsd.org
 > 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 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
 >
 >

 -- 
 Mario.

 --000000000000bbe1c305d552b8b0
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr">Hello. Thanks,in the meantime I have been able to fix this=
 =C2=A0issue with the help of=C2=A0<a class=3D"gmail_plusreply" id=3D"plusRe=
 plyChip-1" href=3D"mailto:christos@zoulas.com" tabindex=3D"-1">@Christos Zo=
 ulas</a> ; he is always so gentle with me and he helps me a lot. For some r=
 eason the ID of the wedges had been overwritten by something and it was una=
 ble to boot, but=C2=A0 now I have fixed them with his help. I will be very =
 happy if you can take in consideration the other bugs that I have reported,=
 related to qemu and nvmm that aren&#39;t working properly. thanks.<br></div=
 ><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Il gi=
 orno mar 11 gen 2022 alle ore 18:55 Martin Husemann &lt;<a href=3D"mailto:m=
 artin@duskware.de">martin@duskware.de</a>&gt; ha scritto:<br></div><blockqu=
 ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
  solid rgb(204,204,204);padding-left:1ex">The following reply was made to P=
 R install/56615; it has been noted by GNATS.<br>
 <br>
 From: Martin Husemann &lt;<a href=3D"mailto:martin@duskware.de" target=3D"_=
 blank">martin@duskware.de</a>&gt;<br>
 To: <a href=3D"mailto:gnats-bugs@netbsd.org" target=3D"_blank">gnats-bugs@n=
 etbsd.org</a><br>
 Cc: <br>
 Subject: Re: install/56615: fsck: no match for<br>
 =C2=A000000000-0000-0000-0000-000000000000 : no such file or directory ; in=
 it<br>
 =C2=A0can&#39;t exec for single user : no such file or directory<br>
 Date: Tue, 11 Jan 2022 18:54:17 +0100<br>
 <br>
 =C2=A0On Tue, Jan 11, 2022 at 04:20:01PM +0000, <a href=3D"mailto:marietto2=
 008@gmail.com" target=3D"_blank">marietto2008@gmail.com</a> wrote:<br>
 =C2=A0&gt; this error is appeared suddenly and I don&#39;t know what I did =
 before to produce it,so I can&#39;t repeat it. Sorry,but I can&#39;t boot N=
 etbsd anymore and I can&#39;t access its partition. <br>
 =C2=A0&gt; <br>
 =C2=A0&gt; fsck: no match for 00000000-0000-0000-0000-000000000000 : no suc=
 h file or directory ; init can&#39;t exec for single user : no such file or=
  directory<br>
 <br>
 =C2=A0Your root file system got damaged (probably very serious).<br>
 =C2=A0Path for recovery is:<br>
 <br>
 =C2=A0 - drop to boot prompt<br>
 =C2=A0 - boot netbsd -a<br>
 =C2=A0 =C2=A0 and use /rescue/init instead of /sbin/init and then /rescue/s=
 h as shell<br>
 <br>
 =C2=A0If that gives you a shell prompt, run /rescue/fsck -fy /<br>
 =C2=A0and see what is left over from your installation aftwards.<br>
 <br>
 =C2=A0I guess at least /etc/fstab is damaged (causing the strange &quot;no =
 match&quot; error),<br>
 =C2=A0and maybe /libexec/ld.elf_so and/or some of /lib/libc*.so.* and/or /b=
 in/sh.<br>
 =C2=A0Extracting the base set again over / should fix the latter, and then =
 you<br>
 =C2=A0could look at /etc/fstab and check what needs repair there.<br>
 <br>
 =C2=A0Martin<br>
 <br>
 </blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
 mail_signature">Mario.<br></div>

 --000000000000bbe1c305d552b8b0--

From: mlelstv@serpens.de (Michael van Elst)
To: gnats-bugs@netbsd.org
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:45:30 -0000 (UTC)

 marietto2008@gmail.com writes:

 >https://ibb.co/w6NszSR

 The message comes from getfsspecname. Looks like your /etc/fstab
 is garbled.

 >https://ibb.co/ZW6XdJy

 fsck on the raw partition usually warns about a vfstype "unused".

 I cannot see the root wedge you use, only dk10 as the dump partition.
 You should do something like (assuming the root partition is dk9):

 fsck /dev/dk9
 mount /dev/dk9 /
 mount -t tmpfs dummy /tmp
 export TERM=wsvt25

 then edit /etc/fstab and fix it.

From: RVP <rvp@SDF.ORG>
To: gnats-bugs@netbsd.org
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 20:37:36 +0000 (UTC)

 On Tue, 11 Jan 2022, Mario Marietto wrote:

 > with me and he helps me a lot. For some reason the ID of the wedges had
 > been overwritten by something and it was unable to boot, but  now I have
 > fixed them with his help. I will be very happy if you can take in
 >

 The DragonFlyBSD gpt(8) program creates these GPT-wedges with null UUIDs
 like 00000000-0000-0000-0000-000000000000. There may be other bugs which
 caused your partitions to get scrambled.

 You should report it to them.

 -RVP

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 10 Jul 2022 01:46:45 +0000
State-Changed-Why:
It appears that the submitter's issue was resolved.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.