From nobody Sun Nov 28 22:14:39 2021 X-Original-To: freebsd-virtualization@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 5488F18ADFE5 for ; Sun, 28 Nov 2021 22:15:23 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (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 4J2N8W1DhNz3nfs for ; Sun, 28 Nov 2021 22:15:23 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: by mail-lf1-x129.google.com with SMTP id n12so39556789lfe.1 for ; Sun, 28 Nov 2021 14:15:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uhh7UxFK9mq0w0343M7QQUWIVUMf+c7Q9Pm/EGqUtLg=; b=NoHmRs/emxaLzp2gURCZn7+5v6L+t0bCVz9bak+xT+0C6y3f3g79PCpfKJveRVlgEy ot+6RRPEMS8ORMCzGN3M+/cq7UdM6htFbIUCWkzIr8dEGALP9c9yWIcdTQSe2pUA+X6J xRRvjzGspChMVkHon8xW1cC4dQ+LXVMsitRTt8Q0/2D04Hf2IWLjHyOctn6k9Kl8OiUv L3oO7d+if8h1oat38Rvm+4kGHdXEN6aEUaQUxg0mPRNTuZudeKezEqY58InPkCQcwIHo YxTbaYrM03SsHfEeD3mzNgyfxzqXEPuPf7Q9LdfV8DbJN/kgsI6RzdCzCzHC95mMU/i4 rFxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uhh7UxFK9mq0w0343M7QQUWIVUMf+c7Q9Pm/EGqUtLg=; b=zYd/nrq+uU5WH0rTXhQfhfIN86pGhRb8KPfo7xrHRZRBIi10jaAm+9kI5YA98J6Mgq Rwv3fUsxFDGkWDZ00ggluujQLkunQKcq8YIfnPppgQ9llT8WJn4/E1XO3XEoeePRxkA1 csrQcA7dzkktK8wERhcaNq8gZ0Fq9dTLd1px6gj3yVAhjntRnTtsHL+VfmiQUpqVKgbG jI9ro+h4cUwMUHxVS52fo8Siqg0KP++KFz13hisLEXsvE3DqocUFX4lrP364en6pH12u uhpKNzsm8Kv3CcfoS5HimmkuBsIAXTYd+Wld5T+qzO5ffbni005GhsbYTxdKw4EkFGQe L0iQ== X-Gm-Message-State: AOAM533+BCRBh3ot7xogES3kTYDPcX40G7eC+t6HUN6hfPpr3mQGQB5x GpMkIvi4sYH1UW7j+Wbt2t/EeAfm908G7S0fxwgU8QO35Wvb6g== X-Google-Smtp-Source: ABdhPJwMzpGJg+14RJjU6w4kjal1EF4lYiFuV0/uP/Sjc4ft1RcK6UYgr++EZ+RiOQLTEJcq5foZ8p5yrEmcUIEikVA= X-Received: by 2002:a05:6512:2804:: with SMTP id cf4mr43074720lfb.644.1638137715544; Sun, 28 Nov 2021 14:15:15 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: <1786593170.587714.1638135091567@ichabod.co-bxl> In-Reply-To: <1786593170.587714.1638135091567@ichabod.co-bxl> From: Mario Marietto Date: Sun, 28 Nov 2021 23:14:39 +0100 Message-ID: Subject: Re: Bhyve CD-ROM To: sysadmin.lists@mailfence.com Cc: Freebsd Virtualization Content-Type: multipart/alternative; boundary="000000000000a0d43d05d1e0a838" X-Rspamd-Queue-Id: 4J2N8W1DhNz3nfs X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N --000000000000a0d43d05d1e0a838 Content-Type: text/plain; charset="UTF-8" if the cd is not bootable,you can attach it like this : -s 1,ahci-cd,/home/marietto/Downloads/virtio/virtio-win-0.1.208.iso \ or you can grab the files that you want when the os is loaded,declaring the folder on the host os where are stored the files like this : -s 9,virtio-9p,sharename=/mnt \ Il giorno dom 28 nov 2021 alle ore 22:31 Sysadmin Lists via freebsd-virtualization ha scritto: > Hi. How do I attach a CD-ROM device (in this case an ISO file) to a VM > without bhyve booting into it? > > bhyve -c 1 -m 512M -w -H \ > -s 0,hostbridge \ > -s 3,ahci-cd,/media/Debian-11.1.0-amd64-DVD-1.iso \ > -s 4,virtio-blk,/dev/zvol/zroot/bhyve_vms/debianvm \ > -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait \ > -s 31,lpc \ > -l com1,stdio \ > -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd debianvm > > /dev/zvol/zroot/bhyve_vms/debianvm already contains the installed OS, so > now I want to boot into it while still having access to the packages on the > ISO (to selectively install packages I want). > > -- > Sent with https://mailfence.com > Secure and private email > > -- Mario. --000000000000a0d43d05d1e0a838--