From owner-freebsd-questions@freebsd.org Wed Feb 17 21:55:35 2021 Return-Path: Delivered-To: freebsd-questions@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 44946535D41 for ; Wed, 17 Feb 2021 21:55:35 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (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 4Dgs8k3mx5z3kvQ for ; Wed, 17 Feb 2021 21:55:34 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-yb1-xb34.google.com with SMTP id p186so182709ybg.2 for ; Wed, 17 Feb 2021 13:55:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JzWrtvpUKwGHwP+K0hRzc7MwyK2n5S2Eq6nIOTJK/Jo=; b=uSV07sA4sql1s8RG4ZMc2pePM8uBfoqfs0PNJDKwmqXydLJuyqaffo69LqaPL79XzJ enC5vWotXvist8606McpxblTxWh6wpS3ngDWvxRvOOoLOhuK4gsJUD5xduFd3NvIYXRS QQTDwvVl9zpwzPrh7w8dF0k7t4Qw1ErhlIl4yzvLDGZN9AQR1nyYAIlF68MCzLeVkQod me41oZMq6yOB8QWCzeNb+6EbsyP8vG30lfVXbi8lqPLtm+r4+zRC9TeyQKVbq7JtiPau kbkDK9N3TFKBPJR6bcnJcwYdrwr2vr+ZGAGVYuifUH2Iiehmeu+6tBN7LAOo1QnFiqUj ghJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JzWrtvpUKwGHwP+K0hRzc7MwyK2n5S2Eq6nIOTJK/Jo=; b=GW2HUcxZHgJlpyp8h6OHJINMtdSQHCSgKEBSUgKkKvUzvA894+oTkglkGKkI6zStEi 2Z84mIxb1HqfREXnsvSCxw0msrJ7Qh9G9MC7s8oBSiDT1ShcxAb75HlXMFFbJqQWh7p9 lEF9lKty/0JtlQtyK737wh8rK0BoD3HSxChUg1J6qUQe27aYCvV0v+WilHX98IJI+il7 i7APX+jCBZXc7CTV7d3HNNFu3b0cSO50zqRW6KfRD8Ptx4d/qVTgjR9SVYEFzUAk/FtT JuBShSFK5yXgPWhCmFdc15cdae4R/5b2RQPfxxukLOI0+3ZIzlsFtb2goE5v6BsiZqto pJvw== X-Gm-Message-State: AOAM53238mckwUa49I3zJMsrEtWBvRDNMg3UQsNgZ8KTZGzdKTsEoJuL 6zDmfY6DB0X2YIUlgx9hLgZs7pUmu8jRs8G4ww0q1zNowIs= X-Google-Smtp-Source: ABdhPJxenFASir1dTbW/GQ34i+zS2bp6nC6m7DPAqQHsSlqlBi6j5RWTxAZfvID0WrANr5afZopCZzR0A6BWVOmlenw= X-Received: by 2002:a25:e4c4:: with SMTP id b187mr2229585ybh.92.1613598933736; Wed, 17 Feb 2021 13:55:33 -0800 (PST) MIME-Version: 1.0 References: <97dd9b19-6f6b-8c81-9f06-c9e81fa403ce@holgerdanske.com> In-Reply-To: <97dd9b19-6f6b-8c81-9f06-c9e81fa403ce@holgerdanske.com> From: Aryeh Friedman Date: Wed, 17 Feb 2021 16:55:22 -0500 Message-ID: Subject: Re: Slight OT: How to run existing FreeBSD on windows as a VM To: David Christensen Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 4Dgs8k3mx5z3kvQ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=uSV07sA4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::b34 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-3.82 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.82)[-0.823]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::b34:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; 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)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::b34:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b34:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2021 21:55:35 -0000 Top posting since the following summarizes the entire reply: I already looked into vbox for this and all require modification to the existing install and thus are no goes (both have to remain independently bootable as the bare metal OS). On Wed, Feb 17, 2021 at 4:05 PM David Christensen wrote: > On 2021-02-17 00:21, Aryeh Friedman wrote: > > I have two SSD's one that has FreeBSD installed on it and one that has > > WIndows 10 on it. > > > > I want to run the windows SSD as a VM on FreeBSD and the FreeBSD on > windows > > as a VM. How can I do this without having to reinstall either one. I > am > > pretty sure how to do the first case since I have played with bhyve quiet > > extensively including doing by hand windows VM's on it and am pretty sure > > all I have to do is point bhyve to the right /dev node (I have done this > > before with raw disks for FreeBSD but not windows). > > > > I am completely unfamiliar with how to do VM's on windows though and > except > > for knowing there are hypervisors for it am completely clueless about how > > to do that end. > > > If you want to convert the FreeBSD disk to a VirtualBox image file -- > e.g. two FreeBSD machines that diverge when operated -- I would try the > VBoxManage 'convertfromraw' command: > > https://www.virtualbox.org/manual/UserManual.html#vboxmanage-convertfromraw > > > If you want to run the FreeBSD drive inside VirtualBox on Windows -- > e.g. one machine that can be operated in one of two ways but retain its > identity -- I would try "raw hard disk access": > > https://www.virtualbox.org/manual/UserManual.html#rawdisk > > > In either case, you may need to adjust rc.conf(5) to deal with network > drivers and/or settings. > > > David > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org