[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disk space / installation questions w/ 3.5



 >What fdisk says is not terribly important--it probably just means
 >that the BIOS lies about the true size of the disk.  What *does*
 >matter is what disklabel thinks.  If you find that in the label
 >editor you still only have half the space you should you can use
 >the bounds (b) command to tell it to use the entire disk.

I have noticed a similar issue when installing 3.4 on certain Mac G4 
ppc's.  I am using the entire disk for OpenBSD with a MBR on a DOS 
partition created by the install program.  When I have fdisk print out 
the current partition table it shows the BSD partition only taking up 
about 8 gigs of the disk (in this case 8G of 25G.)  The geometry layout 
above shows the entire disk in sectors.

fdisk: 1> print
Disk:wd0		geometry: 16383/16/63 [53464320 Sectors]
Offset: 0		Signature: 0xAA55
		 Starting		 Ending		  LBA Info:
  #: id		C  H  S -    C  H  S [       start:		size   ]
-----------------------------------------------------------------------
*0: 06      0  0  2 -    2  0 33           [      1:        2048 ] DOS 
 > 32MB
  1: 00      0  0  0 -    0  0  0             [      0:           0 ] 
unused
  2: 00      0  0  0 -    0  0  0             [      0:           0 ] 
unused
  3: A6     3  0  1 - 16382 15 63  [  3024:      16511040 ] OpenBSD

Could someone verify that I am interpreting  this in the correct way:  
The 53464320 Sectors would span the entire disk but according to the 
table only 16511040 plus 3024 are accounted for.  Also, I'm not sure 
what happened to the sectors from 2048 to 3024??

In an attempt to use more of the disk, I edited the size of the OpenBSD 
partition and changed it from 16511040 to   53461296 ( or 53464320 - 
3024.)

This seems to work, the rest of  the install went fine but I'm 
wondering if this is a good way to deal with this or just a hack job 
that may cause breakage.

Thanks

-Brad