<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I googled here and there and found a post of the exact same issue
and here's the resolution. I actually considered this after booting
the gparted cd and seeing I could try it but it would have been
conjecture otherwise on my part. Does this look reasonable rather
than deleting and recreating the swap partition?<br>
<br>
<i>"Ok, So I got it figured out. Here's the screenshot anyway and
I'll tell you what I did in case anyone else runs into a similar
issue.<br>
<br>
The issue was that I couldn't move the swap (/dev/sda5) partition
to the end of the drive in order to expand the /dev/sda1
partition. The reason the swap partition could not be moved was
because it resides inside an extended partition /dev/sda2. The
solution was a 4 step process. <br>
<br>
1. Expand the /dev/sda2 extended partition to the end of the
drive.<br>
2. Move the /dev/sda5 swap partition to the end of the (now
larger) /dev/sda2 extended partition.<br>
3. Shrink the /dev/sda2 extended partition back down to just the
size of the /dev/sda5 swap partition.<br>
4. Extend the /dev/sda1 ext3 partition to the end of the
unallocated space."<br>
</i>
<br>
<br>
On 08/17/2011 05:22 PM, BrianO'Keefe wrote:
<blockquote cite="mid:4E4C4D51.4070500@cybermesa.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
I'll plan on going to the meeting for sure. And to answer Scott, I
have used the gparted live cd but Jason is right and sdc5 is in
the way. I realize that deleting and recreating is potentially
very easy but part of the instructions are vague to me and me
screwing up is potentially there too!<br>
<br>
Brian<br>
<br>
On 08/17/2011 02:28 PM, Jason Schaefer wrote:
<blockquote
cite="mid:CAN4PO6ygmFfYFvYaWDn9hUZ5aBobRzPg6qqe+2pMiGvzS+xw8Q@mail.gmail.com"
type="cite">You won't be able to move sdc1 if sdc5 is in the
way. Swap has no actual data on it. The safest and easiest thing
is to delete it and re-create it. You should go to the meeting
tomorrow! I might not be there as I leave for Denver the next
morning.. maybe someone else out there wants to show up and help
brian?<br>
<br>
<br>
<div class="gmail_quote">On Wed, Aug 17, 2011 at 1:37 PM,
BrianO'Keefe <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:okeefe@cybermesa.com">okeefe@cybermesa.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;">
<div bgcolor="#ffffff" text="#000000"> Sorry for the double
post but I've poked around a bit more. It looks like I
could expand sdc2 into the unallocated space and then move
sdc5 to the right and then shrink sdc2 to free up space
next to sdc1? If I can do this all graphically I'll give
it a shot. I really appreciate the help and I should know
how to do this by now.<br>
<br>
Brian
<div>
<div class="h5"><br>
<br>
On 08/17/2011 01:27 PM, BrianO'Keefe wrote:
<blockquote type="cite"> Thanks Jason but this is
probably more than I have confidence for doing. Is
there a meeting tomorrow night? I can bring the
laptop and drive and watch an expert show me how
it's done! I have a vague memory of doing something
like this for another external drive to gain the
unallocated space and I didn't delete any partitions
but eventually could move them and resize (which is
about my skill level, unfortunately).<br>
<br>
Brian<br>
<br>
On 08/17/2011 01:18 PM, Jason Schaefer wrote:
<blockquote type="cite">Brian<br>
Go ahead and delete that swap partition at
/dev/sdc5 then move the sdc1 over and recreate
swap at the end of the disk you can create it at
sdc5 again, so that you won't need to change your
/etc/fstab. Unless its using uuid's.. you might
just double check your fstab when you boot up.
Also you will need to "swapon -a" after you get
fstab all sorted.<br>
Jason<br>
<br>
<div class="gmail_quote">On Wed, Aug 17, 2011 at
12:47 PM, BrianO'Keefe <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:okeefe@cybermesa.com"
target="_blank">okeefe@cybermesa.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204,
204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;">
<div bgcolor="#ffffff" text="#000000"> Hi all,<br>
<br>
I finally got around to cloning my hd to a
larger drive and it seems to have worked
just fine. Now I want to resize the
partition into the unallocated space and
that I can't figure out. I obviously need to
move /dev/sdc2 to the right and then expand
/de/sdc1 into the freed space. I can't move
/sdc2 though. do I need to format the
unallocated space first? <br>
<br>
Many thanks<br>
<br>
Brian<br>
<br>
Here's the disk in GParted:<br>
<img moz-do-not-send="true" src="" alt=""><br>
</div>
<br>
_______________________________________________<br>
nmglug mailing list<br>
<a moz-do-not-send="true"
href="mailto:nmglug@lists.nmglug.org"
target="_blank">nmglug@lists.nmglug.org</a><br>
<a moz-do-not-send="true"
href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org"
target="_blank">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a><br>
<br>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
nmglug mailing list
<a moz-do-not-send="true" href="mailto:nmglug@lists.nmglug.org" target="_blank">nmglug@lists.nmglug.org</a>
<a moz-do-not-send="true" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org" target="_blank">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
</pre>
</blockquote>
<pre><fieldset></fieldset>
_______________________________________________
nmglug mailing list
<a moz-do-not-send="true" href="mailto:nmglug@lists.nmglug.org" target="_blank">nmglug@lists.nmglug.org</a>
<a moz-do-not-send="true" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org" target="_blank">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
</pre>
</blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
nmglug mailing list<br>
<a moz-do-not-send="true"
href="mailto:nmglug@lists.nmglug.org">nmglug@lists.nmglug.org</a><br>
<a moz-do-not-send="true"
href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org"
target="_blank">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a><br>
<br>
</blockquote>
</div>
<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
nmglug mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org">nmglug@lists.nmglug.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
</pre>
</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
</pre>
</blockquote>
</body>
</html>