NetBSD Problem Report #57251

From www@netbsd.org  Wed Mar  1 03:52:01 2023
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 B5B6D1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  1 Mar 2023 03:52:00 +0000 (UTC)
Message-Id: <20230301035129.400D11A923B@mollari.NetBSD.org>
Date: Wed,  1 Mar 2023 03:51:29 +0000 (UTC)
From: capa150@gmail.com
Reply-To: capa150@gmail.com
To: gnats-bugs@NetBSD.org
Subject: "No root petition defined. Cannot continue" during 9.2 macppc install
X-Send-Pr-Version: www-1.0

>Number:         57251
>Category:       install
>Synopsis:       "No root petition defined. Cannot continue" during 9.2 macppc install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    martin
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 01 03:55:00 +0000 2023
>Last-Modified:  Fri Mar 10 11:03:52 +0000 2023
>Originator:     Chris Tucker
>Release:        9.2
>Organization:
self
>Environment:
Macppc
>Description:
Hello, I have a blue and white G3 Mac and I tried to install NetBSD 9.3 via CDROM and followed the NetBSD install notes (and also used this site https://e17i.github.io/articles-netbsd-install/ )

After partitioning disks for macos, root swap and usr and running newfs on the two ffs partitions and creating fstab, I ran the sysinstall "reinstall" option (due to OpenFirmware 3 on this mac). But right away the installer complained that "No root petition defined. Cannot continue"

I clearly had a / partition but when I used sysint's partition tools (I know you're not supposed to use these for OFW 3 machines but at this point I was ready to try anything) I noticed sysinst seemed to think my root drive was /mnt instead for some reason.

I repeated the process with NetBSD 9.2 and encountered the same error.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/57251: "No root petition defined. Cannot continue"
 during 9.2 macppc install
Date: Thu, 2 Mar 2023 18:23:27 +0100

 On Wed, Mar 01, 2023 at 03:55:00AM +0000, capa150@gmail.com wrote:
 > I clearly had a / partition but when I used sysint's partition tools
 > (I know you're not supposed to use these for OFW 3 machines but at this
 > point I was ready to try anything) I noticed sysinst seemed to think my
 > root drive was /mnt instead for some reason.

 It tests the "last mounted on" data of disks and uses that sometimes.
 If you want to trick it, mount the volume on /targetroot instead, that prefix
 is ignored :-)

 Can you show the full /etc/fstab that you created and the output of
 disklabel?

 There have been some bugs in this area fixed, but unfortunately it is not
 easy to test the daily builds if you need to boot from CD.

 Martin

From: Chris Tucker <capa150@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/57251: "No root petition defined. Cannot continue" during
 9.2 macppc install
