<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.hermann-uwe.de" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Uwe Hermann - Resizing ext3 partitions with parted - Comments</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted</link>
 <description>Comments for &quot;Resizing ext3 partitions with parted&quot;</description>
 <language>en</language>
<item>
 <title>ext2 IFS can work, BUT</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-79215</link>
 <description>&lt;p&gt;ext2 IFS can work, BUT ext2fsd is better &lt;/p&gt;
&lt;p&gt;2 reasons, &lt;/p&gt;
&lt;p&gt;1) more options than ext2IFS,&lt;br /&gt;
2) its open source&lt;/p&gt;
&lt;p&gt;hope it helps,&lt;br /&gt;
supermorph&lt;/p&gt;
</description>
 <pubDate>Sat, 19 Dec 2009 01:22:39 +0100</pubDate>
 <dc:creator>supermorph</dc:creator>
 <guid isPermaLink="false">comment 79215 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>holy shmoly it actually worked</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-50608</link>
 <description>&lt;p&gt;Much like Giulio, and probably others, I had to resize an ext3 VM partition (vm running on ESX), which had been created in the standard way:&lt;br /&gt;
/dev/sda1 was the / ext3 partition,&lt;br /&gt;
/dev/sda2 extended&lt;br /&gt;
/dev/sda5 swap&lt;/p&gt;
&lt;p&gt;I just followed the same steps - expand the vm disk, boot knoppix, remove journaling, delete the extended and swap partitions. expand the ext2 partition, recreate the extended/swap partitions, add journaling to sda1, and reboot.&lt;/p&gt;
&lt;p&gt;I was actually kind of surprised when the machine booted and worked correctly on the first try. Alright!&lt;/p&gt;
</description>
 <pubDate>Thu, 21 Feb 2008 18:24:40 +0100</pubDate>
 <dc:creator>Chris Hiestand</dc:creator>
 <guid isPermaLink="false">comment 50608 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Resize Ext3 Partitions</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-50400</link>
 <description>&lt;p&gt;The function tune2fs appears to work perfectly. &lt;/p&gt;
&lt;p&gt;#tune2fs -O^has_journal /dev/hdaN&lt;br /&gt;
Do whatever...&lt;/p&gt;
&lt;p&gt;#tune2fs -j /dev/hdaN&lt;/p&gt;
</description>
 <pubDate>Sat, 09 Feb 2008 08:20:44 +0100</pubDate>
 <dc:creator>kks</dc:creator>
 <guid isPermaLink="false">comment 50400 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Resizing ext3 partitions with parted</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-50399</link>
 <description>&lt;p&gt;I followed the following on my Debian 4.0 box to remove the idle ext3 /dev/hda3 and add it to /dev/hda2. Booting using Knoppix3.9 and making sure partitions are not mounted&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
$su&lt;br /&gt;
#fsck /dev/hda2&lt;br /&gt;
#fsck /dev/hda3&lt;br /&gt;
#tune2fs -O^has_journal /dev/hda2&lt;br /&gt;
#parted&lt;br /&gt;
...&lt;br /&gt;
(parted)rm 3&lt;br /&gt;
(parted)resize 2 1217 3648&lt;br /&gt;
error: File system has incompatible feature enabled.&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
I am unable to understand the error.  Please comment. Thanks.&lt;/p&gt;
</description>
 <pubDate>Sat, 09 Feb 2008 08:14:20 +0100</pubDate>
 <dc:creator>kks</dc:creator>
 <guid isPermaLink="false">comment 50399 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>resizing ext3 partitions</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-49508</link>
 <description>&lt;p&gt;http://www.howtoforge.com/linux_resizing_ext3_partitions&lt;/p&gt;
&lt;p&gt;if something goes wrong with gparted (it often does) just try to follow in which step you are and continue manually&lt;/p&gt;
</description>
 <pubDate>Mon, 12 Nov 2007 10:21:33 +0100</pubDate>
 <dc:creator>Raul</dc:creator>
 <guid isPermaLink="false">comment 49508 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>gparted</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-49077</link>
 <description>&lt;p&gt;Nice, thanks for reporting!&lt;/p&gt;
&lt;p&gt;Uwe.&lt;/p&gt;
</description>
 <pubDate>Thu, 09 Aug 2007 23:47:51 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 49077 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>gparted is awesome!</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-49076</link>
 <description>&lt;p&gt;After spending 2 days trying to resize a ext3 partition under vmware esx, I ran across your comment.  &lt;/p&gt;
