From owner-freebsd-questions@freebsd.org Wed Dec 23 02:54:16 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 944384CFFC8 for ; Wed, 23 Dec 2020 02:54:16 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D0yTg2Vjwz3kBg for ; Wed, 23 Dec 2020 02:54:15 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=Message-ID:Subject:To:From:Date:In-Reply-To; bh=Hcc7sR7tmkQemc4zEoYcrTArLfZbl80y769RU7dedS0=; b=odqNRcLJMhkGjKyNK0YvVxAmKc La5Z2x66cpP2ZNHgrxKdh0tdo0msd7oE/ahRO46J0s+5RSt2G7C+BffEHGPQbhVX+iKeH7G5KJoz/ RArLDVJQRrg5JA7iVJZlE5y1CXHlipCpffaa/N6m9M9t7o58LaQqY5HhqI1OOoLkjeYM=; Received: from vas by admin.sibptus.ru with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kruHu-0006l4-S3 for freebsd-questions@freebsd.org; Wed, 23 Dec 2020 09:54:06 +0700 Date: Wed, 23 Dec 2020 09:54:06 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Network installation on a UEFI-only box Message-ID: <20201223025406.GA25600@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline X-DKIM-result: pass freebsd.org X-DKIM-result: pass sibptus.ru X-Rspamd-Queue-Id: 4D0yTg2Vjwz3kBg X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=odqNRcLJ; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-6.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:19f0:5001:21dc::10:from]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:19f0:5001:21dc::10:from:127.0.2.255]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2020 02:54:16 -0000 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, I've posted this question to freebsd-net, and the reaction was total silence. So reposting here. Now that there are many PCs with UEFI-only BIOSes (no legacy mode nor CSM), how can I install FreeBSD over network on those? I successfully boot iPXE from the network, then load FreeBSD installation media over http: dhcp sanboot http://192.168.170.5/tftpboot/FreeBSD-12.2-RELEASE-amd64-mini-memst= ick.img or=20 dhcp sanboot http://192.168.170.5/tftpboot/FreeBSD-12.2-RELEASE-amd64-bootonly.i= so Good news: both images get transferred successfully over the network and start to boot. They even reach the "Loading kernel..." stage. Bad news: later they freeze or break at various points of the boot process. This is just one example of a frozen boot: http://admin.sibptus.ru/~vas/IMG_20201221_190435.jpg if I press "Enter" here, it reboots. If anybody is interested I can probably produce more info. But first of all, please tell me if I have chosen the right technology (iPXE) for booting the installation media over the network, or maybe what I'm doing is stupid and there *is* the right way. Should I probably chainload FreeBSD's loader.efi instead of sanboot-ing the= disk images? In short, if anybody has the working technology already, please share it. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJf4rFOAAoJEA2k8lmbXsY06C4IALYkvDyiwbo/3MxKmfnM6zy4 VpYcmFjMsVQVozsfUDUbECC2aj8dUtzu678knAK73FDCVCJ6sn9kKIhO3QG0bVBI d3QfGjCUHEdGtlJ2kj1pZwTdfAwYPFRfHiivqrn5BQL5VLxY0FXfSiVCo8J7aFuH oKryH+BBMxeELnoE6WhpJOFEwLR4B7Kgb73nZ3ia8ryrZPmaQwykGhqZBckgmSu3 NHq8gZCTOstmtsz6V85V9SvDMiAyZZ0qJcWnshzcce+Fhx9FrXd6ISJ2NCvmW2Ds 78ddeLZaWaGwc31ullZO9QYjlwsDKouwyfEzrjLkIjxceJ+CK1XlWsqY/jDcqOw= =IR29 -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--