9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Nick Owens <mischief@9.offblast.org>
To: 9front@9front.org
Subject: root filesystem over import
Date: Tue, 11 Mar 2014 03:09:14 -0700	[thread overview]
Message-ID: <20140311100914.GA20812@iota.offblast.org> (raw)

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

friends,

i've written some patches to allow booting a root filesystem over import
with optional aan. my end goal here is to have just a bootloader,
kernel, plan9.ini on fat partition, on a very small 128MB sd card, and
boot with the root over wifi on my X200. this is the first step.

if import is selected at the bootargs prompt or selected in
nobootprompt, import will dial $fs on the exportfs port(17007). setting
aan=1 in plan9.ini will enable aan for import.

this means you're actually booting your root from a cpu server, not
necessarily a fileserver.

it seems some time ago it was possible to boot over aan on labs
distribution, but i'm not sure if it used import. an excerpt from
http://9fans.net/archive/2005/03/215:

4570 free pages, 18280K bytes, 96680K swap
no usb daemon
no usbhid
root is from (aan, tcp, il, local)[tcp]: 
user[none]: axel
secstore password: 
version...time...

init: starting /bin/rc


my patches are at http://9.offblast.org/9front/patch/bootimport/

the import patch is necessary because if you do not strip the port from
the import dial string, netmkaddr will *not* use the aan port read from
the connection, and try to speak aan to the exportfs port.

thoughts?


[-- Attachment #2: Type: application/pgp-signature, Size: 834 bytes --]

             reply	other threads:[~2014-03-11 10:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11 10:09 Nick Owens [this message]
2014-03-11 16:07 ` [9front] " sl

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=20140311100914.GA20812@iota.offblast.org \
    --to=mischief@9.offblast.org \
    --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).