&lt;p&gt;We don&#039;t have VirtualCenter, and thus can&#039;t get the licensed version of VMWare Converter, which means we can&#039;t use that product to increase the size of the drives during a copy.  So, I then tried all the partition managment tools that come on Hiren&#039;s boot CD 9.2.  None of them could do it, including partition magic 8.xx.&lt;/p&gt;
&lt;p&gt;Thanks to your comment about GParted, I hunted it down, grabbed the GParted+Clonezilla live CD, and, after having to change from an LSI type SCSI controller to a Bus Logic type SCSI controller on a test vmware guest OS box, added the hard drive image to resize to that virtual machine, booted up the live CD, and within 15 minutes the expansion of the ext3 partition was complete.&lt;/p&gt;
&lt;p&gt;GParted rocks!  Link: &lt;a href&gt;http://gparted.sourceforge.net/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Scott&lt;/p&gt;
</description>
 <pubDate>Thu, 09 Aug 2007 22:48:26 +0200</pubDate>
 <dc:creator>5mi11er</dc:creator>
 <guid isPermaLink="false">comment 49076 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Its worth mentioning that to</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-48897</link>
 <description>&lt;p&gt;Its worth mentioning that to boot knoppix without mounting your Hard drive, you should type : &quot;knoppix nofstab&quot; at the boot prompt.&lt;/p&gt;
</description>
 <pubDate>Thu, 26 Jul 2007 15:59:38 +0200</pubDate>
 <dc:creator>surlyjake</dc:creator>
 <guid isPermaLink="false">comment 48897 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Accessing Debian Ext2/3 Volumes from XP Dual Boot System</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-42931</link>
 <description>&lt;p&gt;On my dual boot boxes (Windows XP and Debian Unstable)&lt;br /&gt;
could you suggest a driver, useable&lt;br /&gt;
from XP which I can use to read&lt;br /&gt;
my Debian Volumes from within XP?&lt;/p&gt;
&lt;p&gt;I am forced to keep XP on some boxes for&lt;br /&gt;
contract work though almost everything&lt;br /&gt;
I do is now done in Debian.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
Jimserac&lt;/p&gt;
</description>
 <pubDate>Tue, 24 Apr 2007 15:19:19 +0200</pubDate>
 <dc:creator>James Pannozzi</dc:creator>
 <guid isPermaLink="false">comment 42931 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Great! it works for me!</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-42911</link>
 <description>&lt;p&gt;I was running qtParted, parted, but they didn&#039;t work. They said the partition was busy eventhough I booted from a live CD. I&#039;d tried the gparted too, but I thought it was dead because it kept scanning for 10 minutes with no result. After reading your post, I tried it again and was more patience. It worked finally :)&lt;/p&gt;
&lt;p&gt;Thanh&lt;/p&gt;
</description>
 <pubDate>Sat, 21 Apr 2007 06:08:57 +0200</pubDate>
 <dc:creator>ThanhTran</dc:creator>
 <guid isPermaLink="false">comment 42911 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>I have resized my primary</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-40457</link>
 <description>&lt;p&gt;I have resized my primary Ubuntu (Edgy Eft 6.10) partition from 27GB to 5GB and created another 5GB partition at the same time with the included GParted program with no problems noticed as yet.  I had to do it by booting with the LiveCD and running System =&amp;gt; Administration =&amp;gt; Gnome Partition Editor from the CD.&lt;/p&gt;
</description>
 <pubDate>Thu, 07 Dec 2006 14:29:35 +0100</pubDate>
 <dc:creator>xaKira</dc:creator>
 <guid isPermaLink="false">comment 40457 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>gparted</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-36739</link>
 <description>&lt;p&gt;I just resized my ext3 partition with gparted. Very easy. No problems encountered.&lt;/p&gt;
</description>
 <pubDate>Sat, 30 Sep 2006 12:48:39 +0200</pubDate>
 <dc:creator>Heikki</dc:creator>
 <guid isPermaLink="false">comment 36739 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Resize Ext3 Partitions</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-36628</link>
 <description>&lt;p&gt;This issue here is that you cannot resize Ext3 filesystems as they are a journaled filesystem.  Any resizing would play havoc with Inode referrences.  The only way to do this is to:&lt;/p&gt;
&lt;p&gt;1. backup your data on the partition&lt;br /&gt;
2. delete the Ext3 partition&lt;br /&gt;
3. recreate partitions in the empty (deleted) filespace&lt;/p&gt;
</description>
 <pubDate>Thu, 21 Sep 2006 06:07:51 +0200</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 36628 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Resizing ext3 partition</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-2986</link>
 <description>&lt;p&gt;theres this utility called partimage which comes prepackaged with sysrecuecd . this creates a bzip of the data in a partition. so you can create a bzip then do whatever u want with the parition and then unzip using the same partimage into the new partition.&lt;/p&gt;
</description>
 <pubDate>Fri, 30 Dec 2005 03:42:34 +0100</pubDate>
 <dc:creator>Arun Mallikarjunan</dc:creator>
 <guid isPermaLink="false">comment 2986 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>resizing a vmware disk</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comment-2905</link>
 <description>&lt;p&gt;Thanks to your instructions I was able to resize&lt;br /&gt;
