From nobody Tue May 14 16:22:25 2024 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vf1pn4grZz5KcH0 for ; Tue, 14 May 2024 16:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vf1pm6rpLz4qYt for ; Tue, 14 May 2024 16:22:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715703745; a=rsa-sha256; cv=none; b=L/qhSNhzSgYAEivOxyjhpL3GWHNsO9hrII+s34uqUz89NrmqVfqv38+QaA41s76u5V6pqI GhHIUUSNpuKFU/EDfUhadYg1D0XB9iVW9fDExEh2eQtIoG6Ztm7mVs9V68ude/p9BPfrjO yCrIoaqIgHPkzhx8FoHcl03vOzy40J3UFCif/4S4hX9XSTXddrNpvENr0FS9UFqnayL42V 3JpXr7F/LYw9CRm5iCQDSx8XX+GQtH2jAqwQb097QCURwjft981E91MmAB5fY8ui8dR7Gy smzjUbzZOeHGsizlIuIrYiDafVhB01Hws4hDLWXDXeCHDEq6hwDroBsD3ZxUWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715703745; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=91t2nnI/O0kj73DjBQPrQe+XnuLcOAZWRCNR8MQIxgU=; b=wqzWsyPd1Mfq6asW1fFo3GD6c6ANARrOy6IMU0m9ZKSrH8hSrL0JfBU677P7P/45Q3N+Ix goLFUSFwveKQhIVmhW8pukr8LYbr8x0xdzVCUAAZiYT54KM7dll8/cH8VNePTeG3JP+Nzs hoiEG/aRX2weadVg4kDa80lpixCBaKDFnaJe3xRKiUN+HGRgfnAxkfi12SyKkmFud0Xg58 H8FKQamKcdpGyaVKl++WTTV/77AwhoHlGPLT0E5itwUwRfJXNPdhyx+452C/CsZ00hlJl8 ZTK/POebUFBRM1xReop1KyWixNnCcV/d2kHu/JPqViLzEwXHA43MDADDOiMYsw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vf1pm6Sp2zfD0 for ; Tue, 14 May 2024 16:22:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44EGMOFN097531 for ; Tue, 14 May 2024 16:22:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44EGMO4o097530 for virtualization@FreeBSD.org; Tue, 14 May 2024 16:22:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 278984] Debian 12 won't boot in UEFI mode Date: Tue, 14 May 2024 16:22:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: konstantin.t.i@ya.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278984 Bug ID: 278984 Summary: Debian 12 won't boot in UEFI mode Product: Base System Version: 13.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: konstantin.t.i@ya.ru Hi. If you install Debian 12 on bhyve from an iso image in UEFI mode, you will notice that the grub boot loader will not be found. To fix this you need to do the following: mkdir /boot/efi/EFI/BOOT/ # copy file - workaround for bhyve grub package # # Pay attention to destination file bootx64.efi # cp /boot/efi/EFI/debian/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi Taken here: https://www.cyberciti.biz/faq/how-to-install-linux-vm-on-freebsd-using-bhyv= e-and-zfs/ I suggest fixing bhyve so that it tries to load not only /boot/efi/EFI/BOOT/bootx64.efi, but also /boot/efi/EFI/debian/grubx64.efi. --=20 You are receiving this mail because: You are the assignee for the bug.=