bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unable to align partition


From: Andrew Clausen
Subject: Re: unable to align partition
Date: Thu, 17 May 2001 21:12:59 +1000

Ibraheem Umaru-Mohammed wrote:
> However, this doesn't seem to be working for me. I have just tried to redo 
> everything again, and made notes
> that I have reproduced below:

First: what version of Parted are you using?

> i) Firstly I checked my BIOS settings on startup I found the following:
> 
>         cylinders       heads   sectors size
>         39715   16      63      20498MB
> 
> ii) Then I tried to run parted and got the following on when run with 
> /dev/hda as the command line argument:
> 
>         Warning: The operating system thinks that the geometry on /dev/hda is 
> 2491/255/63.
>         Therefore, cylinder 1024 ends at 8032.499M. You should check that 
> this matches your
>         BIOS geometry before using this program.
> 
> iii) I then ignored the message, and proceeded to run the print command:
> 
>         Disk geometry for /dev/hda: 0.000-19547.214 Megabytes
>         Disk label type: msdos
> 
>         Minor   Start   End     Type    Filesystem      Flags
>         1       23.563  6024.375        primary FAT             boot,lba

Everything is ok up to here ;-)
 
> iv) I then tried to run the resize command as you said. I ran the following 
> command:
> 
>         resize 1 0.000 6024.375
> 
> And got the following warning:
> 
>         Warning: Partition size (12289662 sectors) and filesystem size 
> (19968732 sectors) do not match.
> 
> v) I ignored this message again, and then got the following:
> 
>         Error: Attempt to read sectors 12510996-12511011 outside of partition 
> on /dev/hda

According to Parted:
* your partition is 6gig
* the file system is ~20gig  (i.e. the full disk)

Any ideas what this might be?

BTW: when I say "the file system is 20gig", I mean "the file
system believes it's 20gig".  Perhaps it was originally 20gig,
and the partition was shrunk, BUT NOT THE FILESYSTEM

Andrew Clausen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]