summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/2012-July/008146.html
blob: 51c33465467e46b7febccdf71a0c9ebb14360141 (plain)
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
<!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=%3Cb7hic9-l82.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="008144.html">
   <LINK REL="Next"  HREF="008285.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=%3Cb7hic9-l82.ln1%40psd.motzarella.org%3E"
       TITLE="[Mageia-discuss] partitioning bug">0123peter at gmail.com
       </A><BR>
    <I>Fri Jul  6 09:37:47 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="008144.html">[Mageia-discuss] partitioning bug
</A></li>
        <LI>Next message: <A HREF="008285.html">[Mageia-discuss] partitioning bug
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#8146">[ date ]</a>
              <a href="thread.html#8146">[ thread ]</a>
              <a href="subject.html#8146">[ subject ]</a>
              <a href="author.html#8146">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>David W. Hodgins wrote:

&gt;<i> On Thu, 05 Jul 2012 05:10:30 -0400, blind Pete
</I>&gt;<i> &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">0123peter at gmail.com</A>&gt; wrote:
</I>&gt;<i> 
</I>&gt;&gt;<i> Cfdisk is very unhappy about something.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>     FATAL ERROR: Bad primary partition 3: Partition begins after
</I>&gt;&gt;<i>     end-of-disk Press any key to exit cfdisk
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> It looks like cfdisk's error message is wrong.  Partition 3 is mounted
</I>&gt;&gt;<i> and in use.
</I>&gt;<i> 
</I>&gt;&gt;<i> Disk /dev/sda: 121601 cylinders, 255 heads, 63 sectors/track
</I>&gt;&gt;<i> Warning: extended partition does not start at a cylinder boundary.
</I>&gt;&gt;<i> DOS and Linux will interpret the contents differently.
</I>&gt;&gt;<i> Units = sectors of 512 bytes, counting from 0
</I>&gt;<i> 121601x255x63=1953520065
</I>
CHS has not been reliable since zones were introduced decades ago.  
They are just a general hint that it is a big drive.  LBA or 
sector number is all that matters.  What happens inside the HDD 
case is an unknowable mystery.  

Even if partition four were past the end of the disk it would not 
excuse cfdisk for complaining about partition three.  

&lt;----cut-n-paste----&gt;
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at live</A> ~]# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953523055 sectors
&lt;----cut-n-paste----&gt;

&gt;&gt;<i>    Device Boot    Start       End   #sectors  Id  System
</I>&gt;&gt;<i> /dev/sda1   *        63 577440359  577440297   5  Extended
</I>&gt;&gt;<i> /dev/sda2     577440360 1562899589  985459230  83  Linux
</I>&gt;&gt;<i> /dev/sda3     1562899590 1953520064  390620475  83  Linux
</I>&gt;&gt;<i> /dev/sda4     1953520065 1953523054       2990  83  Linux
</I>&gt;<i> 
</I>&gt;<i> What is in sda4?  
</I>
An ext2 file system, a LiLo map file and a lilo.conf file.  

&gt;<i> It starts one sector past the end of the drive.
</I>
Not according to fdisk, although sfdisk was silent about 
the total number of sectors. 

&gt;<i> Regards, Dave Hodgins
</I>
-- 
blind Pete
Sig goes here...  

</PRE>













<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="008144.html">[Mageia-discuss] partitioning bug
</A></li>
	<LI>Next message: <A HREF="008285.html">[Mageia-discuss] partitioning bug
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#8146">[ date ]</a>
              <a href="thread.html#8146">[ thread ]</a>
              <a href="subject.html#8146">[ subject ]</a>
              <a href="author.html#8146">[ 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>