mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-03-09 01:31:01 +00:00
These are all initial checkins. These files go onto the /gno.boot
disk, without modification. README.install: Installation instructions for the user. gshrc, initrc, namespace: For the boot disk. installboot1, installboot2: Installation scripts for the user to run.
This commit is contained in:
parent
82f60994d2
commit
ddac971a82
46
verbatim/boot/README.install
Normal file
46
verbatim/boot/README.install
Normal file
@ -0,0 +1,46 @@
|
||||
$Id: README.install,v 1.1 1998/04/22 04:57:31 gdr-ftp Exp $
|
||||
|
||||
The install scripts assumes that your _new_ distribution will be installed
|
||||
on to the two volumes /gno (ProDOS) and /gno-hfs (HFS). It also assumes
|
||||
these volumes already exist and are _empty_. You may use other volume names,
|
||||
but you will have to edit certain files before you run your distribution.
|
||||
If your volumes are named something else, replace the names in the cd commands
|
||||
below with the appropriate name.
|
||||
|
||||
You should now do the following steps:
|
||||
1. Set your DOWNLOAD_DIR environment variable to the directory
|
||||
containing the binary distribution NuFX (*.shk) files.
|
||||
These files are named gno.01.shk, gno.02.shk, and so forth.
|
||||
For example, if your files were in /download, you would type:
|
||||
setenv DOWNLOAD_DIR /download
|
||||
|
||||
2. Issue the commands:
|
||||
cd /gno
|
||||
/gno.boot/installboot1
|
||||
|
||||
3. Issue the commands:
|
||||
cd /gno-hfs
|
||||
/gno.boot/installboot2
|
||||
|
||||
4. You should now edit the file /gno/etc/namespace. If your
|
||||
files were extracted onto a volume other than /gno, you will
|
||||
have to replace all the ":gno:" strings with the appropriate
|
||||
path.
|
||||
|
||||
You may want to put /usr onto a different partition; it will
|
||||
get fairly large over time.
|
||||
|
||||
If you have a RAM disk, you should consider having it renamed
|
||||
to /tmp using renram5(8) or mktmp(8), in which case its entry
|
||||
should be removed from the namespace file.
|
||||
|
||||
See the kernel reference manual for a description of this file.
|
||||
|
||||
5. If you are not short of disk space, you should create .so links
|
||||
for your manual pages. (See the mkso(8) man page for an
|
||||
explanation.) You can do this by executing the following
|
||||
commands:
|
||||
|
||||
cd /gno/usr/man
|
||||
mkso -v -H /gno-hfs mkso.data
|
||||
|
69
verbatim/boot/gshrc
Executable file
69
verbatim/boot/gshrc
Executable file
@ -0,0 +1,69 @@
|
||||
###
|
||||
#
|
||||
# GNO 2.0.6 gshrc file (for the bootstrap disk)
|
||||
#
|
||||
# $Id: gshrc,v 1.1 1998/04/22 04:57:32 gdr-ftp Exp $
|
||||
#
|
||||
###
|
||||
|
||||
#
|
||||
# Setup the other prefixes to emulate ORCA for the benefit of utilities
|
||||
# If you're using ORCA 2.0 stuff, be sure to set prefixes 13-17 also
|
||||
#
|
||||
|
||||
prefix 31 \*
|
||||
|
||||
prefix 13 /lib
|
||||
prefix 14 /tmp
|
||||
prefix 15 /lang/orca/shell
|
||||
prefix 16 /lang/orca/languages
|
||||
prefix 17 /lang/orca/utilities
|
||||
|
||||
prefix 2 13
|
||||
prefix 3 14
|
||||
prefix 4 15
|
||||
prefix 5 16
|
||||
prefix 6 17
|
||||
|
||||
#
|
||||
# Initializes our environment
|
||||
#
|
||||
|
||||
# gsh reads its path backward!
|
||||
set path=". /bin /sbin"
|
||||
export path
|
||||
rehash
|
||||
|
||||
# other shell items
|
||||
# set prompt="%C> "
|
||||
set prompt="gno.boot# "
|
||||
set term=gnocon
|
||||
setenv EDITOR vi
|
||||
setenv history 25
|
||||
setenv savehist 25
|
||||
setenv MANPATH /man
|
||||
set nonewline=1
|
||||
export prompt term EDITOR nonewline
|
||||
|
||||
# Setup necessary aliases
|
||||
alias cp "cp -i"
|
||||
alias ls "ls -CF"
|
||||
alias mv "cp -p mv -i"
|
||||
alias rm "cp -p rm"
|
||||
alias view "vi -R"
|
||||
|
||||
echo "====================================================================="
|
||||
echo "= GNO v2.0.6 bootstrap disk."
|
||||
echo "="
|
||||
echo "= Don't worry about the fact that this disk contains a v2.0.4 kernel;"
|
||||
echo "= a more recent one will be installed. See PR#62 for details."
|
||||
echo "="
|
||||
echo '= $Id: gshrc,v 1.1 1998/04/22 04:57:32 gdr-ftp Exp $'
|
||||
echo "====================================================================="
|
||||
echo " "
|
||||
echo " "
|
||||
echo "Please read the file README.install on the /gno.boot disk. You can"
|
||||
echo "do this by issuing the command:"
|
||||
echo " more README.install"
|
||||
echo "The vi editor is also available."
|
||||
echo " "
|
2
verbatim/boot/initrc
Executable file
2
verbatim/boot/initrc
Executable file
@ -0,0 +1,2 @@
|
||||
9:gsh
|
||||
gsh
|
149
verbatim/boot/installboot1
Executable file
149
verbatim/boot/installboot1
Executable file
@ -0,0 +1,149 @@
|
||||
#
|
||||
# installboot1
|
||||
#
|
||||
# $Id: installboot1,v 1.1 1998/04/22 04:57:35 gdr-ftp Exp $
|
||||
#
|
||||
|
||||
echo "Before running this script, you should have set your DOWNLOAD_DIR"
|
||||
echo "environment variable. If this was done, then the following line"
|
||||
echo "will show the full pathname of the gno.01.shk file. If you did"
|
||||
echo "not set your environment variable then it will appear as /gno.01.shk"
|
||||
echo "and the extraction will fail. If you see error messages, you can"
|
||||
echo "type ^C (control-C) to stop. (Waiting 3 seconds, then starting"
|
||||
echo "extraction.)"
|
||||
sleep 3
|
||||
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.01.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
# right about now, I would kill for a shell that had flow control constructs
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.02.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.03.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.04.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.05.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.06.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.07.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.08.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.09.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.10.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.11.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.12.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.13.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.14.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.15.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gno.16.shk"
|
||||
echo "Extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
|
||||
###########################################
|
||||
|
||||
echo "Creating empty directories required by GNO ..."
|
||||
install -dV doc
|
||||
install -dV lang/orca/languages lang/orca/shell
|
||||
install -dV lang/orca/libraries/orcacdefs
|
||||
install -dV usr/games usr/guest/operator
|
||||
install -dV usr/local/bin usr/local/doc usr/local/etc
|
||||
install -dV usr/local/include usr/local/lib
|
||||
install -dV usr/local/man/man1 usr/local/man/man2 usr/local/man/man3
|
||||
install -dV usr/local/man/man4 usr/local/man/man5 usr/local/man/man6
|
||||
install -dV usr/local/man/man7 usr/local/man/man8
|
||||
install -dV usr/local/man/cat1 usr/local/man/cat2 usr/local/man/cat3
|
||||
install -dV usr/local/man/cat4 usr/local/man/cat5 usr/local/man/cat6
|
||||
install -dV usr/local/man/cat7 usr/local/man/cat8
|
||||
install -dV usr/man/cat1 usr/man/cat2 usr/man/cat3
|
||||
install -dV usr/man/cat4 usr/man/cat5 usr/man/cat6
|
||||
install -dV usr/man/cat7 usr/man/cat8
|
||||
install -dV usr/sbin
|
||||
install -dV var/adm var/run var/spool
|
||||
|
||||
echo "creating log files"
|
||||
touch var/adm/messages
|
||||
touch var/adm/debug
|
||||
touch var/adm/utmp var/adm/wtmp var/adm/lastlog
|
||||
chtyp -tbin -a0 var/adm/utmp var/adm/wtmp var/adm/lastlog
|
||||
|
||||
|
||||
###########################################
|
||||
|
||||
echo "All done extractions."
|
||||
echo " "
|
||||
echo "You should now proceed to extract the gnohfs.shk archive, as described"
|
||||
echo "in /gno.boot/README.install."
|
24
verbatim/boot/installboot2
Executable file
24
verbatim/boot/installboot2
Executable file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# installboot2
|
||||
#
|
||||
# $Id: installboot2,v 1.1 1998/04/22 04:57:36 gdr-ftp Exp $
|
||||
#
|
||||
|
||||
setenv FILE "$DOWNLOAD_DIR/gnohfs.shk"
|
||||
|
||||
echo "Before running this script, you should have set your DOWNLOAD_DIR"
|
||||
echo "environment variable. If this was done, then the following line"
|
||||
echo "will show the full pathname of the gnohfs.shk file. If you did"
|
||||
echo "not set your environment variable then it will appear as /gnohfs.shk"
|
||||
echo "and the extraction will fail. (Waiting 3 seconds, then starting"
|
||||
echo "extraction.)"
|
||||
sleep 3
|
||||
echo " "
|
||||
echo "Now extracting $FILE ..."
|
||||
echo " "
|
||||
yankit xvf $FILE
|
||||
echo " "
|
||||
echo "All done extraction."
|
||||
echo " "
|
||||
echo "You should now finish the installation process as is documented"
|
||||
echo "in the README.install file on the /gno.boot disk."
|
11
verbatim/boot/namespace
Normal file
11
verbatim/boot/namespace
Normal file
@ -0,0 +1,11 @@
|
||||
:bin :gno.boot:bin
|
||||
:dev :gno.boot:dev
|
||||
:doc :gno.boot:doc
|
||||
:etc :gno.boot:etc
|
||||
:home :gno.boot:home
|
||||
:lang :gno.boot:lang
|
||||
:lib :gno.boot:lib
|
||||
:sbin :gno.boot:sbin
|
||||
:tmp :gno.boot:tmp
|
||||
:usr :gno.boot:usr
|
||||
:var :gno.boot:var
|
Loading…
x
Reference in New Issue
Block a user