From: naras@cda.mrs.umn.edu (B. Narasimhan )
Subject: Summary: Help a novice install Ultrix 4.2a (Decstation 5000/Model 240)
Date: 27 Mar 92 18:54:33 GMT [thread overview]
Message-ID: <1992Mar27.185433.2092@news2.cis.umn.edu> (raw)
I wish to thank the people who responded to my post. I enclose below the
replies I received. (I apologize to one other good samaritan, whose
name I cannot recall, for losing his message.)
After I posted the question, I managed to experiment more and got the
whole thing to work. I do not claim complete correctness in my approach,
and would be glad to receive your comments about it.
********************* Begin My Hack *******************************
Installing Ultrix from the CD ROM to a 3rd party Drive.
-------------------------------------------------------
1. When you first boot from the CD ROM choose the sys management
option. This will put you in a shell with not many tools. However,
"cd" will be available.
2. cd to /dev and "MAKEDEV rz0" or whatever the disk is called by
your ultrix system (You can find this out in the monitor by
executing a cnfg <slot-number> or some such thing. My slot number was 3.)
3. For each of the partitions you want, run "mkfs /dev/rrz0<partition>" with
number of sectors, blksize, etc all put in. For example, for partition 'a'
you would use "mkfs /dev/rrz0a" with the options. The man page for
mkfs lists the options. (Note for confused beginners like me: The rz0a
device refers to a character device and the rrz0a refers to a block device).
4. cd to /etc and run chpt with the right partition sizes.
5. Now exit the shell with a cntrl-d and continue with the installation.
6. Build the part of the kernel after which you will be asked to boot again
from your Hard Disk Drive.
7. Go thru the steps and when it comes to the part where it asks you for
the /usr partitions, type a control-c and edit the disktab file with
all the info that is necessary. A sample disktab entry for various
3rd party Drives is available for anonymous ftp at gatekeeper.dec.com.
Run "newfs -v /dev/rrz0<partition> rzxx" for each partition.
8. Type Cntrl-d and continue with installation. You should be fine now.
***************************** End of My Hack *****************************
************************** Begin Helpful replies **************************
Date: Mon, 16 Mar 92 22:25:21 EST
From: jeff@wisdom.bubble.org
Sender: jeff@wisdom.bubble.org
In article <1992Mar15.215937.7890@news2.cis.umn.edu> you write:
>I recently purchased a DECstation 5000/240. 16Mb Ram, no DEC disk.
dec doesn't want you to use anything other than a DEC drive, however I have
done several installs on unsupported drives, the last install was on
a ~500 meg fujitsu drive on a MV3100 with ultrix 4.2 off TK50.
>
>The Background
>--------------
[........]
>PS: Before you say "rtfm", I am at a small school with limited
>access to the Ultrix system manuals. I really would appreciate your help.
>
I won't bother the information you want isn't in the "TFM" :)
this is how I went about it and you can modify it if you need to.
(I worked all TK50, I don't have the distribution on cdrom yet)
booted the tk50, when it asked for basic, advanced or system maintenence,
choose system maintenence.
look for a file called "INSTALL" you may have to use "echo *" for directory
listings, I don't remember if "ls" is loaded at this point. now using
the only editor available "ed" edit the INSTALL shell script. look for the
case statement which defines the RZxx drives.
when you locate this statement, put in another statement. Ultrix will
probably identify your drive as a "RZxx" where all the other drives will
actually have a number. you will need the actuall geometery of the drive.
there are two parameters you will need to install at this time, the
parameter names are "ns" (Number of sectors per track) and "nt" (number of
tracks per cylinder).
ns should be self explanitory, however nt is actually the same as number of
heads, probably something like 15.
the above information will allow you to generate the root file system, and
ask you to reboot. however I would recomend before you go any further,
edit the file "/etc/disktab"
this is when it would help to have another machine running ultrix, there is
a program supplied called "/etc/diskpart" run this with a "-d" option,
supply all the parameters and you will get the proper output for the
/etc/disktab file.
since I despise "ed" I typed the entry into a file then did
"cat file >>/etc/disktab"
from this point, type cntl-D and proceed with the install according to the
book. you should have no problems from here on out.
>Thanks in advance.
your quite welcome, I suspect you will need the output from the "diskpart"
program, if this is the case, send me E-mail to "ross@rodney.fdu.edu" do
not reply to the address in the header, I won't get it until I get home.
if you want, (because I'm so against how digital wrote their install script,
and I feel that everybody should use a non DEC drive) and need more help
than this message provides, feel free to call me at my office, the phone
number is 201-692-2357 or 2358, I'm usually there.
good luck and let me know how you make out!
Jeff Ross
201-299-1819 (home) jeff@wisdom.bubble.org
201-692-2357 (work) ross@rodney.fdu.edu
From: davies@2riscy.enet.dec.com (David C. Davies)
To: naras@cda.mrs.umn.edu
Cc: davies@us1rmc.mso.dec.com
Subject: Re: Help a novice install Ultrix 4.2a (from INTERNET)
Status: R
Have you tried forgetting about the disktab entries? Usually, the
default values will be taken from the driver. I've added below a
posting I made to an internal (DEC) notesfile where I changed the
partitions on a system disk. I hope it'll be of some help and at least
give you some ideas.
Good Luck!
Dave
----------------------------------------------------------------------------
Below is edited highlights from the 'Backup & Restore' manual, Section 3.6.
3.6 Local Restoration of the root and /usr file system.
This section assumes a dump of the root and /usr file systems is available.
1. Boot the TK50 (or CD-ROM) device where the standalone system volume is mounted.
After the boot command, the system prompts you to enter 1 for the basic
installation, 2 for the advanced installation or 3 for system management.
2. Enter 3 for system management
3. Run MAKEDEV in the /dev directory to make the system disk special
file and the tape device special file:
# cd /dev
#MAKEDEV 'mnemonic'
Device Mnemonic
rdisks rz SCSI disks
tapes tz* SCSI tapes
where 'mnemonic' refers to the device mnemonic.
4. Change to the root directory
# cd /
5. Make a new root file system using the mkfs command
# mkfs 'dev name' 32768 'sector' 'tracks'
The 'dev name' variable specifies the raw device special file.
'sectors' and 'tracks' is device specific.
Disk Sectors Tracks
ra60 42 4
ra70 33 11
ra80 31 14
ra81 51 14
ra81 57 15
ra90 69 13
rd53 18 8
rd54 17 15
rm05 32 19
rp07 50 32
rf30 37 6
rf31 50 8
rf71 37 16
rz55 36 15
rz56 54 15
eg for disk partition 'a' of an rd54 disk on a VAXstation 2000
# /etc/mkfs /dev/rra0a 32768 17 15
6. Reload the boot block - ONLY NEEDED IF THERE IS PHYSICAL DEVICE DAMAGE
# dd if-/vaxboot of=device conv=sync
7. Check the new file system. THIS MUST BE DONE.
# /etc/fsck device
8. Mount the root file system
# /etc/mount device /mnt
9. Change to the /mnt directory and restore the root file system
# cd /mnt
# restore -rf device
If restoring from the default tape, the f option and device are not needed
10. Unmount the file system and check for consistency
# cd /
# /etc/umount device
# /etc/fsck device
11. Halt and reboot as follows
# sync
# sync
# halt
>>>b device
----------------------------------------------------------------------------
>From the NOTES file:
Here's how I changed the partitions on my system disk....it may be obvious
to ultrix gurus, but I haven't seen it written down anywhere for relative
novices. The basic reference manual which gives a generic explanation is
"Guide to Backup and Restore" pp 3-11 to 3-13.
My system is a DECstation 5000/200 PXG w/32M memory, RZ55 system disc, RZ56
user disc. You'll have to change the device mnemonics for different
devices/systems.
/* Get into single user mode */
$ shutdown now
/* Back up the system disc for all partitions currently in use:
** here I just needed to back up the root partition, 'a'.
*/
# dump 0u /
/* Check the current partition sizes: specify the partition containing the
** super block of the raw device.
*/
# chpt -q /dev/rrz0a
/dev/rrz0a
Current partition table:
partition bottom top size overlap
a 0 32767 32768 c,h
b 32768 163839 131072 c
c 0 649039 649040 a,b,d,e,f,g,h
d 163840 316285 152446 c,g
e 316286 468731 152446 c,g
f 468732 649039 180308 c,g
g 163840 649039 485200 c,d,e,f
h 0 0 0 a,c
/* Decide what size you want the partitions: I wanted 'a' to be 48M long so
** that it wouldn't be 92% full at 16M (size=32768 blocks). So I changed 'a'
** and 'b' as described in note 189.2 to be:
**
** a 0 98303 98304 c,h
** b 98304 163839 65536 c
**
** Do this by:
*/
# chpt -v -pa 0 98304 -pb 98304 65536 /dev/rz0a
# newfs /dev/rrz0a /* makes a new file system on the system device */
# halt /* get into console mode */
/* Now boot off your installation tape and when asked for what installation
** you want, choose "3) System Management". Then type in the following:
*/
# cd /dev /* change to the devices directory */
/* Make some devices for the system to know about */
# MAKEDEV tz5 /* tape unit at SCSI address 5 */
# MAKEDEV rz0 /* disc at SCSI address 0 */
# cd / /* change back to the root directory */
/* This line makes a rootfile system on the system device: 98304 is the 48M
** space needed for the root system. 36 and 15 come from the table on page
** 3-12 and are device specific for rz0 (RZ55). This line probably
** over-writes what was done above in newfs, but I'm taking no chances!
*/
# mkfs /dev/rrz0a 98304 36 15 /* use the RAW device name here */
/* Now load in the saved system files for the root file system */
# /etc/fsck /dev/rz0a /* check the new file system. This line IS needed */
# /etc/mount /dev/rz0a /mnt
# cd /mnt
# restore -rf /dev/rmt0h /* read from the tape unit */
# cd /
# /etc/umount /dev/rz0a
# /etc/fsck /dev/rz0a
# sync
# sync
# halt
# boot /* uses the console bootpath */
And presto! you have a working system again. Easy wasn't it??!!
Dave
From root@cda.mrs.umn.edu Tue Mar 17 19:57:26 1992
Received: by cda.mrs.umn.edu (5.57/Ultrix3.0-C)
id AA09524; Tue, 17 Mar 92 19:57:19 -0600
Received: by fdurt1.fdu.edu (5.57/Ultrix3.0-C)
id AA08649; Tue, 17 Mar 92 20:57:10 -0500
Subject: Re: Help a novice install Ultrix 4.2a (Decstation 5000/Model 240).
To: "B. Narasimhan" <naras@cda.mrs.umn.edu>
Date: Tue, 17 Mar 92 17:58:33 EST
From: Jeff Ross <jeff@wisdom.bubble.org>
In-Reply-To: <9203171440.AA06607@cda.mrs.umn.edu>; from "B. Narasimhan" at Mar 17, 92 8:40 am
X-Mailer: ELM [version 2.3 PL11]
Message-Id: <9203171758.aa19007@wisdom.bubble.org>
Status: R
>
> Thank you very much for your response. About 16 hours after my post, I was
> able to figure out a way.
>
> Since I completely agree with you regarding DEC's view on 3rd-party stuff,
> I am thinking of writing up this whole procedure (I made it a point
> to document what I was doing) to comp.unix.ultrix and comp.sys.dec
> so that others can use the same ideas and take the hassle out of this.
> (As a case in point, DEC has something funny wired up in the 5000/240 ROM
> that does not let you boot from a SONY CD ROM drive. First, I suspected
> this was due to the SONY stuff not being SCSI-2, but an RRD40 DEC
> CD drive, which is also SCSI-1 worked fine!)
there is special code in the rom of the dec cd rom, its physically the
same drive, but the code is there to tell digital that it can boot from
it.
btw, how where my instructions compaired to what you had to do in order to
get ultrix up and running??
Jeff
.Sig??? you want a stinkin' .Sig???
Jeff Ross
201-299-1819 (home) jeff@wisdom.bubble.org
201-692-2357 (work) ross@rodney.fdu.edu
From: libove@det.dec.com (Jay Vassos-Libove)
Message-Id: <9203251631.AA01629@libove.det.dec.com>
Status: R
I'm a little confused as to what exactly you're doing,
and how the system is responding to it.
It sounds like you have the right idea -
Get the system up to the point where it is loading off of
the hard disk, interrupt the install process, and use "ed"
to add your own disktab entry for that disk. What I don't
understand are two things:
1) what do you mean start the boot from rz0 again?
All that should be necessary after editing /etc/disktab is
to type ctrl-D and the install will start over.
2) does the system say anything about the panic? usually
there is some kind of message about why it is panic'ing,
even if the message might not make a lot of sense; it could
help me to help you if I knew what it was.
I hope that I've been of assistance, and please mail me again
if I may help further.
Jay Vassos-Libove libove@libove.det.dec.com
Digital Equipment Corporation decwrl!libove.det.dec.com!libove
Open Systems Resource Center Opinions? They're mine, mine, all mine!
Farmington Hills, Michigan and D.E.C. Can't have 'em!
**************************** End Helpful Replies ***********************
--
B. Narasimhan naras@cda.mrs.umn.edu
Division of Science and Math.
The University of Minnesota at Morris
Morris, MN 56267
reply other threads:[~1992-03-27 18:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox