From nobody Fri Jul 29 13:48:10 2022 X-Original-To: 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 4LvTPB1fnxz4XDDH for ; Fri, 29 Jul 2022 13:48:14 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (mx32.harte-lyne.ca [216.185.71.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx32.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LvTP90Y3hz49Ns for ; Fri, 29 Jul 2022 13:48:13 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id 0E36F23537 for ; Fri, 29 Jul 2022 09:48:12 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id I8OCMRcDG8iU for ; Fri, 29 Jul 2022 09:48:10 -0400 (EDT) Received: from webmail.harte-lyne.ca (webmail-2.hamilton.harte-lyne.ca [216.185.71.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id 28C2123544 for ; Fri, 29 Jul 2022 09:48:10 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1659102490; bh=eZjZqPbMewmD0ZP05iX5M5ElYJ4QUZgO0jG5eKGBq3k=; h=Date:Subject:From:To:Reply-To; b=iXZ6A5qFsETXiCSM27ymwcoLvw3rHE++wLW/F1nr9cWoq7QyRBa0hRDjWmjYPnHyK TcJR2gF3p5aSdg5qaO2N5fcp0mQKR4OtHaEQiNSYVbqkynsNx23sIz40bvapScfvfY nphsO4a7Vprf5pVQI0aE97ychvokBdZvHhwAvrCIk6vF8AJuPFBO07efVo0tCxPiX9 J5VnSSU4m3NsQxdP+Wy/iRhDeYWaIJQjZGkWUoPhWn8LpHIHvUPf4OmKBeHj6hN4aR 4ssUclK3iAVuSIn1SZKS0gE/PFO13GivM0fYI2VqHN9ed711scq9ZUVfukWQPr28LV yh77uZI50dqNg== Received: from 216.185.71.41 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Fri, 29 Jul 2022 09:48:10 -0400 Message-ID: Date: Fri, 29 Jul 2022 09:48:10 -0400 Subject: BHyve - GRUB settings for Rocky Linux From: "James B. Byrne" To: questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.23 [SVN] 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 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Rspamd-Queue-Id: 4LvTP90Y3hz49Ns X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=harte-lyne.ca header.s=dkim_hll header.b=iXZ6A5qF; dmarc=pass (policy=quarantine) header.from=harte-lyne.ca; spf=pass (mx1.freebsd.org: domain of byrnejb@harte-lyne.ca designates 216.185.71.32 as permitted sender) smtp.mailfrom=byrnejb@harte-lyne.ca X-Spamd-Result: default: False [-5.10 / 15.00]; DWL_DNSWL_LOW(-1.00)[harte-lyne.ca:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[harte-lyne.ca,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:216.185.71.0/26]; R_DKIM_ALLOW(-0.20)[harte-lyne.ca:s=dkim_hll]; RCVD_IN_DNSWL_LOW(-0.10)[216.185.71.32:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_FIVE(0.00)[5]; HAS_REPLYTO(0.00)[byrnejb@harte-lyne.ca]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; ASN(0.00)[asn:12021, ipnet:216.185.64.0/20, country:CA]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; DKIM_TRACE(0.00)[harte-lyne.ca:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N FreeBSD-12.3 vm-bhyve-1.4.2 grub2-bhyve-0.40_8 Rocky-9.0 I need help to determine what grub commands are required to get a rocky linux (RL) bhyve vm to boot. It would be most helpful if someone could point out how I determine what these should be. I have viewed the contents of grub.cfg in the distribution iso. From this I have constructed the following vm.conf file: loader="grub" cpu=4 memory=6G network0_type="virtio-net" network0_switch="public" disk0_type="virtio-blk" disk0_name="disk0.img" grub_install0="linux /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Rocky-9-0-x86_64-dvd quiet" grub_install1="initrd /images/pxeboot/initrd.img" This results in a running vm but does not seem to partition the virtual disk nor install the OS. I am left at the grub> prompt when I enter the console. If somebody has RL running as a Bhyve VM, or RHEL9 as RL is supposed to be what CentOS would have been, I would very much appreciate a copy of your configuration file and how you determined the values. Thanks. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3