[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parted malfunctioning on an older disk ? 500Mo limit related ?
From: |
Szakacsits Szabolcs |
Subject: |
Re: parted malfunctioning on an older disk ? 500Mo limit related ? |
Date: |
Thu, 22 Jan 2004 22:15:11 +0100 (MET) |
On Thu, 22 Jan 2004, Sven Luther wrote:
> I need some help with the debian bugreport found at :
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=228870
Somebody should really fix/replace this bug tracking system. It's terrible
obfuscated, unusable. I didn't read it [I don't have the time to look for
usable info in that mess].
> But parted doesn't like it because of :
>
> Using /dev/ide/host0...
> No implementation: Partition 1 isn't aligned to cylinder boundaries.
> Need to add support for this.
> Information: The operating system thinks the geometry on /dev/...
> is 4092/16/63. Therefore, cylinder 1024 ends at 503.999M
See how *fdisk work:
http://lkml.org/lkml/2003/11/30/46
"that is, if the user has specified a geometry on the command line,
then that is what we use; otherwise, if there is a partition
table already and we are able to guess a geometry from that, use that;
otherwise, if the kernel has some idea, use that; finally use */255/63
when no information is available."
For me it make sense and the tools ended up here during a very long
evolution.
So it _seems_ the problem is, parted doesn't try to guess the geometry
from the partition table, just accepts what the kernel says. Bad. But not
knowing parted of course I might be wrong, it's only a first shot guess.
Check the CHS values in the partition table, if you can ...
> This was after having added a two partitions (cyl 1 to 496 and cyl 497
> to end_of_disk) with the debian-installer stuff.
What tool does the partitioning? What is the kernel?
Szaka