From nobody Thu Nov 02 16:39:01 2023 X-Original-To: stable@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 4SLqMX6YDGz4yrN6 for ; Thu, 2 Nov 2023 16:39:04 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SLqMX66VQz4r5K for ; Thu, 2 Nov 2023 16:39:04 +0000 (UTC) (envelope-from matthew@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698943144; 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: in-reply-to:in-reply-to:references:references; bh=icYaG08rXQIlwROGz+MxPeG321PxOlN6AnwE5CBnuRI=; b=pArt8s66FixFLEgg28un80w3p/KCF4R19gj7dexn7cLXQ9bfRexI8/NtIc0oR/NdvQftgS DKzmYZxw4klbNRBuYX9WQ0Jn1QaIyDpY45ZYaDQ9SxPPbkDWhHaYR9oqnkssMJUwiARCmC oXIGty8VulZ7//nuDEaQsMHZbe02nvBmEU3mnJfktx5Ua2wcEWljF1a7mRD7AKapEmVRFd TeClo+dmhhlDq55lsT8xVOntWbSEgPnKVWjr0ZeItUnZAa9uDcVzmvXdefoF7n0u9fYf2T TMpxz0dvuqM0mL0i/MGtFCjvcCMLoI2mad7SRdpNZVCWFixlBS6TNusX0GIFGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698943144; 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: in-reply-to:in-reply-to:references:references; bh=icYaG08rXQIlwROGz+MxPeG321PxOlN6AnwE5CBnuRI=; b=J5J+z58rHxkgXfJ+PtgpgyC/hR/ohC3h0/wxejNH7j64uVaVjYizB9yoMeMErk5Hkyj5HE YCvhP+Ktf0TdlbrRyXtdifhennYXWpj8a5Sc3N2q4eAuTXTYTjpMCdSuEz05K33RtQFx3R JCqRtEZn663A1UkoJ8fy1B9jUCdPTce7R/5CV0tshX/y+J7CiqkOfUhwZxI/SY8EvctKTR Q4EchGh6QDCGpFmiy1gFIp3L8R+zVJ2jKFy0+Z1UlL0xI1FUZFdCbB1uNwltH4Z+m4o4v7 PZcNZSQIRODSCjCPMmnPOtvjgAQUj7wh532Bc1syfIeIwgIsykmEiIFt97NNqw== ARC-Authentication-Results: i=1; smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698943144; a=rsa-sha256; cv=none; b=xHU6gnUTlJxqHpBn/g1fbD56Dc+d14ZpxxUMtZcayvd173znc6KVQRjeVgFwcGGT3H7sWt DG6RONaW+aS2tzLVZlm18y1XLHylqLPZ2rg9b1UpW9jMSmsqBviDTOHP39rIRMoyjZE9Tp Or2JKhnnid9TfRYDPIbD4KXGbFrhjRw1/Sd48JkVxcbe1oXUWAkS96K6n+3gGZ8rm4rzUb Og+Qrl5dGQ5aGr0fqPUf68Zwek1VH/mXHhencyuOP6qdLsyXqJNjm2qO/2SUDuTu5GB+7N Pmwy1lB9Zkq8xzqpl5iNzgrZ7cMbaYgFZnbuZPLQsa/pDzBkAEXf1R0io3KHtA== Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (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) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SLqMX4HwRz1f2q for ; Thu, 2 Nov 2023 16:39:04 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from [IPV6:2001:8b0:151:1:8845:6c34:d770:9f9b] (unknown [IPv6:2001:8b0:151:1:8845:6c34:d770:9f9b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 59BBE20A5D for ; Thu, 2 Nov 2023 16:39:02 +0000 (GMT) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Message-ID: <345a1748-4114-4cdc-82c3-8f2dd79b9d97@FreeBSD.org> Date: Thu, 2 Nov 2023 16:39:01 +0000 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: RELENG_13 to 14 upgrade fail Content-Language: en-GB To: stable@freebsd.org References: <0c19b8a6-119c-4f5d-af26-d625afc7afec@sentex.net> From: Matthew Seaman In-Reply-To: <0c19b8a6-119c-4f5d-af26-d625afc7afec@sentex.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 02/11/2023 16:28, mike tancsa wrote: > On one of my VMs that I upgraded from RELENG_13 to RELENG_14, I forgot > to update the boot loader so now at bootup, I have > ZFS: unsupported feature: com.klarasystems:vdev_zaps_v2 > > Can't find /boot/zfsloader > > What is the best way to recover from this ? Its a raw vm image. gpart is > p1=freebsd-boot, p2=freebsd-swap,p3=freebsd-zfs > > I was thinking perhaps start up a second vm thats RELENG_14, mdconfig > the image, and then what do I need to do ? Just > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 md0 ? Yes -- basically you fix this by booting from some other media, and copying in the updated RELENG_14 bootblocks to your disk image. Very much analogously to how you'ld fix it on physical hardware. You should be able to boot your VM from the installation memstick image by loading it into the virtual CD drive -- that's probably the simplest. Cheers, Matthew