summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/2012-July/008296.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/2012-July/008296.html')
-rw-r--r--zarb-ml/mageia-discuss/2012-July/008296.html133
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 &#233;crit :
+&gt;<i> Pascal Terjan wrote:
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;&gt;<i> On Fri, Jul 6, 2012 at 8:37 AM, blind Pete
+</I>&gt;&gt;<i> &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">0123peter at gmail.com</A>&gt; wrote:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> David W. Hodgins wrote:
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> On Thu, 05 Jul 2012 05:10:30 -0400, blind Pete
+</I>&gt;&gt;&gt;&gt;<i> &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">0123peter at gmail.com</A>&gt; wrote:
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> Cfdisk is very unhappy about something.
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> FATAL ERROR: Bad primary partition 3: Partition begins after
+</I>&gt;&gt;&gt;&gt;&gt;<i> end-of-disk Press any key to exit cfdisk
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> It looks like cfdisk's error message is wrong. Partition 3 is mounted
+</I>&gt;&gt;&gt;&gt;&gt;<i> and in use.
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> Disk /dev/sda: 121601 cylinders, 255 heads, 63 sectors/track
+</I>&gt;&gt;&gt;&gt;&gt;<i> Warning: extended partition does not start at a cylinder boundary.
+</I>&gt;&gt;&gt;&gt;&gt;<i> DOS and Linux will interpret the contents differently.
+</I>&gt;&gt;&gt;&gt;&gt;<i> Units = sectors of 512 bytes, counting from 0
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> 121601x255x63=1953520065
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> CHS has not been reliable since zones were introduced decades ago.
+</I>&gt;&gt;&gt;<i> They are just a general hint that it is a big drive. LBA or
+</I>&gt;&gt;&gt;<i> sector number is all that matters. What happens inside the HDD
+</I>&gt;&gt;&gt;<i> case is an unknowable mystery.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;<i> But cfdisk is still based on CHS (or was few years ago).
+</I>&gt;&gt;<i>
+</I>&gt;<i> Ancient history:
+</I>&gt;<i>
+</I>&gt;<i> Before the introduction of the ATA hard drive standard, in about 1990,
+</I>&gt;<i> the normal way to address a sector was with a CHS tuple. With ATA
+</I>&gt;<i> zone formatting became standard practice. There are fewer sectors in
+</I>&gt;<i> a cylinder near the spindle than in a cylinder near the rim. The
+</I>&gt;<i> Integrated Drive Electronics then &quot;translated&quot; the hidden real, but
+</I>&gt;<i> variable, geometry into a pretend geometry with a constant number of
+</I>&gt;<i> sectors per cylinder, so that existing operating systems like DOS and
+</I>&gt;<i> possibly BIOSes would not fail miserably by being told that 1,1,20
+</I>&gt;<i> does not exist, but 20,1,30 is fine.
+</I>&gt;<i>
+</I>&gt;<i> Aligning things with physical cylinders was sometimes a good idea, but
+</I>&gt;<i> now that information is hidden inside the drive. Aligning things with
+</I>&gt;<i> pretend cylinders is pointless, because they probably don't correspond
+</I>&gt;<i> to physical cylinders.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;&gt;<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>&gt;&gt;<i> that 2.18 (the one in mageia 1) expected the size of the device to be
+</I>&gt;&gt;<i> a multiple of the cylinder size.
+</I>&gt;&gt;<i>
+</I>&gt;<i> There was a bug in cfdisk two years ago. It seems to have been fixed.
+</I>&gt;<i> Mageia 2's cfdisk does not complain about my hard drive.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;&gt;&gt;<i> Even if partition four were past the end of the disk it would not
+</I>&gt;&gt;&gt;<i> excuse cfdisk for complaining about partition three.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;<i> Yes I don't know why it complains about 3 and not 4
+</I>&gt;&gt;<i>
+</I>&gt;<i> The old version does some invalid maths - and gets the wrong answer.
+</I>&gt;<i>
+</I>Just a wild guess, but maybe cfdisk is using base 0 in the error message ?
+i.e., starting with &quot;partition 0&quot; for the first partition, and saying
+&quot;partition 3&quot; for the 4th
+
+--
+Andr&#233;
+
+</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>