View Single Post
Old 14th July 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
Originally Posted by cravuhaw2C View Post
...how did partition 0 end up with only 27.94 GB (28,609 MB divided by 1024 MB = 27.94 GB) ?
I only have the information you provided above, in your fdisk report.
Quote:
I don't understand how you arrived at 512-byte sectors.
  1. Mass storage (a.k.a. "hard drives") that use fixed block architectures use either 512-byte or 4096-byte sector sizes. The vast majority use 512-byte, as 4096 is actually very new.
  2. You told us your device was 240 GB.
  3. Your report above shows 468,862,128 sectors. Multiplied by 512, that's 240,057,409,536 bytes.
  4. Drive manufactures use "marketing" sizes, which is 1,000 for Kilo, 1,000,000 for Mega, 1,000,000,000 for Giga, etc. None have ever used 1,024 for their math.
Quote:
Am I right to assume you were referring to partition 2 that corresponds to id #2? If yes, shouldn't I start on Cylinder 9118 and not 9119?
Cylinder 9118 is in use by partition #1. It ends in the middle of Cylinder 9118, at Head 40 / Sector 10. Starting at the beginning of Cylinder 9118 would cause an overlay between your two partitions.

Quote:
Using C/H/S method, shouldn't the starting values be 9118 /40 /11?
I recommended starting at a cylinder boundary, as I explained above.
Quote:

If using LBA method, how did you arrive at sector
146496735?
Per your report, each cylinder is 16,605 sectors long. I'd recommended starting at the beginning (Head 0 / Sector 1) of the next available cylinder, 9119.


Quote:
Your job title at OpenBSD should be "official ambassador".
Thank you, but I'm not a member of the Project, I'm just a user. And this site is entirely unofficial.
Reply With Quote