[clug] cfdisk

Algis Kabaila akabaila at pcug.org.au
Wed Jun 27 22:13:15 GMT 2007


Stephen,

Thank you again for your email.

On Wednesday 27 June 2007 20:04, Stephen Rothwell wrote:
> On Wed, 27 Jun 2007 19:18:13 +1000 Algis Kabaila <akabaila at pcug.org.au> 
wrote:
> > I have "succeeded" in  causing serious software damage to my 250 GB drive
> > and need to restore partitions, if possible. Unfortunately, cfdisk as
> > well as parted require partition sizes in MBytes.  So the relation of the
> > no of sectors and size in bytes is not just a sporting exercise.
>
> In cfdisk, you can change the units that things are specified in.

AFAICS, cfdisk uses decimal mbytes, so that 1 sector = 0.000512 mb.  That 
makes the specification of partition size fairly straight forward, even in mb 
units.

Thanks again,

Al.

-- 
Algis Kabaila (Dr)
http://akabaila.pcug.org.au/StructuralAnalysis/


More information about the linux mailing list