9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: mirtchov@cpsc.ucalgary.ca
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Re: (Newbie) Problems with Riva TNT
Date: Sat, 29 Nov 2003 08:27:15 -0700	[thread overview]
Message-ID: <d25baefd7bbef58a76bf1a4cffffe07e@plan9.ucalgary.ca> (raw)
In-Reply-To: <1070120687.59e74f400102806H@student.gla.ac.uk>

Ed is the standard editor when no rio is present. When you get
the nvidia problem fixed you'll find that you don't need another
one. Sorry, no vi (check the emacs man page for more info :)

So, assuming this is a standalone installation, the easiest way to
compile a kernel is to:

	% cd /sys/src/9/pc
	% mk 'CONF=pcf'

Where pcf is the name of the configuration file (where all hardware
and subsystems are listed) for your particular installation.
Different types of configurations there pertain to different types of
systems -- pccpu is for cpu servers, pcdisk is for kfs machines
(outdated, afaik) and pcf is for fossil-enabled installations, which
is what the installation defaults to nowadays.

This should work as a first step. If it doesn't we can look at the error
message from mk and work from there.

If, as you say, your cd is operational (and it should be able to boot in
1024x768x8 and even higher) then you can use its contents to make
a new kernel, or just copy one from the already existing /386 directory
on the cd:

	- boot from the cd
	- run '9fat:' to mount the hard drive's fat partition (where the kernel
	and plan9.ini reside)
	- copy /386/9xxxxxx to /n/9fat, you can see which kernel to copy
	by looking at /n/9fat/plan9.ini

you can also use the cd's contents to compile a new kernel or to do
a replica/pull from sources at bell-labs, in case your disk is outdated.
just apply 'ramfs' generously whenever something complains:

compiling a new kernel when booted from the cd (use ram as a storage
device):

	% ramfs
	% cd /sys/src/9/pc
	% bind -cb /tmp .
	% mk 'CONF=pcf'
	...

hth,  andrey



      reply	other threads:[~2003-11-29 15:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-29 15:44 Richard Hunt
2003-11-29 15:27 ` mirtchov [this message]

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=d25baefd7bbef58a76bf1a4cffffe07e@plan9.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --cc=9fans@cse.psu.edu \
    /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).