Re: Bhyve CD-ROM
- Reply: Bakul Shah : "Re: Bhyve CD-ROM"
- In reply to: Bakul Shah : "Re: Bhyve CD-ROM"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Nov 2021 22:14:17 UTC
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 time 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öhne <C.Koehne@beckhoff.com>, Mario Marietto <marietto2008@gmail.com>, Freebsd Virtualization <freebsd-virtualization@freebsd.org> > Subject: Re: Bhyve CD-ROM > > > 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). > > # cat debian/run > bhyve -c 2 \ > -s 0,hostbridge \ > -s 5,nvme,debian.img \ > -s 8,virtio-9p,sharename=/vm-share/debian \ > -s 10,virtio-net,tap6,mac=58: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=0.0.0.0:5909,wait \ > debian > > exit > -s 4,ahci-cd,debian.iso \ > > In the VM: > $ uname -a > Linux debian 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux > > The share was mounted with > > # mount -t 9p -o trans=virtio,cache=mmap,version=9p2000.L,rw sharename /mnt > # partx /dev/nvme0n1 > > 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 ... > > I did a manually install as I wanted to play with xfs but otherwise > it was just standard install, no other hacks. -- Sent with https://mailfence.com Secure and private email