nkpatcher HD allocation address convertions

Talk about anything related to Gentoox or Gentoo.
Post Reply
dvanbrunt
Newbie
Posts: 8
Joined: Sat Mar 12, 2005 8:52 pm

nkpatcher HD allocation address convertions

Post by dvanbrunt » Sat Mar 19, 2005 4:42 pm

I was reading the forum topic: viewtopic.php?t=2630

I'm curious as to if anyone knows how to get the desired # for the maximum allocation address of F

Eg. He said he made his 120GB cut down to 0x0d59e6e0 (~110GB).
How do you get the convertion from 110 GB to the hex number 0x0d59e6e0

I want to know the process so I can convert my 80GB HD F to only be 60GB.

Anyone?

Dan

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Wed Mar 23, 2005 2:28 pm

there are 512bytes in a block, 1000000000 bytes in a harddrive Gigabyte.

110 x 1000000000 / 512

214843750

in hex

CCE4166

Easiest way to transfer between decimal and hex is with the windows calculator. If you want to do it by hand

Code: Select all

214843750 / 16 = 13427734 r6
13427734 / 16  = 839233   r6
839233 / 16    = 52452    r1
52452 / 16     = 3278     r4
3278 / 16      = 204      r14
204 / 16       = 12       r12
12 / 16        = 0        r12
substitute A for 10, B for 11, C for 12 etc. and read the remainders from bottom to top gives CCE4166
If you keep an open mind, will your brain fall out?

dvanbrunt
Newbie
Posts: 8
Joined: Sat Mar 12, 2005 8:52 pm

BIG help

Post by dvanbrunt » Wed Mar 23, 2005 5:35 pm

Thanks nobspangle,

I knew that this wasn't voodoo.
:D

Dan

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests