From nobody Fri Jun 30 17:46:41 2023 X-Original-To: sysinstall@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 4Qt2nG51rZz4jtXg for ; Fri, 30 Jun 2023 17:46:42 +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 4Qt2nG3ys3z40Xv for ; Fri, 30 Jun 2023 17:46:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688147202; 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=N47MeIiH6Gy4bc8hd0cqt7yd28Ix2oAxvJVzKhzBNhY=; b=JcQvxruZmCWfXCP5GzD51ZS6OURt+4+lD8p4yM4PqRI81dETVbj/FXbuA09P6cc80ELvR7 axkUl4XrgNRqN7Rla6IXXQTU3glXsrcPZNBVQ/S4xGk7V9Wz1QGM8+MH4t0lQV7mIjtsaT Y8WIGBumG4F/XQxqHJfv008DU+X8SjnVrhPCRSWofMUv7XkgT6SkuKbn5UGifs9XuhOiUc r6I168SafFkQCdwUJ94PQbhcQVGQ7mF3EI5QyiJ62dLx9lGY4Xsq56W45E35m/Tey6vZh1 OTxAhi/LJO1i72djpR5YIVP0P9OyxzlyStd1i0CN658NSgzG7nWPXs0i+lMv6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688147202; a=rsa-sha256; cv=none; b=j/3RXkrhSQjVtmkfSln3QX/KG+JusFwiE0Ju/GQV7EVXUQVcypOf/hvZbg8ZjMPFkSL0wt 4zNe0dgeGh4kpXD4Gpk6rNc02O5x9NOCKWfT9WMK8WTyPVcdgBPYHk7P677Jj2N3GrPHn9 mQ0odDaU4yVoNlqRU/XW1z5x96tLP2sfopPv5yKnNlXzmeUAVOhdIwDai+VtIIQhE0HhG9 O5T6jAucO+7+2vlyvqVrn9NRziUIrKjX83LLvXkb9FwtSaaioXMhBHsr6+bb5PF+Wyud7i HZdpsRqzgEZUeUouaDiHFFc52cw5oB6qWKuYT4yWcHvsA/+ADBYpPhu/MfVBRw== 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 4Qt2nG2x3tz175H for ; Fri, 30 Jun 2023 17:46:42 +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 35UHkgd5051446 for ; Fri, 30 Jun 2023 17:46:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35UHkgAo051445 for sysinstall@FreeBSD.org; Fri, 30 Jun 2023 17:46:42 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: sysinstall@FreeBSD.org Subject: [Bug 271262] bsdinstaller in AutoZFS + MBR mode always wipes disklabel - rendering system non-bootable Date: Fri, 30 Jun 2023 17:46:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: install X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rcm@rcm.sh X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sysinstall@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Sysinstall Work List-Archive: https://lists.freebsd.org/archives/freebsd-sysinstall List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271262 --- Comment #9 from R. Christian McDonald --- (In reply to Allan Jude from comment #8) Allan, Thanks for the reply. I'm pretty novice when it comes to low-level storage, GEOM, CAM, etc...but I wanted to use this opportunity to learn something ev= en if MBR is indeed on the path to being removed :) A few notes: 1. I tweaked bsdinstall/scripts/zfsboot to offset the first freebsd-zfs lab= el (the boot pool partition) by `-b 8` (4096 bytes). This at least preserves t= he labels that were getting clobbered (noted earlier in this report). 2. After making the above tweak the /boot/mbr just sits at a blinking curso= r, and /boot/boot0 just prints a `#`...but it no longer says "Missing operating system" 3. Booting back into the installer and breaking out into a shell, I confirm bsdlabel is able to read /dev/ada0s1 without any issues. Without the tweak = in #1, this failed (again, as noted earlier in this report). 4. Also I reinstalled zfsboot using `dd if=3D/boot/zfsboot of=3D/dev/ada0s1 count=3D1`and `dd if=3D/boot/zfsboot of=3D/dev/ada0s1 skip=3D1 seek=3D1024` After doing this I am able to boot. --=20 You are receiving this mail because: You are the assignee for the bug.=