9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jim Davis jdavis@cs.arizona.edu
Subject: Standalone SPARC.
Date: Fri,  6 Oct 1995 20:30:05 -0400	[thread overview]
Message-ID: <19951007003005.orPdBfGfAhsYOePxK4TBE9xtAKLI72bSuUkC2nUcfIU@z> (raw)

This is probably maximally inelegant, but this appears to work. I'm
starting with a Sun IPX with internal disk, Sun CDROM attached at ID 6
with the distribution CD in it. 

Get 9fs going on a UNIX box; do a global chmod on your plan 9 tree to set
everything to be owned by 'none'.  (Ie, if /plan9/etc/passwd has 'none' as
uid 900, do a find /plan9 -print | xargs chown 900.) Net-boot 9ss on the
IPX, login as 'none'.  You should see a clock and a little window saying
installation complete, welcome to plan 9, this is rc.

Now set up the local disk and CD rom player, like so: 

bind -a '#'w3 /dev  (I assume the disk is at SCSI 3, as usual)
bind -a '#'R6 /dev  (this gets the CD player)

(Don't forget the '-a'... /dev gets really small if you do.)

disk/prep /dev/sd3disk

answer 'a' to the question to get the default partitions.

disk/kfs -rb4096 -f/dev/sd3fs  (kinda like newfs)

mkdir /n/kfs; mount -c /srv/kfs /n/kfs

Now you have a local filesystem on /n/kfs.  Try

disk/kfscmd sync

as a sanity check.

9660srv  (sets up CD player service)

mkdir /n/cdrom; mount -c /srv/9660 /n/cdrom /dev/cd6

Now you have the local disk and CD player ready to go.

disk/kfscmd allow  (Not sure if this is really needed, but turning off
	            permissions sounded cool.)

Now you want to unpack the CD onto the local disk:

disk/mkfs -a -u /adm/users -s /n/cdrom /lib/proto/allproto |
	disk/mkext -u -v -d/n/kfs -z4096

(This gets a "usage" grumble from mkext but it seems to work.  Didn't
work without the -d/n/kfs, though the manpage implies it should.)

The -v will generate a 

x /n/kfs/some/file/name

message as the files are extracted.






             reply	other threads:[~1995-10-07  0:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-07  0:30 Jim [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-10-11  7:23 Al
1995-10-10 13:21 Steve
1995-10-10 10:23 Andrew
1995-10-07 17:34 Byron
1995-10-07  9:01 Alex
1995-10-07  1:13 forsyth
1995-10-04  0:08 forsyth
1995-10-03 23:12 Jim
1995-10-03 17:32 Byron
1995-10-03 14:14 Reg
1995-10-03  5:09 Alex

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=19951007003005.orPdBfGfAhsYOePxK4TBE9xtAKLI72bSuUkC2nUcfIU@z \
    --to=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).