<br><br><div class="gmail_quote">On Fri, Jun 8, 2012 at 4:52 PM, Mina Magdy <span dir="ltr"><<a href="mailto:mina@danacbe.com" target="_blank">mina@danacbe.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
I know this is an old thread but it comes at top result in google search<br>
So here is how I recovered my partitions in simple steps<br>
<br>
step 1<br>
<br>
mina@mainpc ~ $ cat /proc/partitions |grep sda<br>
   8        0  488385527 sda<br>
   8        1   48837568 sda1<br>
   8        2     104422 sda2<br>
   8        3    2072385 sda3<br>
   8        4          1 sda4<br>
   8        5   20971520 sda5<br>
   8        <a href="tel:6%20%20209715200" value="+16209715200">6  209715200</a> sda6<br>
   8        <a href="tel:7%20%20206679833" value="+17206679833">7  206679833</a> sda7<br>
<br>
<br>
step 2<br>
these big number are partitions size in blocks, fdisk uses sectors<br>
in my case a block = 2 sectors<br>
so I started created new partitions using fdisk with<br>
size = (size in partitions file * 2)<br>
for example here is how I re-created my first partition<br>
<br>
<br>
Select (default p): p<br>
Partition number (1-4, default 1):<br>
Using default value 1<br>
First sector (2048-976771054, default 2048):  <== I leave that to default<br>
Using default value 2048<br>
Last sector, +sectors or +size{K,M,G} (2048-976771054, default 976771054):<br>
+97675136<br>
<br>
<br>
in my input +97675136 notice the + at the beginning (very important) also<br>
97675136 = 48837568 * 2 where 48837568 is the number i got from /proc/p..<br>
<br>
when u r done to make sure u did it right, try to make an extra partition<br>
it should say "No free sectors available"<br>
<br>
NOTE:<br>
if you didn't get the "No free sectors available" message that<br>
either mean u  didn't do the steps correctly or<br>
last time you partitioned u didn't make use of your entire HD<br>
<br>
Hope that helps<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></span></blockquote></div><br>Thanks for the update!<br clear="all"><br>-- <br>---Ryan<br><br>