View Single Post
Old 31st January 2012
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 796
Default

Quote:
Originally Posted by gillindu View Post
Well, I'm still failing to see it makes 197179503... never mind.
180458208 + 8721216 - 1 = 189179423

You're right Sorry, I know what happened, I was reading both of the 0 in the first number as an 8 ... my eyes suck.

Quote:
However, I think I've understood I should decrease (in the disklabel table) all their sizes (a, b and h) by 1 sector, so it should be; offset+size+1 = the next offset.
No, don't do this. It's like this:

offset + size = first sector of space AFTER the partition

offside + size - 1 = last sector of the partition

Just think of size=1 as an example in the above and it should make sense I hope.
Reply With Quote