9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David du Colombier <0intro@gmail.com>
To: 9fans@9fans.net
Subject: Re: [9fans] 9pccpu: can't open /dev/sdXX/nvram
Date: Sat, 28 Jul 2012 10:19:00 +0200	[thread overview]
Message-ID: <20120728101900.7dc2f9a1@gmail.com> (raw)
In-Reply-To: <6CA24E8A-3735-483D-9CF7-1118154C7986@ar.aichi-u.ac.jp>

> Has anyone succeeded in booting cpu server from usbdisk?

There is no problem in booting the CPU server, since
you can always specify the required values by hand
during the boot.
You problem is that you can't read/write theses
values from/to the disk.

I suppose you're using the USB image I am providing
on 9legacy.org. A nvram partition is present, but
I haven't properly configured the plan9.ini to use
an nvram on the USB disk.

You can simply mount the first FAT partition
from the USB disk, edit the plan9.ini and add
the "readparts=" parameter in the [common] section,
just before the "nvram=" parameter, like this:

readparts=
nvram=/dev/sdXX/nvram

If you are curious how this USB image was built,
you can look at the mkusbboot(8) script provided
in the Plan 9 distribution, or check my notes
available on:

http://www.9legacy.org/9legacy/doc/fossil/usb

There is nothing specific here. Everything is
already provided in Plan 9 from Bell Labs.

--
David du Colombier



  reply	other threads:[~2012-07-28  8:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-28  3:30 arisawa
2012-07-28  8:19 ` David du Colombier [this message]
2012-07-28 13:41   ` arisawa
2012-07-28 14:33     ` David du Colombier
2012-07-29  7:30       ` arisawa
2012-07-29  9:43         ` Richard Miller
2012-07-29 11:45           ` arisawa
2012-07-29 14:16             ` Richard Miller
2012-07-29 22:49               ` arisawa
2012-07-30  9:19                 ` arisawa
2012-07-30 14:46                   ` erik quanstrom
2012-07-30 20:45                     ` cinap_lenrek
2012-08-17  2:15                       ` arisawa
2012-08-17  3:27                         ` cinap_lenrek
2013-05-13 16:37                   ` Skip Tavakkolian
2013-05-13 21:32                     ` arisawa
2013-05-13 21:53                       ` Matthew Veety
2013-05-13 23:06                       ` erik quanstrom
2013-05-15  9:56                         ` arisawa
2013-05-15 20:56                           ` arisawa
2013-05-15 21:18                             ` erik quanstrom
2013-05-16  0:16                               ` arisawa
2013-05-16  1:25                                 ` erik quanstrom
2013-05-16 13:44                                 ` kernel panic
2013-05-17 12:36                                   ` arisawa

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=20120728101900.7dc2f9a1@gmail.com \
    --to=0intro@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).