[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Verbatim USB 4GB drive crashes parted, with 10 heads, 10 sectors/tra
From: |
Brian C. Lane |
Subject: |
Re: Verbatim USB 4GB drive crashes parted, with 10 heads, 10 sectors/track |
Date: |
Tue, 8 Mar 2011 17:09:55 -0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Mar 08, 2011 at 10:34:20AM -0800, Fred Finster wrote:
> > Here was my git command and the following build commands
> > git clone git://git.debian.org/git/parted/parted.git
>
> After cloning the repository you need to apply the patch from this
> message:
>
> http://lists.gnu.org/archive/html/bug-parted/2011-03/msg00000.html
>
> Then you should have a version that won't throw an assertion.
>
> Thanks,
>
> Brian
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
> Thank you Brian, I now have a patched version of parted that does not
> throw an assertion. Question?, the FDISK output says 10 heads, 10
> sectors/track, 76533 cylinders, Will parted work with these values?
You tell me :) It should, but I don't have any good way to test it.
> Why was the assertion thrown? 10 heads is greater than 0 and less
> than 63 heads. 10 sectors/track seems like a reasonable number.
parted and fdisk guess at the CHS values differently. You can't compare
the 2. The assertion was because parted's guess was outside the allowed
values.
Thanks for your help,
Brian
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
pgpF1rU3cU16I.pgp
Description: PGP signature