how to use disklabel to change fstpe on boot disk on 4.0g

From: Mike Broderick (broderic@MIT.EDU)
Date: Tue Aug 13 2002 - 20:41:13 EDT


I'm trying to do a late night urgent restore of a 4.0g system w/ hw/ problems
to new h/w. I restored the o/s file sets (all advfs) but cannot boot the disk...

>>>boot -fl s dqb0
pga0.0.0.15.0 - LINK_DOWN timeout
inserting onto pollq.
(boot dqb0.0.1.13.0 -flags s)
block 0 of dqb0.0.1.13.0 is a valid boot block
reading 13 blocks from dqb0.0.1.13.0
bootstrap code read in
base = 200000, image_start = 0, image_bytes = 1a00
initializing HWRPB at 2000
initializing page table at 1ff40000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
Removing from poll queue.
can't open osf_boot

halted CPU 0

halt code = 5
HALT instruction executed
PC = 20000030

I think I've seen this before and the problem is the disklabel type is not set
to advfs. I had this problem on 5.1a and rewrote the label with...

# disklabel -r dsk0 >dsk0label
# disklabel -Rrt advfs dsk0 rz0label

This does not work on 4.0g...

# disklabel -r rz8 >/tmp/rz8label
# disklabel -Rrt afvfs rz8 /tmp/rz8label
Usage:
  Read ...
...
#

Anyone know how to do this?



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:49 EDT