Re: Need help to install OpenBSD 5.9 macppc via pxe
Try tcpdumping the connection and see why it thinks the file doesn't exist. It might be the / try does: boot enet:, ofwboot bsd.rd change the behaviour? hth Fred It boot correctly after changing the following line in dhcpd.conf option root-path "192.168.1.5:/usr/local/www/thttpd"; to option root-path "/usr/local/www/thttpd"; Thanks for your help :) Kind regards
Re: Need help to install OpenBSD 5.9 macppc via pxe
Le 2016-04-08 00:55, Fred a écrit : On 04/07/16 13:09, Solène Rapenne wrote: Hello, my dhcpd.conf (isc-dhcpd) : allow booting; allow bootp; authoritative; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.20 192.168.1.50; option broadcast-address 192.168.1.255; } host macmini { next-server 192.168.1.5; option subnet-mask 255.255.255.0; option routers 192.168.1.5; option root-path "192.168.1.5:/usr/local/www/thttpd"; fixed-address 192.168.1.22; hardware ethernet 00:14:51:1f:52:70; } Kind regards Try tcpdumping the connection and see why it thinks the file doesn't exist. It might be the / try does: boot enet:, ofwboot bsd.rd change the behaviour? hth Fred Hello Fred, I tried bsd.rd instead of /bsd.rd and no more success. With wireshark I found that it was the protocol MOUNT that was failing with a ERR_NOENT reply from my NFS server. I started mountd in foreground and I get this output : mountd: getting export list mountd: reading exports from /etc/exports mountd: got line /usr/local/www/thttpd/ -alldirs -ro -mapall=nobody -network 192.168.1.0/24 mountd: making new ep fs=0xbf62e9a4,0x4e951dde mountd: doing opt -alldirs -ro -mapall=nobody -network 192.168.1.0/24 mountd: doing opt -ro -mapall=nobody -network 192.168.1.0/24 mountd: doing opt -mapall=nobody -network 192.168.1.0/24 mountd: doing opt -network 192.168.1.0/24 setting OP_MASKLEN get_net: v4 addr 192.168.1.0 mountd: getting mount list mountd: here we go mountd: stat failed on /usr/local/www/thttpd/192.168.1.5: mountd: stat failed on /192.168.1.5: mountd: stat failed on /192.168.1.5: mountd: stat failed on /192.168.1.5: mountd: stat failed on /192.168.1.5: mountd: stat failed on /192.168.1.5: mountd: stat failed on /192.168.1.5: mountd: stat failed on /192.168.1.5: mountd: stat failed on /192.168.1.5: mountd: stat failed on /192.168.1.5: mountd: stat failed on /192.168.1.5: mountd: stat failed on /192.168.1.5: mountd: stat failed on /192.168.1.5: It seems that the client wants to mount 192.168.1.5:/192.168.1.5 if I understand. This is not what I want and I don't understand this behavior.
Re: Need help to install OpenBSD 5.9 macppc via pxe
On 04/07/16 13:09, Solène Rapenne wrote: Hello, I am trying to install OpenBSD 5.9 on an old mac mini (which actually runs FreeBSD and was using OpenBSD before). So, I choosed the network way for installation and followed the installation instructions. I get an error when loading /bsd.rd (picture at the end) I have my dhcp/tftp/nfs server with address 192.168.1.5 (running freebsd), files for 5.9 are under /usr/local/www/thttpd/ -rw-r--r-- 1 root wheel 1552 Feb 26 14:59 SHA256 -rw-r--r-- 1 root wheel 1715 Feb 26 14:59 SHA256.sig -rw-r--r-- 1 root wheel 53657599 Feb 26 11:52 base59.tgz -rw-r--r-- 1 root wheel184634 Feb 26 11:17 boot.mac -rw-r--r-- 1 root wheel 7787638 Apr 7 12:48 bsd -rw-r--r-- 1 root wheel 7807488 Apr 7 12:49 bsd.mp -rw-r--r-- 1 root wheel 8549933 Apr 7 11:28 bsd.rd -rw-r--r-- 1 root wheel 6917 Feb 26 11:17 bsd.tbxi -rw-r--r-- 1 root wheel 54197476 Feb 26 11:53 comp59.tgz -rw-r--r-- 1 root wheel 2812954 Feb 26 11:53 game59.tgz -rw-r--r-- 1 root wheel 8991150 Feb 26 11:53 man59.tgz -rw-r--r-- 1 root wheel 64800 Feb 26 11:17 ofwboot -rw-r--r-- 1 root wheel 23869487 Feb 26 14:53 xbase59.tgz -rw-r--r-- 1 root wheel 40014023 Feb 26 14:53 xfont59.tgz -rw-r--r-- 1 root wheel 17159113 Feb 26 14:54 xserv59.tgz -rw-r--r-- 1 root wheel 4528018 Feb 26 14:54 xshare59.tgz my /etc/exports : /usr/local/www/thttpd/ -alldirs -ro -mapall=nobody -network 192.168.1.0/24 my dhcpd.conf (isc-dhcpd) : allow booting; allow bootp; authoritative; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.20 192.168.1.50; option broadcast-address 192.168.1.255; } host macmini { next-server 192.168.1.5; option subnet-mask 255.255.255.0; option routers 192.168.1.5; option root-path "192.168.1.5:/usr/local/www/thttpd"; fixed-address 192.168.1.22; hardware ethernet 00:14:51:1f:52:70; } I can mount the nfs from the freebsd of the mac mini and get files, so the NFS is fine. The PXE is fine as it load ofwboot. The DHCP is fine too as it get an IP. But it can't find /bsd.rd which is at the root of the nfs export. What is wrong with my setup ? Picture of the boot in the open firmware http://i.zcraft.fr/960991460029255.jpg Kind regards Try tcpdumping the connection and see why it thinks the file doesn't exist. It might be the / try does: boot enet:, ofwboot bsd.rd change the behaviour? hth Fred
Need help to install OpenBSD 5.9 macppc via pxe
Hello, I am trying to install OpenBSD 5.9 on an old mac mini (which actually runs FreeBSD and was using OpenBSD before). So, I choosed the network way for installation and followed the installation instructions. I get an error when loading /bsd.rd (picture at the end) I have my dhcp/tftp/nfs server with address 192.168.1.5 (running freebsd), files for 5.9 are under /usr/local/www/thttpd/ -rw-r--r-- 1 root wheel 1552 Feb 26 14:59 SHA256 -rw-r--r-- 1 root wheel 1715 Feb 26 14:59 SHA256.sig -rw-r--r-- 1 root wheel 53657599 Feb 26 11:52 base59.tgz -rw-r--r-- 1 root wheel184634 Feb 26 11:17 boot.mac -rw-r--r-- 1 root wheel 7787638 Apr 7 12:48 bsd -rw-r--r-- 1 root wheel 7807488 Apr 7 12:49 bsd.mp -rw-r--r-- 1 root wheel 8549933 Apr 7 11:28 bsd.rd -rw-r--r-- 1 root wheel 6917 Feb 26 11:17 bsd.tbxi -rw-r--r-- 1 root wheel 54197476 Feb 26 11:53 comp59.tgz -rw-r--r-- 1 root wheel 2812954 Feb 26 11:53 game59.tgz -rw-r--r-- 1 root wheel 8991150 Feb 26 11:53 man59.tgz -rw-r--r-- 1 root wheel 64800 Feb 26 11:17 ofwboot -rw-r--r-- 1 root wheel 23869487 Feb 26 14:53 xbase59.tgz -rw-r--r-- 1 root wheel 40014023 Feb 26 14:53 xfont59.tgz -rw-r--r-- 1 root wheel 17159113 Feb 26 14:54 xserv59.tgz -rw-r--r-- 1 root wheel 4528018 Feb 26 14:54 xshare59.tgz my /etc/exports : /usr/local/www/thttpd/ -alldirs -ro -mapall=nobody -network 192.168.1.0/24 my dhcpd.conf (isc-dhcpd) : allow booting; allow bootp; authoritative; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.20 192.168.1.50; option broadcast-address 192.168.1.255; } host macmini { next-server 192.168.1.5; option subnet-mask 255.255.255.0; option routers 192.168.1.5; option root-path "192.168.1.5:/usr/local/www/thttpd"; fixed-address 192.168.1.22; hardware ethernet 00:14:51:1f:52:70; } I can mount the nfs from the freebsd of the mac mini and get files, so the NFS is fine. The PXE is fine as it load ofwboot. The DHCP is fine too as it get an IP. But it can't find /bsd.rd which is at the root of the nfs export. What is wrong with my setup ? Picture of the boot in the open firmware http://i.zcraft.fr/960991460029255.jpg Kind regards