From nobody Thu Sep 1 23:41:23 2022 X-Original-To: freebsd-questions@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 4MJcy74RvZz4b3GV for ; Thu, 1 Sep 2022 23:41:35 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-ua1-x933.google.com (mail-ua1-x933.google.com [IPv6:2607:f8b0:4864:20::933]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MJcy70BTxz45pn for ; Thu, 1 Sep 2022 23:41:35 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-ua1-x933.google.com with SMTP id i11so250796ual.7 for ; Thu, 01 Sep 2022 16:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=cWYv9UagWt8RzV4KS3FDp97Z9FYb8HaWCQVHmSTQrAA=; b=B4xrCxBvG/f+QuiIMvnUxRwhGeL2ErqCnjvMqQHv7bFntndGaxk4NSfmIHh1xD5C0H U7tPZZxlulXelC8+25Q4Y/p8d2VhlCgP4YkzysYYaEPrY289rdtO5KokBPS46niTWYTl vbS3Z+k9qbZQbRGWGjRIgNUxlntdXgr83r787Oynp0sdKnXWi7Q8j/ihIyLFZqsQLtur yldXJC/kl6CbLx+DRJhG0fWkAmJghqsUG5LwEgX8b7Gywwn+rIVsb6VbUQaAk2MYRkZ7 mt7fTNy16O7J2ft/MoGvqjaUl2BznU8rQIqQS8JQGvsq4AvOGnir63jppKRjgiaxjUei kG5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=cWYv9UagWt8RzV4KS3FDp97Z9FYb8HaWCQVHmSTQrAA=; b=6NOh7LQxjXKJFv1gNQqBlr788UjTlvOlt/ChyFAEGo7nKzl1z5OtBO7rKrqN7lYYcg FGXKY0dRZqtIb6Nidw66OK3A2KoUztSB1/zkpKi+f/GUbEKvd1dXE4I4rA74FXtlYopa UG8365xVVUdISUgnhuTxYTDp6DTzoYG6ctEa2BPfzlEBuqL10OGcC9a65PEpHiQmguwG Txt2kKGuibAhc89aXygs6MpfRgh6KQ2snFqf42pP0tOI5t63RqDCf7x2iEvDp/bS+DRf laZ/odsRjZJB+M/nE/jnXpuQp0iaIF/92qX6RR0Y9eLUtrlBgJ41032/qkGAM1yj8ZTb 9cTQ== X-Gm-Message-State: ACgBeo2q57+c4sMw5a6dlaj8DcvEoeR29j77WkZR0UPezqUwcx2t6aOp owcnC24YzsmPkt3fzWJmHGKOiVJ1J1mwKyv7W7mxCs657Qg= X-Google-Smtp-Source: AA6agR5X15uyooC3v8MitV1bm+/otJd81+iNQD5duWz14kU4sIXCKdRMebe/F9dBsFawNKWCCkOs3pLiPZOIOCVpgYg= X-Received: by 2002:ab0:6ca2:0:b0:3a8:8ca9:4f6d with SMTP id j2-20020ab06ca2000000b003a88ca94f6dmr28084uaa.54.1662075694099; Thu, 01 Sep 2022 16:41:34 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: paul beard Date: Thu, 1 Sep 2022 16:41:23 -0700 Message-ID: Subject: making a disk/slice bootable To: FreeBSD-questions Content-Type: multipart/alternative; boundary="0000000000005631c905e7a627ac" X-Rspamd-Queue-Id: 4MJcy70BTxz45pn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=B4xrCxBv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of paulbeard@gmail.com designates 2607:f8b0:4864:20::933 as permitted sender) smtp.mailfrom=paulbeard@gmail.com X-Spamd-Result: default: False [-3.93 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; NEURAL_HAM_LONG(-0.95)[-0.946]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::933:from]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --0000000000005631c905e7a627ac Content-Type: text/plain; charset="UTF-8" I have been mirroring the virtual disk in a FreeBSD vm for a couple of years and the main disk got corrupted. The mirrored disk doesn't boot, says it can't find a kernel, so I think I missed out on an additional step, writing an MBR or boot sector, perhaps. The files are all there if I mount them from a VM with FreeBSD.I assume there is a way to make a mountable disk bootable. fdisk and gpart are available but it's been a long time since I messed around with those. -- Paul Beard / www.paulbeard.org/ --0000000000005631c905e7a627ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have been mirroring=C2=A0the virtual=C2= =A0disk in a FreeBSD=C2=A0vm for a couple=C2=A0of years and the main disk g= ot corrupted. The mirrored disk doesn't boot, says it can't find a = kernel, so I think I missed out on an additional step,=C2=A0writing an MBR = or boot sector, perhaps.=C2=A0

The files are all there if I mount them from a VM with FreeBSD.I assum= e there is a way to make a mountable disk bootable. =C2=A0fdisk and gpart= =C2=A0are available=C2=A0but it's been a long time since I messed aroun= d with those.=C2=A0



--
Paul Beard / www.paulbeard.org/
--0000000000005631c905e7a627ac--