Blocks to GB conversion - Raspberry Pi Forums
i've tried looking various calculators online i'm stumped. have 1tb hdd , want set 2gb swap , rest root. enter +998gb ending size of first partition , +2gb swap.
shows /dev/sda1 start 2048, end 1949220797, blocks 97460935
/dev/sda2 1949220798, end 1953127047, blocks 1953125.
did achieve intended size , using of 1tb drive then?
shows /dev/sda1 start 2048, end 1949220797, blocks 97460935
/dev/sda2 1949220798, end 1953127047, blocks 1953125.
did achieve intended size , using of 1tb drive then?
97460935 figure looks wrong me. sure isn't more 1949218750?cyberfantome wrote:currently shows /dev/sda1 start 2048, end 1949220797, blocks 97460935
/dev/sda2 1949220798, end 1953127047, blocks 1953125.
"block" in case 512 bytes. disk contains blocks 0 1953127047, gives 1,000,001,048,064 bytes (about 1tb in decimal).
first partition block 2,048 1,949,220,797, 1,949,218,750 blocks, or 998,000,000,000 bytes (about 998gb in decimal)
second block 1,949,220,798 1,953,127,047, or 2,000,000,000 bytes.
raspberrypi
Comments
Post a Comment