a vmware disk and the root partition of a virtual Ubuntu&lt;br /&gt;
running on Fedore3. Here are the steps&lt;br /&gt;
 - resize the vmware disk using the utility &#039;vmware-vdiskmanager&#039;&lt;br /&gt;
   (not described in the various help of vmware, but the man&lt;br /&gt;
    is selfexplaining, with an example)&lt;br /&gt;
 - reboot the virtual machine with knoppix, using option &#039;noswap&#039;:&lt;br /&gt;
   - remove swap partition with qtparted (yes, I could have&lt;br /&gt;
     used directly parted)&lt;br /&gt;
   - resize the root partition following your instructions&lt;br /&gt;
   - added swap partition (again with qtparted - when it works&lt;br /&gt;
     it is confortable...)&lt;br /&gt;
 - rebooted virtual ubuntu and it worked as expected!&lt;br /&gt;
   [obviously, before the operation I have archieved the virtual&lt;br /&gt;
    machine with in a tgz file.&lt;/p&gt;
&lt;p&gt; Thanks again!&lt;/p&gt;
</description>
 <pubDate>Fri, 25 Nov 2005 10:11:22 +0100</pubDate>
 <dc:creator>Giulio</dc:creator>
 <guid isPermaLink="false">comment 2905 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Resizing ext3 partitions with parted</title>
 <link>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted</link>
 <description>&lt;p&gt;A while ago I wanted to enlarge my &lt;code&gt;/home&lt;/code&gt; partition (hda6), as it was getting full. After that partition I had another (unused) one, which I intended to merge with hda6 and thereby increase the amount of free disk space on &lt;code&gt;/home&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Here&#039;s parts of the disk layout:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
    hda6                    Logical   Linux ext3                       30848.00&lt;br /&gt;
    hda7                    Logical   Linux ext3                        8848.00
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;So, merging hda7 into hda6 should be as simple as removing hda7, and then resizing hda6 to swallow up the 8 gig from the former hda7. Basically, that&#039;s how it worked, but I had a few problems. First, at that time is seemed impossible to simply resize ext3 partitions. Neither &lt;a href=&quot;http://sourceforge.net/projects/ext2resize/&quot;&gt;ext2resize&lt;/a&gt;, nor &lt;a href=&quot;http://qtparted.sourceforge.net/&quot;&gt;QtParted&lt;/a&gt;, nor &lt;a href=&quot;http://www.gnu.org/software/parted/&quot;&gt;parted&lt;/a&gt; worked for me for some reasons (maybe that has changed recently).&lt;/p&gt;
&lt;p&gt;After some googling I finally found a way to do it (which I&#039;ll document here, maybe it&#039;ll be helpful for others):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Boot from &lt;a href=&quot;http://www.knoppix.org&quot;&gt;Knoppix&lt;/a&gt;, not mounting any partition&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;fsck&lt;/code&gt; on both, hda6 and hda7 (optional?)&lt;/li&gt;
&lt;li&gt;Remove hda7 (e.g. using &lt;code&gt;cfdisk&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Remove the ext3 journal from hda6 (effectively turning it into an ext2 partition):&lt;br /&gt;
      &lt;code&gt;# tune2fs -O^has_journal /dev/hda6&lt;/code&gt;
  &lt;/li&gt;
&lt;li&gt;Resize hda6 using &lt;code&gt;parted&lt;/code&gt;. The xxxx is the original start of hda6 (you may not change that) and yyyy is the end of the disk:&lt;br /&gt;
      &lt;code&gt;# parted&lt;/code&gt;&lt;br /&gt;
      &lt;code&gt;(parted) resize 6 xxxxx yyyyy&lt;/code&gt;
  &lt;/li&gt;
&lt;li&gt;Enable the ext3 journal again on the now enlarged hda6:&lt;br /&gt;
      &lt;code&gt;tune2fs -j /dev/hda6&lt;/code&gt;
  &lt;/li&gt;
&lt;li&gt;Reboot&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;But this didn&#039;t work from the beginning either &amp;mdash; for some strage reason parted didn&#039;t believe me that the space after hda6 was free. It &lt;em&gt;did&lt;/em&gt; display it as free space, but the &quot;resize&quot; operation complained.&lt;/p&gt;
&lt;p&gt;So what I did was this (instead af the above step 3):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Re-add the hda7 partition using, e.g., &lt;code&gt;cfdisk&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Start &lt;code&gt;parted&lt;/code&gt;, and remove hda7 again &lt;em&gt;from within parted&lt;/em&gt;(!):&lt;br /&gt;
      &lt;code&gt;# parted&lt;/code&gt;&lt;br /&gt;
      &lt;code&gt;(parted) rm 7&lt;/code&gt;
  &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It seems &lt;code&gt;parted&lt;/code&gt; didn&#039;t like the way &lt;code&gt;cfdisk&lt;/code&gt; removed the hda7 partition... very strange...&lt;/p&gt;
</description>
 <comments>http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted#comments</comments>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/530">cfdisk</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/49">debian</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/529">ext2</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/527">ext3</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/528">gnu</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/531">knoppix</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/60">linux</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/524">parted</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/525">partitions</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/526">resize</category>
 <pubDate>Sat, 08 Oct 2005 16:08:34 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">429 at http://www.hermann-uwe.de</guid>
</item>
</channel>
</rss>
