9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Xiao-Yong Jin <meta.jxy@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] Advice on PXE boot, "no boot filename received"
Date: Thu, 8 Sep 2022 14:02:10 -0500	[thread overview]
Message-ID: <CF688624-ADCF-4718-B113-42967F26FF67@gmail.com> (raw)
In-Reply-To: <20220908092456.GA2503683@tilde.team>


> On Sep 8, 2022, at 4:24 AM, wakyct@tilde.team wrote:
> 
>> Maybe I need to configure a bridge as suggested in IRC, but perhaps my config is wrong though so I would appreciate any help.
> 
> I couldn't get the network 100% working with qemu user networking, so I did end up setting up a bridge and got the terminal to boot. 
> One note if it helps other beginners in the future, I couldn't figure out where  the /386/9pc bootfile was on my cpu server until helpful folks in IRC clued me that I needed to cross-compile for 386 (on my 64 bit qemu cpu server), see https://fqa.9front.org/fqa5.html.

I use tls boot on my mac.  You need to copy the kernel somewhere and have the usual plan9.ini file as initrd, and give a 512-byte file as nvram.

qemu-system-x86_64 \
	-machine accel=hvf \
	-cpu host \
	-smp sockets=1,cores=2,threads=1 \
	-m 1024 \
	-nographic \
	-drive file=/opt/9/nvram,if=virtio,index=0,media=disk,format=raw \
	-nic user,mac=99:66:11:22:33:44,model=virtio-net-pci,ipv6=off,hostname=apple,domainname=9core,hostfwd=tcp:127.0.0.1:17019-:17019 \
	-kernel /opt/9/9pc64 \
	-initrd /opt/9/plan9.ini

      reply	other threads:[~2022-09-08 19:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-06 20:18 wakyct
2022-09-08  9:24 ` wakyct
2022-09-08 19:02   ` Xiao-Yong Jin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CF688624-ADCF-4718-B113-42967F26FF67@gmail.com \
    --to=meta.jxy@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).