NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/57251: "No root petition defined. Cannot continue" during 9.2 macppc install



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 PM Chris Tucker <capa150%gmail.com@localhost> wrote:
The following reply was made to PR install/57251; it has been noted by GNATS.

From: Chris Tucker <capa150%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
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@localhost>=
  wrote:

 > The following reply was made to PR install/57251; it has been noted by
 > GNATS.
 >
 > From: Martin Husemann <martin%duskware.de@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > 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@localhost 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="" href="mailto:martin%duskware.de@localhost" target="_blank">martin%duskware.de@localhost">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="" href="mailto:martin%duskware.de@localhost" target="_blank">martin%duskware.de@localhost" target=3D"_=
 blank">martin%duskware.de@localhost</a>&gt;<br>
 To: <a href="" href="mailto:gnats-bugs%netbsd.org@localhost" target="_blank">gnats-bugs%netbsd.org@localhost" 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="" href="mailto:capa150@g" target="_blank">capa150@g=
 mail.com" target=3D"_blank">capa150%gmail.com@localhost</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--



Home | Main Index | Thread Index | Old Index