Re: install/60566: Random data file can't be read from mounted device to bootstrap pRNG in the installer due to assumptions about mount status.

"jackemled via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
The following reply was made to PR install/60566; it has been noted by GNATS.

From: jackemled <[email protected]>
To: [email protected]
Cc: 
Subject: Re: install/60566: Random data file can't be read from mounted device
 to bootstrap pRNG in the installer due to assumptions about mount status.
Date: Fri, 14 Aug 2026 16:04:59 -0500

 --0000000000001f23f006590832ce
 Content-Type: text/plain; charset="UTF-8"
 
 Thank you!
 I just double checked against what you said. You're right, the bug was in
 the user, not the installer. I was misunderstanding something and doing
 this the wrongest way I could. That's what I get for trying to learn a new
 operating system in the middle of the night.
 
 On Tue, Aug 11, 2026, 18:40 RVP via gnats <[email protected]> wrote:
 
 > The following reply was made to PR install/60566; it has been noted by
 > GNATS.
 >
 > From: RVP <[email protected]>
 > To: [email protected]
 > Cc:
 > Subject: Re: install/60566: Random data file can't be read from mounted
 > device
 >  to bootstrap pRNG in the installer due to assumptions about mount status.
 > Date: Tue, 11 Aug 2026 23:36:50 +0000 (UTC)
 >
 >  > [...] I have selected c: Load raw binary random data and chosen to load
 > from
 >  > a local file system. The installer is unable to mount FAT32 or ext2
 > [...]
 >  >
 >
 >  This works, actually.
 >
 >  1. Did you specify the correct partition?
 >
 >      wd0e (or, sd0e, ld0e, wd1e, ...) is the DOS partn. if it is MBR
 > partitioned.
 >      (use `disklabel wd0' to see the actual drive letter.)
 >
 >      For a GPT partitioned USB drive, you'll have to specify the wedge
 > which is
 >      the DOS partition--dk0, dk1, ...
 >      (use `dkctl wd0 listwedges' to see wedge details.)
 >
 >  2. Ext2 partitions can be tricky. NetBSD should be able to mount it if it
 > was
 >      created using `newfs_ext2fs'. If the FS was created using `mke2fs' it
 > might
 >      have been created with features NetBSD doesn't understand. You'll
 > have to
 >      be conservative.
 >
 >  -RVP
 >
 >
 
 --0000000000001f23f006590832ce
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"auto">Thank you!=C2=A0<div dir=3D"auto">I just double checked a=
 gainst what you said. You&#39;re right, the bug was in the user, not the in=
 staller. I was misunderstanding something and doing this the wrongest way I=
  could. That&#39;s what I get for trying to learn a new operating system in=
  the middle of the night.</div></div><br><div class=3D"gmail_quote gmail_qu=
 ote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Aug 11, 2026, =
 18:40 RVP via gnats &lt;<a href=3D"mailto:[email protected]">gnats-adm=
 [email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" sty=
 le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The fo=
 llowing reply was made to PR install/60566; it has been noted by GNATS.<br>
 <br>
 From: RVP &lt;<a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"noref=
 errer">[email protected]</a>&gt;<br>
 To: <a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"noref=
 errer">[email protected]</a><br>
 Cc: <br>
 Subject: Re: install/60566: Random data file can&#39;t be read from mounted=
  device<br>
 =C2=A0to bootstrap pRNG in the installer due to assumptions about mount sta=
 tus.<br>
 Date: Tue, 11 Aug 2026 23:36:50 +0000 (UTC)<br>
 <br>
 =C2=A0&gt; [...] I have selected c: Load raw binary random data and chosen =
 to load from<br>
 =C2=A0&gt; a local file system. The installer is unable to mount FAT32 or e=
 xt2 [...]<br>
 =C2=A0&gt;<br>
 <br>
 =C2=A0This works, actually.<br>
 <br>
 =C2=A01. Did you specify the correct partition?<br>
 <br>
 =C2=A0 =C2=A0 =C2=A0wd0e (or, sd0e, ld0e, wd1e, ...) is the DOS partn. if i=
 t is MBR partitioned.<br>
 =C2=A0 =C2=A0 =C2=A0(use `disklabel wd0&#39; to see the actual drive letter=
 .)<br>
 <br>
 =C2=A0 =C2=A0 =C2=A0For a GPT partitioned USB drive, you&#39;ll have to spe=
 cify the wedge which is<br>
 =C2=A0 =C2=A0 =C2=A0the DOS partition--dk0, dk1, ...<br>
 =C2=A0 =C2=A0 =C2=A0(use `dkctl wd0 listwedges&#39; to see wedge details.)<=
 br>
 <br>
 =C2=A02. Ext2 partitions can be tricky. NetBSD should be able to mount it i=
 f it was<br>
 =C2=A0 =C2=A0 =C2=A0created using `newfs_ext2fs&#39;. If the FS was created=
  using `mke2fs&#39; it might<br>
 =C2=A0 =C2=A0 =C2=A0have been created with features NetBSD doesn&#39;t unde=
 rstand. You&#39;ll have to<br>
 =C2=A0 =C2=A0 =C2=A0be conservative.<br>
 <br>
 =C2=A0-RVP<br>
 <br>
 </blockquote></div>
 
 --0000000000001f23f006590832ce--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.