Date: Thu, 3 Apr 2025 19:07:43 +0300 From: Volodymyr Kostyrko <arcade@b1t.name> To: freebsd-fs@freebsd.org Subject: Re: gptzfsboot cannot boot from ZFS (mirror) with "can't read MOS of pool znewroot" (FreeBSD 13.5-STABLE) Message-ID: <80a35385-f348-4f5d-ae0c-a0d0b3779183@b1t.name> In-Reply-To: <06002a1719b8460c9ac725fae2f2cd756ca05dcd@freebsd.org>
index | next in thread | previous in thread | raw e-mail
03.04.25 18:21, Lev Serebryakov: > When I try to use `gptzfsboot`, like `gpart -b pmbr -p /boot/gptzfsboot -i 1 ada0 && gpart -b pmbr -p /boot/gptzfsboot -i 1 ada` boot says: > > ZFS: i/o error - all block copies unavailable > ZFS: can't read MOS of pool znewroot Happened too, fixed with loader.efi. > As a hack I'm using `gtpboot` & small `freebsd-ufs` partiton with only `/boot` directory. > > But I hate this hack, as system update becomes cumbersome, and I cannot convert this system to UEFI boot (because `loader.efi` "Failed to find bootable partition"). How your partitions look like when you are trying loader.efi? Also, do you wipe your parition begin/end before switching so that loader.efi wouldn't see old ZFS magic numbers on partitions located where previous pool versions were? I mean I had very similar booting issue when I moved my boot to other drives, and table changed from efi + zpool to efi + swap + zpool, but I forgot to wipe swap partitions and loader/gptzfsboot (? can't recall) was quite puzzled by this, failing to detect newer pool, as that one was overlapping already detected one. > What is wrong with my ZFS pool and how could I fix it? -- Sphinx of black quartz judge my vow.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80a35385-f348-4f5d-ae0c-a0d0b3779183>
