From owner-freebsd-current@freebsd.org Sun Dec 20 23:10:28 2020 Return-Path: Delivered-To: freebsd-current@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 12F504CF1C1 for ; Sun, 20 Dec 2020 23:10:28 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CzdcM0Q7Bz3s9B for ; Sun, 20 Dec 2020 23:10:26 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x42e.google.com with SMTP id d13so9052928wrc.13 for ; Sun, 20 Dec 2020 15:10:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=9UWnG8Wew9jM6ZVsDmScD28Gj0OVkDkbXg5BE+vza0c=; b=nf6/VRPPhxc4YFCgmFTrQBzOz5bteV7XuXPS1jM/F4kk3L5GQgpHmqeQmbph0xeoXK NF1c4u4YuFrb1LC5f0bVwVbx8KsdDxgEsnROzJtd3Utls94jc3pYdKa2AgTCmyXo+GVR yp7ls0dIlYOS0KoBqC5h2sUEOBbxkq8YUWJ5OlgAcFd6HZFsNHVC1P28ibr2PGszB8EF 0ww/vIG8MsfVnZsBTAzAhwJi9pxznSyRjYQoXNSB+cGnSbvSKNQMAgyaWhHHC5JhTFE7 XbKMSMA61SqHDRXthuop29nVhXYB8TkZQYLEfyAXy1swqq20VRM2dCawyZpiu7OaJ2TU rPVA== X-Gm-Message-State: AOAM5320QXETyBb62xDXHGZAzQLZGNfXC+RcgyR6VrLRz7wGcykDe3hL 3lWzxetm/YtgF+rkziqHOdrA62L/r3tCpw== X-Google-Smtp-Source: ABdhPJy9zQK0IGLIDuuFkpO0FKtKPdD02vaVD7OOxUM8zZKT/9lFTLjciSHxITBCKC1exnGl46bRnw== X-Received: by 2002:a5d:55c6:: with SMTP id i6mr15397695wrw.137.1608505824258; Sun, 20 Dec 2020 15:10:24 -0800 (PST) Received: from [192.168.1.8] (79-66-147-78.dynamic.dsl.as9105.com. [79.66.147.78]) by smtp.gmail.com with ESMTPSA id w189sm20737245wmg.31.2020.12.20.15.10.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Dec 2020 15:10:23 -0800 (PST) Subject: Re: FreeBSD-CURRENT VirtualBox guest: EFI: lost the ability to boot From: Graham Perrin To: FreeBSD Current References: <874b669a-9b8f-a457-653b-05b888419aae@gmail.com> Message-ID: <82854cb2-086c-f27d-d2e3-0681099b3bfe@gmail.com> Date: Sun, 20 Dec 2020 23:10:22 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <874b669a-9b8f-a457-653b-05b888419aae@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4CzdcM0Q7Bz3s9B X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[79.66.147.78:received]; FROM_EQ_ENVFROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42e:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42e:from:127.0.2.255]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42e:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2020 23:10:28 -0000 On 20/12/2020 00:31, Graham Perrin wrote: > > … With the boot maintenance manager of VirtualBox, I > navigated to loader.efi, added it as a > boot option (I lazily named it 'loader.efi') then set it as primary > after which: > > * normal resets or restarts of the VM do successfully boot > > – and if I change the boot order to make 'EFI Hard Drive' primary and > 'loader.efi' last, boots fail (drop outs to the EFI shell). > > and it appears > that 'EFI Hard Drive' and 'EFI DVD/CDROM' have the same path. Surely > wrong, I can think of nothing that might have caused this. > The boot manager of VirtualBox repeatedly lost the working boot option that I repeatedly added, leaving a non-working 'EFI Hard drive' option. I tried releasing the virtual disk, creating a new hard disk-less virtual machine with EFI enabled, then added the disk. First boot failed, dropped to EFI. It worked after I manually added a boot option to the boot manager but then again the working option was lost. Is this symptomatic of a bug with VirtualBox? This weekend I sort of lost the ability to think straight :-)