From owner-freebsd-current@freebsd.org Tue Jun 16 16:50:47 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6C1F1343BB8 for ; Tue, 16 Jun 2020 16:50:47 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49mZ2Z5MXmz4MBq for ; Tue, 16 Jun 2020 16:50:46 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 05GGojuB081829; Tue, 16 Jun 2020 09:50:45 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 05GGoj1M081828; Tue, 16 Jun 2020 09:50:45 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202006161650.05GGoj1M081828@gndrsh.dnsmgr.net> Subject: Re: CTF: UEFI HTTP boot support In-Reply-To: <56737.1592324780@kaos.jnpr.net> To: "Simon J. Gerraty" Date: Tue, 16 Jun 2020 09:50:45 -0700 (PDT) CC: "Rodney W. Grimes" , Miguel C , freebsd-current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 49mZ2Z5MXmz4MBq X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [0.98 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.51)[-0.512]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.10)[-0.105]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.70)[0.696]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_CC(0.00)[gndrsh.dnsmgr.net,gmail.com,freebsd.org] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2020 16:50:47 -0000 > Rodney W. Grimes wrote: > > > Are you refering to something like: > > > > > > vfs.root.mountfrom="cd9660:/dev/md0.uzip" > > > > > > we boot that way all the time. > > > > What provides the cd9660 driver to FreeBSD? When you load the .iso > > over a network card, aka PXE/HTTP, the code that does that usually > > creates a ram disk and a "fake cd drive" that stops working as soon > > We don't use PXE much except in a bringup lab, and then I think we use > NFS for rootfs. Probably much like what I do once my kernel is loaded. > Normally if iso is comming from network it is to do an install > eg loader is doing 'install tftp://host/install.tar' > > The "fake cd drive" is in the kernel, loader just copies the iso into > memory like any other module, and by the time that's done you just > reboot into the newly installed system, which again uses > > vfs.root.mountfrom="cd9660:/dev/md0.uzip" ^^^ Argh, the cd9660 confused me, I think your doing a "root on mfs/md"? > but in that case the rootfs is an iso image on local disk. > > The rootfs iso is minimal - enough to fsck and mount real media > and initialize Verified Exec. > It improves our chances of being able to recover from severe disk > corruption after cleaning lady pulls the cord, to vaccuum ;-) > > --sjg > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Rod Grimes rgrimes@freebsd.org