diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/2012-July/008296.html')
-rw-r--r-- | zarb-ml/mageia-discuss/2012-July/008296.html | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/2012-July/008296.html b/zarb-ml/mageia-discuss/2012-July/008296.html new file mode 100644 index 000000000..ab5ae0db9 --- /dev/null +++ b/zarb-ml/mageia-discuss/2012-July/008296.html @@ -0,0 +1,133 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-discuss] partitioning bug + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20partitioning%20bug&In-Reply-To=%3C5007844E.2010604%40laposte.net%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="008295.html"> + <LINK REL="Next" HREF="008297.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] partitioning bug</H1> + <B>andre999</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20partitioning%20bug&In-Reply-To=%3C5007844E.2010604%40laposte.net%3E" + TITLE="[Mageia-discuss] partitioning bug">andre999mga at laposte.net + </A><BR> + <I>Thu Jul 19 05:51:42 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="008295.html">[Mageia-discuss] partitioning bug +</A></li> + <LI>Next message: <A HREF="008297.html">[Mageia-discuss] partitioning bug +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8296">[ date ]</a> + <a href="thread.html#8296">[ thread ]</a> + <a href="subject.html#8296">[ subject ]</a> + <a href="author.html#8296">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>blind Pete a écrit : +><i> Pascal Terjan wrote: +</I>><i> +</I>><i> +</I>>><i> On Fri, Jul 6, 2012 at 8:37 AM, blind Pete +</I>>><i> <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">0123peter at gmail.com</A>> wrote: +</I>>><i> +</I>>>><i> David W. Hodgins wrote: +</I>>>><i> +</I>>>><i> +</I>>>>><i> On Thu, 05 Jul 2012 05:10:30 -0400, blind Pete +</I>>>>><i> <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">0123peter at gmail.com</A>> wrote: +</I>>>>><i> +</I>>>>><i> +</I>>>>>><i> Cfdisk is very unhappy about something. +</I>>>>>><i> +</I>>>>>><i> FATAL ERROR: Bad primary partition 3: Partition begins after +</I>>>>>><i> end-of-disk Press any key to exit cfdisk +</I>>>>>><i> +</I>>>>>><i> It looks like cfdisk's error message is wrong. Partition 3 is mounted +</I>>>>>><i> and in use. +</I>>>>>><i> +</I>>>>><i> +</I>>>>>><i> Disk /dev/sda: 121601 cylinders, 255 heads, 63 sectors/track +</I>>>>>><i> Warning: extended partition does not start at a cylinder boundary. +</I>>>>>><i> DOS and Linux will interpret the contents differently. +</I>>>>>><i> Units = sectors of 512 bytes, counting from 0 +</I>>>>>><i> +</I>>>>><i> 121601x255x63=1953520065 +</I>>>>><i> +</I>>>><i> CHS has not been reliable since zones were introduced decades ago. +</I>>>><i> They are just a general hint that it is a big drive. LBA or +</I>>>><i> sector number is all that matters. What happens inside the HDD +</I>>>><i> case is an unknowable mystery. +</I>>>><i> +</I>>><i> But cfdisk is still based on CHS (or was few years ago). +</I>>><i> +</I>><i> Ancient history: +</I>><i> +</I>><i> Before the introduction of the ATA hard drive standard, in about 1990, +</I>><i> the normal way to address a sector was with a CHS tuple. With ATA +</I>><i> zone formatting became standard practice. There are fewer sectors in +</I>><i> a cylinder near the spindle than in a cylinder near the rim. The +</I>><i> Integrated Drive Electronics then "translated" the hidden real, but +</I>><i> variable, geometry into a pretend geometry with a constant number of +</I>><i> sectors per cylinder, so that existing operating systems like DOS and +</I>><i> possibly BIOSes would not fail miserably by being told that 1,1,20 +</I>><i> does not exist, but 20,1,30 is fine. +</I>><i> +</I>><i> Aligning things with physical cylinders was sometimes a good idea, but +</I>><i> now that information is hidden inside the drive. Aligning things with +</I>><i> pretend cylinders is pointless, because they probably don't correspond +</I>><i> to physical cylinders. +</I>><i> +</I>><i> +</I>>><i> For example <A HREF="https://bugzilla.redhat.com/show_bug.cgi?id=630340#c1">https://bugzilla.redhat.com/show_bug.cgi?id=630340#c1</A> says +</I>>><i> that 2.18 (the one in mageia 1) expected the size of the device to be +</I>>><i> a multiple of the cylinder size. +</I>>><i> +</I>><i> There was a bug in cfdisk two years ago. It seems to have been fixed. +</I>><i> Mageia 2's cfdisk does not complain about my hard drive. +</I>><i> +</I>><i> +</I>>>><i> Even if partition four were past the end of the disk it would not +</I>>>><i> excuse cfdisk for complaining about partition three. +</I>>>><i> +</I>>><i> Yes I don't know why it complains about 3 and not 4 +</I>>><i> +</I>><i> The old version does some invalid maths - and gets the wrong answer. +</I>><i> +</I>Just a wild guess, but maybe cfdisk is using base 0 in the error message ? +i.e., starting with "partition 0" for the first partition, and saying +"partition 3" for the 4th + +-- +André + +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="008295.html">[Mageia-discuss] partitioning bug +</A></li> + <LI>Next message: <A HREF="008297.html">[Mageia-discuss] partitioning bug +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8296">[ date ]</a> + <a href="thread.html#8296">[ thread ]</a> + <a href="subject.html#8296">[ subject ]</a> + <a href="author.html#8296">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss +mailing list</a><br> +</body></html> |