Subject: [CORRECTED] Re: disklabel trouble on a pmax(pmin?)
To: James O'Kane <jo2y+@cs.cmu.edu>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 02/01/1998 15:49:28
I wrote:

Try this:

>	disklabel -W	/dev/rrz?c	# enable writes to label area
>	gunzip -c diskimage.gz | dd of=/dev/rz?c bs=512 count=16
>	#  or possibly
>	#    dd if=diskimage of=/dev/rz?c bs=512 count=16
>	# if youve uncompressed the diskimage file.
>
>Then reboot.  If it works, it should go in an FAQ.

OOoops, those should *all*  be raw devices, rrz?c not rz?c.

so, try *this*:

	disklabel -W	/dev/rrz?c	# enable writes to label area
	gunzip -c diskimage.gz | dd of=/dev/rrz?c bs=512 count=16
	#  or possibly
	#    dd if=diskimage of=/dev/rrz?c bs=512 count=16
	# if youve uncompressed the diskimage file.

then reboot.  Writing to the label area of hte block device is a
no-op; you need the raw device, which is (by convention) rrz?c.