On Tue, Dec 16, 2014 at 8:26 AM, Raf <[email protected]> wrote:
>
> On Tue, Dec 16, 2014 at 01:01:51AM EST, Adriaan wrote:
>
> > An initial interactive install was succesful. A next autonstall using
> > bsd,rd gave a "Cannot determine prefetch area" after selecting the
> > sets.
> > [...]
> > Cannot determine prefetch area. Continue without verification? [no] no
>
> I see that tedu@ already mentioned the fact about your local storage is
> probably too small. I'll only add a link to the FAQ[0] in case you have
> missed it.
>

With the following custom partition scheme of the same 3GB disk the
verification succeeds:

> p m
OpenBSD area: 63-6322176; size: 3087.0M; free: 0.0M
#                size           offset  fstype [fsize bsize  cpg]
  a:          2901.9M               64  4.2BSD   2048 16384    1 # /
  b:           185.1M          5943168    swap                   # none
  c:          3093.4M                0  unused

Set name(s)? (or 'abort' or 'done') [done]
Get/Verify SHA256.sig   100% |**************************|  2067
00:00
Signature Verified
Get/Verify bsd          100% |**************************| 10295 KB
00:03
Get/Verify bsd.rd       100% |**************************|  6773 KB
00:01
Get/Verify base56.tgz   100% |**************************| 51074 KB
00:15
Installing bsd          100% |**************************| 10295 KB
00:02
Installing bsd.rd       100% |**************************|  6773 KB
00:01
Installing base56.tgz   100% |**************************| 51074 KB
00:56
Extracting etc.tgz      100% |**************************|   110 KB
00:00
Location of sets? (disk http or 'done') [done]

So the verification procedure simply needed a larger partition.

>
> > failed; check /ai.log
>
> Have you checked '/ai.log'?
>

Yes, but that was identical to the serial console output captured by tip.

>
> > Checksum test for site56.tgz failed. Continue anyway? = yes
> > Unverified sets: site56.tgz. Continue without verification? = yes
> > Checksum test for site56-andromache.tgz failed. Continue anyway? = yes
> > Unverified sets: site56-andromache.tgz. Continue without verification? =
> > yes
>
> Given that the initial installation finishes just fine, I conclude that
> the second attempt fails due to your 'site*.tgz'[1] file sets being too
> big - try again without them.
>

Only containing a few scripts and configuration files, the site*tgz file is
only 4K:

 -rw-r--r--  1 root  wheel  4913 Dec 16 03:25 site56.tgz

>
> [0] http://www.openbsd.org/faq/faq4.html#InstMedia
> [1] http://www.openbsd.org/faq/faq4.html#site
>

Thanks, it has been a while since I read those sections. But it indeeds
mentions the "Cannot determine prefetch area" error that I had never seen
before.

Adding the following to the install.conf file makes an autoinstall  with
the auto layout succeed:

Cannot determine prefetch area. Continue without verification? = yes

>From the log:

Set name(s)? (or 'abort' or 'done') [done] -all bsd bsd.rd
base56.tgz site56.tgz done
Cannot determine prefetch area. Continue without verification? [no] yes
Installing bsd          100% |**************************| 10295 KB
00:01
Installing bsd.rd       100% |**************************|  6773 KB
00:00
Installing base56.tgz   100% |**************************| 51074 KB
00:45
Extracting etc.tgz      100% |**************************|   110 KB    00:00

So problem has been solved. Just have to verifiy the sets on the local
snapshot web server  by myself.

Adriaan

Reply via email to