<div dir="ltr"><div><div>what the!!!<br><br></div>I guess I'm in the minority to suggest to a bunch of techs to have LESS moving parts rather than more.<br><br></div>David<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Nov 21, 2013 at 3:27 PM, Lennart Sorensen <span dir="ltr"><<a href="mailto:lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys@public.gmane.org" target="_blank">lsorense@csclub.uwaterloo.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Thu, Nov 21, 2013 at 10:06:51AM -0500, Dave Cramer wrote:<br>
> I want to resize my root partition. This is on a vm so I have the file and<br>
> can play with it.<br>
><br>
> as I understand it I want to use fdisk to delete then create the partition.<br>
><br>
> It currently starts at 1, but fdisk insists on using 2048 as the end. Is<br>
> there a way to simply edit the end in the partition table ?<br>
<br>
</div></div>I would use gparted.<br>
<br>
Changes the partition table and filesystems all at the same time for you.<br>
<br>
If you enable partition support on loop mount, then you can do this:<br>
<br>
modprobe -r loop (Unload loop module)<br>
modprobe loop max_part=16 (Load loop module with partition support)<br>
losetup /dev/loop0 diskimagefile (connect loop0 to image file, which should then show /dev/loop0p1, etc as partitions on that disk image)<br>
gparted /dev/loop0 (Use gparted to change things)<br>
losetup -d /dev/loop0 (disconnect from loop0)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Len Sorensen<br>
</font></span><div class="HOEnZb"><div class="h5">--<br>
The Toronto Linux Users Group.      Meetings: <a href="http://gtalug.org/" target="_blank">http://gtalug.org/</a><br>
TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>
How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists" target="_blank">http://gtalug.org/wiki/Mailing_lists</a><br>
</div></div></blockquote></div><br></div>