Hello, I'm trying to do an autoinstallation of OpenBSD 5.7. The system PXE boots OK and most of the installation works as expected, but the install system is unable to find the installation sets and stops
I'm using the bsd.rd from snapshots as this supports the auto partitioning (which works great) bsd.rd 2015-06-11 04:48 7.3M This is my auto install script ----->8-----cut here ----->8----- System hostname = tester Which network interface do you wish to configure = em0 IPv4 address for em0 = 192.168.99.10 Netmask for em0 = 255.255.255.0 IPv6 address for em0 = none Which network interface do you wish to configure = done Default IPv4 route = 192.168.99.1 DNS domain name = example.com DNS nameservers = none Password for root account = insecure Start sshd(8) by default = yes Start ntpd(8) by default = no Do you expect to run the X Window System = no Do you want the X Window System to be started by xdm(1) = no Setup a user = joe Full name for user joe = Joe Blogs Password for user joe = insecure Public ssh key for user joe = none Which disk is the root disk = wd0 Use DUIDs rather than device names in fstab = yes Use (W)hole disk, use the (O)penBSD area, or (E)dit the MBR = whole URL to autopartitioning template for disklabel = http://192.168.99.1/template Location of sets = http HTTP proxy URL = none HTTP Server = 192.168.99.1 ----->8-----cut here ----->8----- This is the result (including dmesg) ----->8-----cut here ----->8----- >> OpenBSD/amd64 PXEBOOT 3.23 boot> bsd.rd bsd.rd booting tftp:bsd.rd: 3243948+1389520+2401280+0+520192 [72+359472+234539]=0x7c7328 entry point at 0x1000160 [7205c766, 34000004, 24448b12, 8680a304] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2015 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.7-current (RAMDISK_CD) #969: Wed Jun 10 21:47:16 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 4278124544 (4079MB) avail mem = 4146753536 (3954MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe1000 (10 entries) bios0: vendor innotek GmbH version "VirtualBox" date 12/01/2006 bios0: innotek GmbH VirtualBox acpi0 at bios0: rev 2 acpi0: tables DSDT FACP APIC SSDT acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz, 3399.18 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,MWAIT,SSSE3,NXE,LONG,LAHF,PERF cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 1000MHz cpu0: mwait min=64, max=64 ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 "Intel 82371SB ISA" rev 0x00 at pci0 dev 1 function 0 not configured pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <VBOX HARDDISK> wd0: 128-sector PIO, LBA, 12288MB, 25165824 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <VBOX, CD-ROM, 1.0> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 vga1 at pci0 dev 2 function 0 "InnoTek VirtualBox Graphics Adapter" rev 0x00 vga1: aperture needed wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) em0 at pci0 dev 3 function 0 "Intel 82540EM" rev 0x02: apic 1 int 19, address 08:00:27:85:33:d3 "InnoTek VirtualBox Guest Service" rev 0x00 at pci0 dev 4 function 0 not configured "Intel 82801AA AC97" rev 0x01 at pci0 dev 5 function 0 not configured ohci0 at pci0 dev 6 function 0 "Apple Intrepid USB" rev 0x00: apic 1 int 22, version 1.0 "Intel 82371AB Power" rev 0x08 at pci0 dev 7 function 0 not configured ehci0 at pci0 dev 11 function 0 "Intel 82801FB USB" rev 0x00: apic 1 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "Apple OHCI root hub" rev 1.00/1.00 addr 1 isa0 at mainbus0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 softraid0 at root scsibus1 at softraid0: 256 targets PXE boot MAC address 08:00:27:85:33:d3, interface em0 root on rd0a swap on rd0b dump on rd0b erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/amd64 5.7 installation program. Starting non-interactive mode in 5 seconds... (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? DHCPDISCOVER on em0 - interval 3 DHCPOFFER from 192.168.99.1 (08:00:27:ba:f5:eb) DHCPREQUEST on em0 to 255.255.255.255 DHCPACK from 192.168.99.1 (08:00:27:ba:f5:eb) bound to 192.168.99.10 -- renewal in 21600 seconds. Fetching http://192.168.99.1/08:00:27:85:33:d3-install.conf?path=snapshots/amd64 Fetching http://192.168.99.1/install.conf?path=snapshots/amd64 Performing non-interactive install... Terminal type? [vt220] vt220 System hostname? (short form, e.g. 'foo') tester Available network interfaces are: em0 vlan0. Which network interface do you wish to configure? (or 'done') [em0] em0 IPv4 address for em0? (or 'dhcp' or 'none') [dhcp] 192.168.99.10 Netmask for em0? [255.255.255.0] 255.255.255.0 IPv6 address for em0? (or 'rtsol' or 'none') [none] none Available network interfaces are: em0 vlan0. Which network interface do you wish to configure? (or 'done') [done] done Default IPv4 route? (IPv4 address, 'dhcp' or 'none') 192.168.99.1 add net default: gateway 192.168.99.1 DNS domain name? (e.g. 'bar.com') [my.domain] example.com DNS nameservers? (IP address list or 'none') [none] none Password for root account? <provided> Public ssh key for root account? [none] none Start sshd(8) by default? [yes] yes Do you expect to run the X Window System? [yes] no Change the default console to com0? [yes] yes Available speeds are: 9600 19200 38400 57600 115200. Which speed should com0 use? (or 'done') [9600] 9600 Setup a user? (enter a lower-case loginname, or 'no') [no] joe Full name for user joe? [joe] Joe Blogs Password for user joe? <provided> Public ssh key for user joe [none] none Available disks are: wd0. Which disk is the root disk? ('?' for details) [wd0] wd0 Disk: wd0 geometry: 1566/255/63 [25165824 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------------- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 1 2 - 1565 254 63 [ 64: 25157726 ] OpenBSD Use (W)hole disk, use the (O)penBSD area, or (E)dit the MBR? [OpenBSD] whole Setting OpenBSD MBR partition to whole wd0...done. URL to autopartitioning template for disklabel? [none] http://192.168.99.1/template Fetching http://192.168.99.1/template /dev/rwd0a: 1024.0MB in 2097152 sectors of 512 bytes 6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each /dev/rwd0g: 1020.0MB in 2089024 sectors of 512 bytes 6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each /dev/rwd0d: 2048.0MB in 4194304 sectors of 512 bytes 11 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each /dev/rwd0e: 5120.0MB in 10485760 sectors of 512 bytes 26 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each /dev/rwd0f: 1024.0MB in 2097152 sectors of 512 bytes 6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each /dev/wd0a (2ae09fdbe5c56283.a) on /mnt type ffs (rw, asynchronous, local) /dev/wd0g (2ae09fdbe5c56283.g) on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid) /dev/wd0d (2ae09fdbe5c56283.d) on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid) /dev/wd0e (2ae09fdbe5c56283.e) on /mnt/usr type ffs (rw, asynchronous, local, nodev) /dev/wd0f (2ae09fdbe5c56283.f) on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid) Let's install the sets! Location of sets? (cd0 disk http or 'done') [http] http HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none] none (Unable to get list from ftp.openbsd.org, but that is OK) HTTP Server? (hostname or 'done') 192.168.99.1 Server directory? [pub/OpenBSD/snapshots/amd64] pub/OpenBSD/snapshots/amd64 ftp: Error retrieving file: 404 Not Found Looked at http://192.168.99.1/pub/OpenBSD/snapshots/amd64 and found no OpenBSD/amd64 5.7 sets. The set names looked for were: bsd comp57.tgz xshare57.tgz site57-tester.tgz bsd.rd man57.tgz xfont57.tgz bsd.mp game57.tgz xserv57.tgz base57.tgz xbase57.tgz site57.tgz failed; check /ai.log (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? ----->8-----cut here ----->8----- I have checked that the sets are all available in the directory specified (and have checked that they are all readable) by connecting from a browser to the same address and location and downloading some of the files. I have also checked the ai.log on the installation client, but it gives no clues. I have also tried specifying a different directory for the sets (and copying the sets to that new location), but I get the same result. The install system does manage to download the template for the disk partitioning OK so my web server seems to be working This is a listing of the files in the root of my web server ----->8-----cut here ----->8----- # ls -laR total 20 drwxr-xr-x 3 root wheel 512 Jun 11 11:51 . drwxr-xr-x 7 root wheel 512 May 24 18:49 .. -rw-r--r-- 1 root wheel 950 Jun 11 11:32 install.conf drwxr-xr-x 3 root wheel 512 Jun 11 09:14 pub -rw-r--r-- 1 root wheel 56 May 24 18:52 template ./pub: total 12 drwxr-xr-x 3 root wheel 512 Jun 11 09:14 . drwxr-xr-x 3 root wheel 512 Jun 11 11:51 .. drwxr-xr-x 3 root wheel 512 Jun 11 09:14 OpenBSD ./pub/OpenBSD: total 12 drwxr-xr-x 3 root wheel 512 Jun 11 09:14 . drwxr-xr-x 3 root wheel 512 Jun 11 09:14 .. drwxr-xr-x 3 root wheel 512 Jun 11 09:14 snapshots ./pub/OpenBSD/snapshots: total 12 drwxr-xr-x 3 root wheel 512 Jun 11 09:14 . drwxr-xr-x 3 root wheel 512 Jun 11 09:14 .. drwxr-xr-x 2 root wheel 512 Jun 11 09:15 amd64 ./pub/OpenBSD/snapshots/amd64: total 448072 drwxr-xr-x 2 root wheel 512 Jun 11 09:15 . drwxr-xr-x 3 root wheel 512 Jun 11 09:14 .. -r--r--r-- 1 root wheel 46518 Jun 11 09:15 INSTALL.amd64 -r--r--r-- 1 root wheel 1535 Jun 11 09:15 SHA256.sig -r--r--r-- 1 root wheel 57380394 Jun 11 09:15 base57.tgz -r--r--r-- 1 root wheel 10029237 Jun 11 09:15 bsd -r--r--r-- 1 root wheel 10069780 Jun 11 09:15 bsd.mp -r--r--r-- 1 root wheel 7592389 Jun 11 09:15 bsd.rd -r--r--r-- 1 root wheel 51246149 Jun 11 09:15 comp57.tgz -r--r--r-- 1 root wheel 2789725 Jun 11 09:15 game57.tgz -r--r--r-- 1 root wheel 8984308 Jun 11 09:15 man57.tgz -r--r--r-- 1 root wheel 17060674 Jun 11 09:15 xbase57.tgz -r--r--r-- 1 root wheel 39930183 Jun 11 09:15 xfont57.tgz -r--r--r-- 1 root wheel 19794709 Jun 11 09:15 xserv57.tgz -r--r--r-- 1 root wheel 4519648 Jun 11 09:15 xshares57.tgz ----->8-----cut here ----->8----- Can anyone see where I'm going wrong? Regards, Richard