1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
<!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=%3C4FF7EAF2.7050309%40laposte.net%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008159.html">
<LINK REL="Next" HREF="008161.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=%3C4FF7EAF2.7050309%40laposte.net%3E"
TITLE="[Mageia-discuss] partitioning bug">andre999mga at laposte.net
</A><BR>
<I>Sat Jul 7 09:53:22 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="008159.html">[Mageia-discuss] partitioning bug
</A></li>
<LI>Next message: <A HREF="008161.html">[Mageia-discuss] partitioning bug
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8160">[ date ]</a>
<a href="thread.html#8160">[ thread ]</a>
<a href="subject.html#8160">[ subject ]</a>
<a href="author.html#8160">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>blind Pete a écrit :
><i> David W. Hodgins wrote:
</I>><i>
</I>><i>
</I>>><i> On Fri, 06 Jul 2012 04:03:34 -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> Morgan Leijström wrote:
</I>>>><i>
</I>>>>><i> It would also be interesting to know what other tools say.
</I>>>>><i> gparted?
</I>>>>><i>
</I>>><i>
</I>>>><i> Gparted looks pretty. As far as I can see, gparted agrees
</I>>>><i> with what I think things should look like. Gparted and
</I>>>><i> fdisk agree about the number of sectors. (More than you
</I>>>><i> get by multiplying CxHxS.)
</I>>>><i>
</I>>><i> Interesting. I guess it would be best to use 'hdparm -i /dev/sda|grep
</I>>><i> LBAsects" to find out the number of sectors.
</I>>><i>
</I>>><i> Regards, Dave Hodgins
</I>>><i>
</I>><i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at live</A> ~]# hdparm -i /dev/sda | grep LBA
</I>><i> CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953523055
</I>><i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at live</A> ~]#
</I>><i>
</I>><i> Same number of sectors as gparted and fdisk report. Number of heads
</I>><i> and sectors per cylinder are just, "it's a big disk". _Posssibly_
</I>><i> number of cylinders gives a clue about how big. H can be 63 or 255,
</I>><i> depending on mood, and CxHxS should be a little less than max LBA.
</I>><i>
</I>><i> The situation just got worse. The latest work arround is to lie
</I>><i> about how big a sector is. That is called "advanced" formatting.
</I>><i>
</I>><i>
</I>Coming into this a little late, but I read somewhere that cfdisk was to
avoid, because of unsolved bugs which could result in disk corruption.
That was a while back, but apparently it still applies.
BTW, with all those partitions, I would convert your disk to GPT tables
instead of MBR, using gdisk.
(gdisk is in core.)
It will make your disk more stable.
It uses a 128 partition table,with a backup table at the end of the drive.
No such thing as "extended" partitions.
It takes less space than the ms-compatible MBR partition tables.
The only trick is that you need to leave space for the backup table (34
512-byte sectors).
If you change your mind, you can convert back painlessly.
I've used GPT for over 2 years, including converting back and forth a
few times at first.
To convert, you'll have to boot to a live disk, preferably with gdisk.
I use systemRescueCD for that. <A HREF="http://www.sysresccd.org/">http://www.sysresccd.org/</A>
The latest stable version is 379 Mib, usable from CD or USB key.
I don't know if a Mageia live cd, or Mageia DVD in rescue mode might work.
Just in case you might be interested
Regards :)
--
André
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008159.html">[Mageia-discuss] partitioning bug
</A></li>
<LI>Next message: <A HREF="008161.html">[Mageia-discuss] partitioning bug
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8160">[ date ]</a>
<a href="thread.html#8160">[ thread ]</a>
<a href="subject.html#8160">[ subject ]</a>
<a href="author.html#8160">[ 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>
|