tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Making a disk bootable without doing a CDROM install
@ 1999-09-26 15:07 Noboom2
  0 siblings, 0 replies; only message in thread
From: Noboom2 @ 1999-09-26 15:07 UTC (permalink / raw)
  To: tru64-unix-managers

Thank you to all those who sent me answers and helpful things to try.
(And I'll even say thanks to those who said the question was asked and 
answered already -- I searched the archives looking for an answer and found 
nil; but thanks anway!)

The solution was to use the following command to create a bootable ADVFS disk:

    disklabel -wr -t advfs rz19 hsz50 /mdec/rzboot.advfs /mdec/bootrz.advfs

Some people, in providing me with the above command, mentioned that I could 
leave off the .advfs and just use

     disklabel -wr -t advfs rz19 hsz50 

This worked, and the system booted up normally after I did it.  Of course, I 
had to re-copy everything over once I did this, since it changed around my 
partitions.

Some folks asked how I did the copy.  I just used the following (after the 
disk label, above):

    mkfdmn /dev/rz19a newroot_dmn
    mkfset newroot_dmn#root
    mount newroot_dmn#root /newroot
    cd /newroot
    vdump -0 -f - / | vrstore -xf - 

And I repeated this for /usr and /var.  Then, I had to go into the /newroot 
and make some modifications, like /sbin/swapdefault (made it point to 
/dev/rz19b instead of the actual root disk, which was /dev/rz25b).  I also 
moved the links in /etc/fdmns to point to the new rz19 disk.

Then I shutdown the system, did some quick copies of the log files is 
/usr/adm/syslog.dated and /var/log (we log our stuff there), and booted off 
of rz19 and it worked like a champ.  

Later, I changed the bootdef_dev parameter at the eprom to reflect the new 
disk.

>>> set bootdef_dev dkd100.1.0.5.1

    (Here's a question: where do those numbers AFTER the DKD100 come from?  
The
    system told me what they were (by looking at the booted_dev eprom 
variable), but
    where do they come from?)

And now we are a hummin'

In addition, there were a few people who asked if it was OKAY to use a disk 
off a HSZ to boot a system.  The answer from Compaq seems to be yes, but it 
can complicate things in the future.  Using a local (KZPSA) attached disk is 
preferred.

We intend to go back to a local disk soon, but since we were experiencing 
problems with our disks there we had to resort to using the HSZ disks.  I 
haven't noticed any performance problems since the change.  In fact, my guess 
would be  that it should run a little faster, but that's another question.

---------
Unfortunately, since I'm using AOL, and since they delete any email that has 
already been read after 3 days, I missed about 10 of the folks who provided 
me with the quickest responses.  Sorry about that.  But, the following people 
sent along helpful information:
    rem@ams.org
    JBeck@CareWiseinInc.com
    oisin@sbcm.com
    Davis@tessco.com

And, as a final note, a few people mentioned this question was already 
answered.  While I'm aware that there are a few searchable archives, the 
interfaces on them are quite frustrating, at least to me (and one of them is 
not in the US, which had very very slow access from here).  

I'd think that when working with the company who owns the AltaVista search 
engine software we'd at least have a chance of using it to retrieve 
information on our list.
Traffic on this list could be greatly reduced if adequate searching of the 
archives was available.  Just my 2 cents.

Again, thanks to everyone!

Sue  

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-09-26 15:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-26 15:07 SUMMARY: Making a disk bootable without doing a CDROM install Noboom2

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox