All pastes #410839 Raw Edit

Remowylliams

public text v1 · immutable
#410839 ·published 2007-03-26 18:26 UTC
rendered paste body
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
    start 63, size 143363997 (70001 Meg), flag 0
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 143364060, size 91056420 (44461 Meg), flag 80 (active)
	beg: cyl 1023/ head 0/ sector 1;
	end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 223 (0xdf),(unknown)
    start 234420480, size 16065 (7 Meg), flag 0
	beg: cyl 1023/ head 0/ sector 1;
	end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
<UNUSED>

=======
current label
=======


# /dev/ad0s2:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  2097152 184313745    4.2BSD        0     0     0 
  b:  1024000 186410897      swap                    
  c: 50122800 184313745    unused        0     0         # "raw" part, don't edit
  d: 47001648 187434897    4.2BSD        0     0     0 


=======
Desired label
=======
# /dev/ad0s2:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  2097152 143364060    4.2BSD        0     0     0 
  b:  1024000 145461212      swap                    
  c: 91056420 143364060    unused        0     0         # "raw" part, don't edit
  d: 87935268 146485212    4.2BSD        0     0     0 

=======
Errors and such I get trying to read the label.
=======
# /dev/ad0s2:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  2097152 184313745    4.2BSD        0     0     0 
  b:  1024000 186410897      swap                    
  c: 50122800 184313745    unused        0     0         # "raw" part, don't edit
  d: 47001648 187434897    4.2BSD        0     0     0 
partition a: offset past end of unit
partition a: partition extends past end of unit
partition b: offset past end of unit
partition b: partition extends past end of unit
partition c: offset past end of unit
partition c: partition extends past end of unit
disklabel: partition c doesn't start at 0!
disklabel: partition c doesn't cover the whole unit!
disklabel: An incorrect partition c may cause problems for standard system utilities
partition d: offset past end of unit
partition d: partition extends past end of unit