Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2021 23:14:17 +0100 (CET)
From:      Sysadmin Lists via freebsd-virtualization
 <freebsd-virtualization@freebsd.org>
To:        Bakul Shah <bakul@iitbombay.org>
Cc:        =?utf-8?Q?Corvin_K=C3=B6hne?= <C.Koehne@beckhoff.com>, Mario Marietto <marietto2008@gmail.com>, Freebsd Virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: Bhyve CD-ROM
Message-ID:  <1402880728.268687.1638310457578@ichabod.co-bxl>
In-Reply-To: <1BF2D752-2F3F-497B-8932-3A0BFAF1BD9B@iitbombay.org>
References:  <1786593170.587714.1638135091567@ichabod.co-bxl> <CA%2B1FSiiarPVt55iZXQZ8-cidvp_iHBkomQFsg8gORVYrq2=xJQ@mail.gmail.com> <711266519.635448.1638165807735@ichabod.co-bxl> <3e5cfc26e781421ba0244d5c78c3a4d4@beckhoff.com> <878258613.80307.1638218553852@ichabod.co-bxl> <CA%2B1FSii6yL0HbpyMLNq3q4PybnJS0s6uaDO8f6jh25tAHP8=NQ@mail.gmail.com> <724392928.94209.1638225100654@ichabod.co-bxl> <1b7acfc7b88a46bfbbb9f4b6444f3c2d@beckhoff.com> <951253309.258922.1638305495927@ichabod.co-bxl> <1BF2D752-2F3F-497B-8932-3A0BFAF1BD9B@iitbombay.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yeah, all you cool kids are running 13.0-* already while I'm waiting for 12=
.3-RELEASE to get out of beta. :P
I have to decide if fixing Bhyve by jumping to 13.0-RELEASE is worth the ti=
me required to fix whatever else breaks from the upgrade.

> ----------------------------------------
> From: Bakul Shah <bakul@iitbombay.org>
> Sent: Tue Nov 30 22:41:05 CET 2021
> To: <sysadmin.lists@mailfence.com>
> Cc: Corvin K=C3=B6hne <C.Koehne@beckhoff.com>, Mario Marietto <marietto20=
08@gmail.com>, Freebsd Virtualization <freebsd-virtualization@freebsd.org>
> Subject: Re: Bhyve CD-ROM
>=20
>=20
> FWIW, I had no trouble installing Debian 5.10.something in a VM.
> I am using 13.0-STABLE but this should also work on 13.0-RELEASE.
> When booting from a disk, I just remove the cdrom line from bhyve
> command line (as shown below).
>=20
> # cat debian/run
> bhyve -c 2 \
>         -s 0,hostbridge \
>         -s 5,nvme,debian.img \
>         -s 8,virtio-9p,sharename=3D/vm-share/debian \
>         -s 10,virtio-net,tap6,mac=3D58:9c:fc:XX:XX:XX \
>         -s 20,xhci,tablet \
>         -s 31,lpc \
>         -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
>         -l com1,/dev/nmdm6B \
>         -m 4G -H \
>         -s 11,fbuf,tcp=3D0.0.0.0:5909,wait \
>         debian
>=20
> exit
>         -s 4,ahci-cd,debian.iso \
>=20
> In the VM:
> $ uname -a
> Linux debian 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 G=
NU/Linux
>=20
> The share was mounted with
>=20
> # mount -t 9p -o trans=3Dvirtio,cache=3Dmmap,version=3D9p2000.L,rw sharen=
ame /mnt
> # partx  /dev/nvme0n1
>=20
> NR     START       END   SECTORS  SIZE NAME UUID
>  1      2048    391167    389120  190M ESP  ...
>  2    391168 132227071 131835904 62.9G root ...
>  3 132227072 134215679   1988608  971M swap ...
>=20
> I did a manually install as I wanted to play with xfs but otherwise
> it was just standard install, no other hacks.

--=20
Sent with https://mailfence.com =20
Secure and private email



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1402880728.268687.1638310457578>