Date: Thu, 2 Mar 2023 14:04:32 -0800

 --0000000000004fab9605f5f2058b
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 On Thu, Mar 2, 2023 at 9:25=E2=80=AFAM Martin Husemann <martin@duskware.de>=
  wrote:

 > The following reply was made to PR install/57251; it has been noted by
 > GNATS.
 >
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: install/57251: "No root petition defined. Cannot continue"
 >  during 9.2 macppc install
 > Date: Thu, 2 Mar 2023 18:23:27 +0100
 >
 >  On Wed, Mar 01, 2023 at 03:55:00AM +0000, capa150@gmail.com wrote:
 >  > I clearly had a / partition but when I used sysint's partition tools
 >  > (I know you're not supposed to use these for OFW 3 machines but at thi=
 s
 >  > point I was ready to try anything) I noticed sysinst seemed to think m=
 y
 >  > root drive was /mnt instead for some reason.
 >
 >  It tests the "last mounted on" data of disks and uses that sometimes.
 >  If you want to trick it, mount the volume on /targetroot instead, that
 > prefix
 >  is ignored :-)
 >
 >  Can you show the full /etc/fstab that you created and the output of
 >  disklabel?
 >
 >  There have been some bugs in this area fixed, but unfortunately it is no=
 t
 >  easy to test the daily builds if you need to boot from CD.
 >
 >  Martin
 >
 >
 Hello,

 Unfortunately I no longer can retrieve the exact disklabel information you
 requested. I do remember disklabel (via the shell command line)  reporting
 root as / and not /mnt, however. Only the sysint drive tools reported root
 as /mnt, which puzzled me.

 I remember the fstab information, in /etc/fstab, (created prior to running
 sysinst "re-install sets..."). This was after I booted of the 9.3/9.2
 install CD and mounted / to /mnt per instructions:

 /dev/wd0a / ffs rw 1 1
 /dev/wd0b none swap sw 0 0
 /dev/wd0g /usr ffs rw 1 2

 I'll try the /targetroot trick!

 Also, after filing the "bug" report I successfully installed NetBSD 8.2 (I
 decided to skip trying 9.1 and 9.0 after having problems with both 9.3 and
 9.2) and the 8.2 install did _not_ report the "No root petition defined.
 Cannot continue" error while installing via sysint.

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

 <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
 <div dir=3D"ltr" class=3D"gmail_attr">On Thu, Mar 2, 2023 at 9:25=E2=80=AFA=
 M Martin Husemann &lt;<a href=3D"mailto:martin@duskware.de">martin@duskware=
 .de</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg=
 in:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-l=
 eft-color:rgb(204,204,204);padding-left:1ex">The following reply was made t=
 o PR install/57251; 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/57251: &quot;No root petition defined. Cannot continue=
 &quot;<br>
 =C2=A0during 9.2 macppc install<br>
 Date: Thu, 2 Mar 2023 18:23:27 +0100<br>
 <br>
 =C2=A0On Wed, Mar 01, 2023 at 03:55:00AM +0000, <a href=3D"mailto:capa150@g=
 mail.com" target=3D"_blank">capa150@gmail.com</a> wrote:<br>
 =C2=A0&gt; I clearly had a / partition but when I used sysint&#39;s partiti=
 on tools<br>
 =C2=A0&gt; (I know you&#39;re not supposed to use these for OFW 3 machines =
 but at this<br>
 =C2=A0&gt; point I was ready to try anything) I noticed sysinst seemed to t=
 hink my<br>
 =C2=A0&gt; root drive was /mnt instead for some reason.<br>
 <br>
 =C2=A0It tests the &quot;last mounted on&quot; data of disks and uses that =
 sometimes.<br>
 =C2=A0If you want to trick it, mount the volume on /targetroot instead, tha=
 t prefix<br>
 =C2=A0is ignored :-)<br>
 <br>
 =C2=A0Can you show the full /etc/fstab that you created and the output of<b=
 r>
 =C2=A0disklabel?<br>
 <br>
 =C2=A0There have been some bugs in this area fixed, but unfortunately it is=
  not<br>
 =C2=A0easy to test the daily builds if you need to boot from CD.<br>
 <br>
 =C2=A0Martin<br>
 <br></blockquote><div><br></div><div>Hello,</div><div><br></div><div>Unfort=
 unately I no longer can retrieve the exact disklabel information you reques=
 ted. I do remember disklabel (via the shell command line) =C2=A0reporting r=
 oot as / and not /mnt, however. Only the sysint drive tools reported root a=
 s /mnt, which puzzled me.</div><div><br></div><div>I remember the fstab inf=
 ormation, in /etc/fstab, (created prior to running sysinst &quot;re-install=
  sets...&quot;). This was after I booted of the 9.3/9.2 install CD and moun=
 ted / to /mnt per instructions:</div><div><br></div><div>/dev/wd0a / ffs rw=
  1 1 <br>/dev/wd0b none swap sw 0 0 <br>/dev/wd0g /usr ffs rw 1 2<br></div>=
 <div><br></div><div>I&#39;ll try the /targetroot=C2=A0trick!</div><div><br>=
 </div><div>Also, after filing the &quot;bug&quot; report I successfully ins=
 talled NetBSD 8.2 (I decided to skip trying 9.1 and 9.0 after having proble=
 ms with both 9.3 and 9.2) and the 8.2 install did _not_ report the=C2=A0<sp=
 an style=3D"color:rgb(0,0,0);white-space:pre-wrap">&quot;No root petition d=
 efined. Cannot continue&quot;</span>=C2=A0error while installing via sysint=
 .</div></div></div>

 --0000000000004fab9605f5f2058b--

