9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <charles.forsyth@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] boot order on separate venti/fossil machines
Date: Sun, 21 Apr 2024 19:14:33 +0100	[thread overview]
Message-ID: <CAOw7k5ge0-M7ATv6rkUHUWvg6FDLFZ2x=t7LxmQMCCN_jEGZaQ@mail.gmail.com> (raw)
In-Reply-To: <25CDD0D7-B7EB-4DC6-8DB3-D28C57C785A8@germteig.com>

[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]

Fossil once attached to venti can't serve without it, so venti must arrive
first.
My machine is fossil+venti, so not quite what you asked about, but the
mechanism would
be similar. The server boots the kernel from 9fat. (If I wanted to pxe boot
the venti,
I could push the boot server problem back to a boot server, perhaps the
auth server.)
The kernel uses configuration pcfs, which contains enough in bootdir to
start and run fossil,
which checks $venti (set in plan9.ini) to see if it should run that first,
if local. If venti isn't
local, it sets up the network so fossil can dial it.
/sys/src/9/boot/local.c organises that. I don't think a configuration is
provided
that starts just venti, but some of the pc* configurations in /sys/src/9/pc
hint at ways to
make various custom systems.

(9front's /sys/src/9/boot use rc scripts, which is much easier to change,
but it doesn't provide fossil at all.)

On Sat, 20 Apr 2024 at 08:21, Marco Feichtinger <marco@germteig.com> wrote:

> I am curios.
> In an environment where you have separate machines for fossil and venti,
> do you boot fossil first, and let venti pxe boot over it,
> or do you boot venti first, with a small, local, fossil partition?
> 
> -marco

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc731bf1d8c36e0a4-Md17bb5ecf553fcbfb1b3eae9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2861 bytes --]

  reply	other threads:[~2024-04-21 18:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-17 18:52 [9fans] disk/prep partitioning issue Marco Feichtinger
2024-04-18  7:14 ` Richard Miller
2024-04-18  7:59   ` Richard Miller
2024-04-20  7:19     ` [9fans] boot order on separate venti/fossil machines Marco Feichtinger
2024-04-21 18:14       ` Charles Forsyth [this message]
2024-04-18  9:29   ` [9fans] disk/prep partitioning issue Marco Feichtinger
2024-04-18 12:17     ` Richard Miller
2024-04-18 12:21       ` Marco Feichtinger

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='CAOw7k5ge0-M7ATv6rkUHUWvg6FDLFZ2x=t7LxmQMCCN_jEGZaQ@mail.gmail.com' \
    --to=charles.forsyth@gmail.com \
    --cc=9fans@9fans.net \
    /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).