diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-discuss/2012-July/008295.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-discuss/2012-July/008295.html')
-rw-r--r-- | zarb-ml/mageia-discuss/2012-July/008295.html | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/2012-July/008295.html b/zarb-ml/mageia-discuss/2012-July/008295.html new file mode 100644 index 000000000..cc27f44fd --- /dev/null +++ b/zarb-ml/mageia-discuss/2012-July/008295.html @@ -0,0 +1,121 @@ +<!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=%3C6h5kd9-pr4.ln1%40psd.motzarella.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="008285.html"> + <LINK REL="Next" HREF="008296.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] partitioning bug</H1> + <B>blind Pete</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20partitioning%20bug&In-Reply-To=%3C6h5kd9-pr4.ln1%40psd.motzarella.org%3E" + TITLE="[Mageia-discuss] partitioning bug">0123peter at gmail.com + </A><BR> + <I>Thu Jul 19 03:46:46 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="008285.html">[Mageia-discuss] partitioning bug +</A></li> + <LI>Next message: <A HREF="008296.html">[Mageia-discuss] partitioning bug +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8295">[ date ]</a> + <a href="thread.html#8295">[ thread ]</a> + <a href="subject.html#8295">[ subject ]</a> + <a href="author.html#8295">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Pascal Terjan wrote: + +><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> David W. Hodgins wrote: +</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> 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> 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> 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> +Ancient history: + +Before the introduction of the ATA hard drive standard, in about 1990, +the normal way to address a sector was with a CHS tuple. With ATA +zone formatting became standard practice. There are fewer sectors in +a cylinder near the spindle than in a cylinder near the rim. The +Integrated Drive Electronics then "translated" the hidden real, but +variable, geometry into a pretend geometry with a constant number of +sectors per cylinder, so that existing operating systems like DOS and +possibly BIOSes would not fail miserably by being told that 1,1,20 +does not exist, but 20,1,30 is fine. + +Aligning things with physical cylinders was sometimes a good idea, but +now that information is hidden inside the drive. Aligning things with +pretend cylinders is pointless, because they probably don't correspond +to physical cylinders. + +><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> +There was a bug in cfdisk two years ago. It seems to have been fixed. +Mageia 2's cfdisk does not complain about my hard drive. + +>><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> +The old version does some invalid maths - and gets the wrong answer. + +-- +blind Pete +Sig goes here... + +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="008285.html">[Mageia-discuss] partitioning bug +</A></li> + <LI>Next message: <A HREF="008296.html">[Mageia-discuss] partitioning bug +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8295">[ date ]</a> + <a href="thread.html#8295">[ thread ]</a> + <a href="subject.html#8295">[ subject ]</a> + <a href="author.html#8295">[ 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> |