From: Chris Tucker <capa150@gmail.com>
To: install-manager@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, 
	gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/57251: "No root petition defined. Cannot continue" during
 9.2 macppc install
Date: Fri, 10 Mar 2023 00:47:50 -0800

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

 Last night I tried to install 9.3 macppc using /targetroot instead of /mnt
 ... and it worked perfectly.
 Thanks!

 Chris.

 On Thu, Mar 2, 2023 at 2:10=E2=80=AFPM Chris Tucker <capa150@gmail.com> wro=
 te:

 > The following reply was made to PR install/57251; it has been noted by
 > GNATS.
 >
 > From: Chris Tucker <capa150@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: install/57251: "No root petition defined. Cannot continue"
 > during
 >  9.2 macppc install
 > Date: Thu, 2 Mar 2023 14:04:32 -0800
 >
 >  --0000000000004fab9605f5f2058b
 >  Content-Type: text/plain; charset=3D"UTF-8"
 >  Content-Transfer-Encoding: quoted-printable
 >
 >  On Thu, Mar 2, 2023 at 9:25=3DE2=3D80=3DAFAM Martin Husemann <
 > martin@duskware.de>=3D
 >   wrote:
 >
 >  > The following reply was made to PR install/57251; it has been noted by
 >  > GNATS.
 >  >
 >  > From: Martin Husemann <martin@duskware.de>
 >  > To: gnats-bugs@netbsd.org
 >  > Cc:
 >  > Subject: Re: install/57251: "No root petition defined. Cannot continue=
 "
 >  >  during 9.2 macppc install
 >  > Date: Thu, 2 Mar 2023 18:23:27 +0100
 >  >
 >  >  On Wed, Mar 01, 2023 at 03:55:00AM +0000, capa150@gmail.com wrote:
 >  >  > I clearly had a / partition but when I used sysint's partition tool=
 s
 >  >  > (I know you're not supposed to use these for OFW 3 machines but at
 > thi=3D
 >  s
 >  >  > point I was ready to try anything) I noticed sysinst seemed to thin=
 k
 > m=3D
 >  y
 >  >  > root drive was /mnt instead for some reason.
 >  >
 >  >  It tests the "last mounted on" data of disks and uses that sometimes.
 >  >  If you want to trick it, mount the volume on /targetroot instead, tha=
 t
 >  > prefix
 >  >  is ignored :-)
 >  >
 >  >  Can you show the full /etc/fstab that you created and the output of
 >  >  disklabel?
 >  >
 >  >  There have been some bugs in this area fixed, but unfortunately it is
 > no=3D
 >  t
 >  >  easy to test the daily builds if you need to boot from CD.
 >  >
 >  >  Martin
 >  >
 >  >
 >  Hello,
 >
 >  Unfortunately I no longer can retrieve the exact disklabel information y=
 ou
 >  requested. I do remember disklabel (via the shell command line)  reporti=
 ng
 >  root as / and not /mnt, however. Only the sysint drive tools reported ro=
 ot
 >  as /mnt, which puzzled me.
 >
 >  I remember the fstab information, in /etc/fstab, (created prior to runni=
 ng
 >  sysinst "re-install sets..."). This was after I booted of the 9.3/9.2
 >  install CD and mounted / to /mnt per instructions:
 >
 >  /dev/wd0a / ffs rw 1 1
 >  /dev/wd0b none swap sw 0 0
 >  /dev/wd0g /usr ffs rw 1 2
 >
 >  I'll try the /targetroot trick!
 >
 >  Also, after filing the "bug" report I successfully installed NetBSD 8.2 =
 (I
 >  decided to skip trying 9.1 and 9.0 after having problems with both 9.3 a=
 nd
 >  9.2) and the 8.2 install did _not_ report the "No root petition defined.
 >  Cannot continue" error while installing via sysint.
 >
 >  --0000000000004fab9605f5f2058b
 >  Content-Type: text/html; charset=3D"UTF-8"
 >  Content-Transfer-Encoding: quoted-printable
 >
 >  <div dir=3D3D"ltr"><div dir=3D3D"ltr"><br></div><br><div
 > class=3D3D"gmail_quote">=3D
 >  <div dir=3D3D"ltr" class=3D3D"gmail_attr">On Thu, Mar 2, 2023 at
 > 9:25=3DE2=3D80=3DAFA=3D
 >  M Martin Husemann &lt;<a href=3D3D"mailto:martin@duskware.de
 > ">martin@duskware=3D
 >  .de</a>&gt; wrote:<br></div><blockquote class=3D3D"gmail_quote"
 > style=3D3D"marg=3D
 >  in:0px 0px 0px
 > 0.8ex;border-left-width:1px;border-left-style:solid;border-l=3D
 >  eft-color:rgb(204,204,204);padding-left:1ex">The following reply was mad=
 e
 > t=3D
 >  o PR install/57251; it has been noted by GNATS.<br>
 >  <br>
 >  From: Martin Husemann &lt;<a href=3D3D"mailto:martin@duskware.de"
 > target=3D3D"_=3D
 >  blank">martin@duskware.de</a>&gt;<br>
 >  To: <a href=3D3D"mailto:gnats-bugs@netbsd.org"
 > target=3D3D"_blank">gnats-bugs@n=3D
 >  etbsd.org</a><br>
 >  Cc: <br>
 >  Subject: Re: install/57251: &quot;No root petition defined. Cannot
 > continue=3D
 >  &quot;<br>
 >  =3DC2=3DA0during 9.2 macppc install<br>
 >  Date: Thu, 2 Mar 2023 18:23:27 +0100<br>
 >  <br>
 >  =3DC2=3DA0On Wed, Mar 01, 2023 at 03:55:00AM +0000, <a href=3D3D"mailto:
 > capa150@g=3D
 >  mail.com" target=3D3D"_blank">capa150@gmail.com</a> wrote:<br>
 >  =3DC2=3DA0&gt; I clearly had a / partition but when I used sysint&#39;s
 > partiti=3D
 >  on tools<br>
 >  =3DC2=3DA0&gt; (I know you&#39;re not supposed to use these for OFW 3
 > machines =3D
 >  but at this<br>
 >  =3DC2=3DA0&gt; point I was ready to try anything) I noticed sysinst seem=
 ed to
 > t=3D
 >  hink my<br>
 >  =3DC2=3DA0&gt; root drive was /mnt instead for some reason.<br>
 >  <br>
 >  =3DC2=3DA0It tests the &quot;last mounted on&quot; data of disks and use=
 s
 > that =3D
 >  sometimes.<br>
 >  =3DC2=3DA0If you want to trick it, mount the volume on /targetroot inste=
 ad,
 > tha=3D
 >  t prefix<br>
 >  =3DC2=3DA0is ignored :-)<br>
 >  <br>
 >  =3DC2=3DA0Can you show the full /etc/fstab that you created and the outp=
 ut
 > of<b=3D
 >  r>
 >  =3DC2=3DA0disklabel?<br>
 >  <br>
 >  =3DC2=3DA0There have been some bugs in this area fixed, but unfortunatel=
 y it
 > is=3D
 >   not<br>
 >  =3DC2=3DA0easy to test the daily builds if you need to boot from CD.<br>
 >  <br>
 >  =3DC2=3DA0Martin<br>
 >
 >  <br></blockquote><div><br></div><div>Hello,</div><div><br></div><div>Unf=
 ort=3D
 >  unately I no longer can retrieve the exact disklabel information you
 > reques=3D
 >  ted. I do remember disklabel (via the shell command line) =3DC2=3DA0repo=
 rting
 > r=3D
 >  oot as / and not /mnt, however. Only the sysint drive tools reported roo=
 t
 > a=3D
 >  s /mnt, which puzzled me.</div><div><br></div><div>I remember the fstab
 > inf=3D
 >  ormation, in /etc/fstab, (created prior to running sysinst
 > &quot;re-install=3D
 >   sets...&quot;). This was after I booted of the 9.3/9.2 install CD and
 > moun=3D
 >  ted / to /mnt per instructions:</div><div><br></div><div>/dev/wd0a / ffs
 > rw=3D
 >   1 1 <br>/dev/wd0b none swap sw 0 0 <br>/dev/wd0g /usr ffs rw 1
 > 2<br></div>=3D
 >  <div><br></div><div>I&#39;ll try the
 > /targetroot=3DC2=3DA0trick!</div><div><br>=3D
 >  </div><div>Also, after filing the &quot;bug&quot; report I successfully
 > ins=3D
 >  talled NetBSD 8.2 (I decided to skip trying 9.1 and 9.0 after having
 > proble=3D
 >  ms with both 9.3 and 9.2) and the 8.2 install did _not_ report
 > the=3DC2=3DA0<sp=3D
 >  an style=3D3D"color:rgb(0,0,0);white-space:pre-wrap">&quot;No root petit=
 ion
 > d=3D
 >  efined. Cannot continue&quot;</span>=3DC2=3DA0error while installing via
 > sysint=3D
 >  .</div></div></div>
 >
 >  --0000000000004fab9605f5f2058b--
 >
 >

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

 <div dir=3D"ltr">Last night I tried to install 9.3 macppc using /targetroot=
  instead of /mnt ... and it worked perfectly.<div>Thanks!</div><div><br></d=
 iv><div>Chris.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" c=
 lass=3D"gmail_attr">On Thu, Mar 2, 2023 at 2:10=E2=80=AFPM Chris Tucker &lt=
 ;<a href=3D"mailto:capa150@gmail.com">capa150@gmail.com</a>&gt; wrote:<br><=
 /div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
 rder-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,2=
 04);padding-left:1ex">The following reply was made to PR install/57251; it =
 has been noted by GNATS.<br>
 <br>
 From: Chris Tucker &lt;<a href=3D"mailto:capa150@gmail.com" target=3D"_blan=
 k">capa150@gmail.com</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/57251: &quot;No root petition defined. Cannot continue=
 &quot; during<br>
 =C2=A09.2 macppc install<br>
 Date: Thu, 2 Mar 2023 14:04:32 -0800<br>
 <br>
 =C2=A0--0000000000004fab9605f5f2058b<br>
 =C2=A0Content-Type: text/plain; charset=3D&quot;UTF-8&quot;<br>
 =C2=A0Content-Transfer-Encoding: quoted-printable<br>
 <br>
 =C2=A0On Thu, Mar 2, 2023 at 9:25=3DE2=3D80=3DAFAM Martin Husemann &lt;<a h=
 ref=3D"mailto:martin@duskware.de" target=3D"_blank">martin@duskware.de</a>&=
 gt;=3D<br>
 =C2=A0 wrote:<br>
 <br>
 =C2=A0&gt; The following reply was made to PR install/57251; it has been no=
 ted by<br>
 =C2=A0&gt; GNATS.<br>
 =C2=A0&gt;<br>
 =C2=A0&gt; From: Martin Husemann &lt;<a href=3D"mailto:martin@duskware.de" =
 target=3D"_blank">martin@duskware.de</a>&gt;<br>
 =C2=A0&gt; To: <a href=3D"mailto:gnats-bugs@netbsd.org" target=3D"_blank">g=
 nats-bugs@netbsd.org</a><br>
 =C2=A0&gt; Cc:<br>
 =C2=A0&gt; Subject: Re: install/57251: &quot;No root petition defined. Cann=
 ot continue&quot;<br>
 =C2=A0&gt;=C2=A0 during 9.2 macppc install<br>
 =C2=A0&gt; Date: Thu, 2 Mar 2023 18:23:27 +0100<br>
 =C2=A0&gt;<br>
 =C2=A0&gt;=C2=A0 On Wed, Mar 01, 2023 at 03:55:00AM +0000, <a href=3D"mailt=
 o:capa150@gmail.com" target=3D"_blank">capa150@gmail.com</a> wrote:<br>
 =C2=A0&gt;=C2=A0 &gt; I clearly had a / partition but when I used sysint&#3=
 9;s partition tools<br>
 =C2=A0&gt;=C2=A0 &gt; (I know you&#39;re not supposed to use these for OFW =
 3 machines but at thi=3D<br>
 =C2=A0s<br>
 =C2=A0&gt;=C2=A0 &gt; point I was ready to try anything) I noticed sysinst =
 seemed to think m=3D<br>
 =C2=A0y<br>
 =C2=A0&gt;=C2=A0 &gt; root drive was /mnt instead for some reason.<br>
 =C2=A0&gt;<br>
 =C2=A0&gt;=C2=A0 It tests the &quot;last mounted on&quot; data of disks and=
  uses that sometimes.<br>
 =C2=A0&gt;=C2=A0 If you want to trick it, mount the volume on /targetroot i=
 nstead, that<br>
 =C2=A0&gt; prefix<br>
 =C2=A0&gt;=C2=A0 is ignored :-)<br>
 =C2=A0&gt;<br>
 =C2=A0&gt;=C2=A0 Can you show the full /etc/fstab that you created and the =
 output of<br>
 =C2=A0&gt;=C2=A0 disklabel?<br>
 =C2=A0&gt;<br>
 =C2=A0&gt;=C2=A0 There have been some bugs in this area fixed, but unfortun=
 ately it is no=3D<br>
 =C2=A0t<br>
 =C2=A0&gt;=C2=A0 easy to test the daily builds if you need to boot from CD.=
 <br>
 =C2=A0&gt;<br>
 =C2=A0&gt;=C2=A0 Martin<br>
 =C2=A0&gt;<br>
 =C2=A0&gt;<br>
 =C2=A0Hello,<br>
 <br>
 =C2=A0Unfortunately I no longer can retrieve the exact disklabel informatio=
 n you<br>
 =C2=A0requested. I do remember disklabel (via the shell command line)=C2=A0=
  reporting<br>
 =C2=A0root as / and not /mnt, however. Only the sysint drive tools reported=
  root<br>
 =C2=A0as /mnt, which puzzled me.<br>
 <br>
 =C2=A0I remember the fstab information, in /etc/fstab, (created prior to ru=
 nning<br>
 =C2=A0sysinst &quot;re-install sets...&quot;). This was after I booted of t=
 he 9.3/9.2<br>
 =C2=A0install CD and mounted / to /mnt per instructions:<br>
 <br>
 =C2=A0/dev/wd0a / ffs rw 1 1<br>
 =C2=A0/dev/wd0b none swap sw 0 0<br>
 =C2=A0/dev/wd0g /usr ffs rw 1 2<br>
 <br>
 =C2=A0I&#39;ll try the /targetroot trick!<br>
 <br>
 =C2=A0Also, after filing the &quot;bug&quot; report I successfully installe=
 d NetBSD 8.2 (I<br>
 =C2=A0decided to skip trying 9.1 and 9.0 after having problems with both 9.=
 3 and<br>
 =C2=A09.2) and the 8.2 install did _not_ report the &quot;No root petition =
 defined.<br>
 =C2=A0Cannot continue&quot; error while installing via sysint.<br>
 <br>
 =C2=A0--0000000000004fab9605f5f2058b<br>
 =C2=A0Content-Type: text/html; charset=3D&quot;UTF-8&quot;<br>
 =C2=A0Content-Transfer-Encoding: quoted-printable<br>
 <br>
 =C2=A0&lt;div dir=3D3D&quot;ltr&quot;&gt;&lt;div dir=3D3D&quot;ltr&quot;&gt=
 ;&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;div class=3D3D&quot;gmail_quote&quot;&=
 gt;=3D<br>
 =C2=A0&lt;div dir=3D3D&quot;ltr&quot; class=3D3D&quot;gmail_attr&quot;&gt;O=
 n Thu, Mar 2, 2023 at 9:25=3DE2=3D80=3DAFA=3D<br>
 =C2=A0M Martin Husemann &amp;lt;&lt;a href=3D3D&quot;mailto:<a href=3D"mail=
 to:martin@duskware.de" target=3D"_blank">martin@duskware.de</a>&quot;&gt;ma=
 rtin@duskware=3D<br>
 =C2=A0.de&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;/div&gt;&lt;blockquote clas=
 s=3D3D&quot;gmail_quote&quot; style=3D3D&quot;marg=3D<br>
 =C2=A0in:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;bo=
 rder-l=3D<br>
 =C2=A0eft-color:rgb(204,204,204);padding-left:1ex&quot;&gt;The following re=
 ply was made t=3D<br>
 =C2=A0o PR install/57251; it has been noted by GNATS.&lt;br&gt;<br>
 =C2=A0&lt;br&gt;<br>
 =C2=A0From: Martin Husemann &amp;lt;&lt;a href=3D3D&quot;mailto:<a href=3D"=
 mailto:martin@duskware.de" target=3D"_blank">martin@duskware.de</a>&quot; t=
 arget=3D3D&quot;_=3D<br>
 =C2=A0blank&quot;&gt;<a href=3D"mailto:martin@duskware.de" target=3D"_blank=
 ">martin@duskware.de</a>&lt;/a&gt;&amp;gt;&lt;br&gt;<br>
 =C2=A0To: &lt;a href=3D3D&quot;mailto:<a href=3D"mailto:gnats-bugs@netbsd.o=
 rg" target=3D"_blank">gnats-bugs@netbsd.org</a>&quot; target=3D3D&quot;_bla=
 nk&quot;&gt;gnats-bugs@n=3D<br>
 =C2=A0<a href=3D"http://etbsd.org" rel=3D"noreferrer" target=3D"_blank">etb=
 sd.org</a>&lt;/a&gt;&lt;br&gt;<br>
 =C2=A0Cc: &lt;br&gt;<br>
 =C2=A0Subject: Re: install/57251: &amp;quot;No root petition defined. Canno=
 t continue=3D<br>
 =C2=A0&amp;quot;&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0during 9.2 macppc install&lt;br&gt;<br>
 =C2=A0Date: Thu, 2 Mar 2023 18:23:27 +0100&lt;br&gt;<br>
 =C2=A0&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0On Wed, Mar 01, 2023 at 03:55:00AM +0000, &lt;a href=3D3D&q=
 uot;mailto:<a href=3D"mailto:capa150@g" target=3D"_blank">capa150@g</a>=3D<=
 br>
 =C2=A0<a href=3D"http://mail.com" rel=3D"noreferrer" target=3D"_blank">mail=
 .com</a>&quot; target=3D3D&quot;_blank&quot;&gt;<a href=3D"mailto:capa150@g=
 mail.com" target=3D"_blank">capa150@gmail.com</a>&lt;/a&gt; wrote:&lt;br&gt=
 ;<br>
 =C2=A0=3DC2=3DA0&amp;gt; I clearly had a / partition but when I used sysint=
 &amp;#39;s partiti=3D<br>
 =C2=A0on tools&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0&amp;gt; (I know you&amp;#39;re not supposed to use these f=
 or OFW 3 machines =3D<br>
 =C2=A0but at this&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0&amp;gt; point I was ready to try anything) I noticed sysin=
 st seemed to t=3D<br>
 =C2=A0hink my&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0&amp;gt; root drive was /mnt instead for some reason.&lt;br=
 &gt;<br>
 =C2=A0&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0It tests the &amp;quot;last mounted on&amp;quot; data of di=
 sks and uses that =3D<br>
 =C2=A0sometimes.&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0If you want to trick it, mount the volume on /targetroot in=
 stead, tha=3D<br>
 =C2=A0t prefix&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0is ignored :-)&lt;br&gt;<br>
 =C2=A0&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0Can you show the full /etc/fstab that you created and the o=
 utput of&lt;b=3D<br>
 =C2=A0r&gt;<br>
 =C2=A0=3DC2=3DA0disklabel?&lt;br&gt;<br>
 =C2=A0&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0There have been some bugs in this area fixed, but unfortuna=
 tely it is=3D<br>
 =C2=A0 not&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0easy to test the daily builds if you need to boot from CD.&=
 lt;br&gt;<br>
 =C2=A0&lt;br&gt;<br>
 =C2=A0=3DC2=3DA0Martin&lt;br&gt;<br>
 =C2=A0&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div=
 &gt;Hello,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Unfort=3D=
 <br>
 =C2=A0unately I no longer can retrieve the exact disklabel information you =
 reques=3D<br>
 =C2=A0ted. I do remember disklabel (via the shell command line) =3DC2=3DA0r=
 eporting r=3D<br>
 =C2=A0oot as / and not /mnt, however. Only the sysint drive tools reported =
 root a=3D<br>
 =C2=A0s /mnt, which puzzled me.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt=
 ;&lt;div&gt;I remember the fstab inf=3D<br>
 =C2=A0ormation, in /etc/fstab, (created prior to running sysinst &amp;quot;=
 re-install=3D<br>
 =C2=A0 sets...&amp;quot;). This was after I booted of the 9.3/9.2 install C=
 D and moun=3D<br>
 =C2=A0ted / to /mnt per instructions:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/=
 div&gt;&lt;div&gt;/dev/wd0a / ffs rw=3D<br>
 =C2=A0 1 1 &lt;br&gt;/dev/wd0b none swap sw 0 0 &lt;br&gt;/dev/wd0g /usr ff=
 s rw 1 2&lt;br&gt;&lt;/div&gt;=3D<br>
 =C2=A0&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;ll try the /tar=
 getroot=3DC2=3DA0trick!&lt;/div&gt;&lt;div&gt;&lt;br&gt;=3D<br>
 =C2=A0&lt;/div&gt;&lt;div&gt;Also, after filing the &amp;quot;bug&amp;quot;=
  report I successfully ins=3D<br>
 =C2=A0talled NetBSD 8.2 (I decided to skip trying 9.1 and 9.0 after having =
 proble=3D<br>
 =C2=A0ms with both 9.3 and 9.2) and the 8.2 install did _not_ report the=3D=
 C2=3DA0&lt;sp=3D<br>
 =C2=A0an style=3D3D&quot;color:rgb(0,0,0);white-space:pre-wrap&quot;&gt;&am=
 p;quot;No root petition d=3D<br>
 =C2=A0efined. Cannot continue&amp;quot;&lt;/span&gt;=3DC2=3DA0error while i=
 nstalling via sysint=3D<br>
 =C2=A0.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;<br>
 <br>
 =C2=A0--0000000000004fab9605f5f2058b--<br>
 <br>
 </blockquote></div>

 --000000000000a0d26905f687d1af--

Responsible-Changed-From-To: install-manager->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Fri, 10 Mar 2023 11:03:52 +0000
Responsible-Changed-Why:
This needs improvements, I will look at it.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.