You are not logged in.

#1 2008-07-14 02:18:00

PrimoTurbo
Member
Registered: 2008-06-26
Posts: 109
Website

Possible to resize a ext2/ext3 partition?

Is it possible to resize a ext2 or ext3 partition, doesn't seem like gparted, qtparted or partion magic have an option to do so. I'm trying to resize a ubuntu ext3 partition, so I can put arch linux on my system.

Also is it possible to use the same swap partition for different linux distros?

Offline

#2 2008-07-14 02:30:26

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Possible to resize a ext2/ext3 partition?

You can shrink partitions which will leave some unallocated space, but you need to have some unallocated space already next to any partition that you want to make larger.


oz

Offline

#3 2008-07-14 02:36:21

freakcode
Member
From: São Paulo - Brazil
Registered: 2007-11-03
Posts: 410
Website

Re: Possible to resize a ext2/ext3 partition?

I'm not sure, but I guess you can only resize logical volumes (like extendend partitions, LVM, etc...).

Offline

#4 2008-07-14 02:39:12

somedrew
Member
From: Canada
Registered: 2007-05-14
Posts: 140

Re: Possible to resize a ext2/ext3 partition?

The issue with resizing ext3 filesystems is the journal. Easiest way to do it would probably be with 'resize2fs'. Note that resize2fs does not manipulate partitions, so you'll need to do that separately (e.g. with fdisk). Another way would be to temporarily disable the journal

tune2fs -O^has_journal <device>

so you can manipulate the (unmounted!) filesystem and partitions as needed and enable the journal once again when everything is sorted out

tune2fs -j <device>

.

PrimoTurbo wrote:

Also is it possible to use the same swap partition for different linux distros?

Yup.

cheers,

Last edited by somedrew (2008-07-14 02:41:06)

Offline

#5 2008-07-14 06:51:56

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: Possible to resize a ext2/ext3 partition?

You can resize ext2 and ext3 with gparted, just like you would resize any other partition.

Offline

#6 2008-07-14 19:16:25

Zepp
Member
From: Ontario, Canada
Registered: 2006-03-25
Posts: 334
Website

Re: Possible to resize a ext2/ext3 partition?

Ya resizing ext2/3 isn't that difficult, unless you want to expand a partition below that one "upward".

Offline

#7 2008-07-14 22:25:00

muunleit
Member
From: Germany
Registered: 2008-02-23
Posts: 234

Re: Possible to resize a ext2/ext3 partition?

If it's a partition you cannot unmount while your System is running, you can download and boot from the "System-Rescue-CD", it includes gparted.

I had no problems to move and resize my swap and ext3 partitions with it.


"The mind can make a heaven out of hell or a hell out of heaven" -- John Milton

Offline

#8 2008-09-02 01:45:50

schmoemi
Member
From: Gersthofen, BY, Germany
Registered: 2004-10-17
Posts: 51
Website

Re: Possible to resize a ext2/ext3 partition?

muunleit wrote:

If it's a partition you cannot unmount while your System is running, you can download and boot from the "System-Rescue-CD", it includes gparted.

I had no problems to move and resize my swap and ext3 partitions with it.

You can also use any Linux-Live-CD that ships with gparted, e.g. KNOPPIX....


The time when Microsoft starts making something that doesn't suck will be when they start making vacuum cleaners.

Offline

#9 2008-09-03 00:58:08

freakcode
Member
From: São Paulo - Brazil
Registered: 2007-11-03
Posts: 410
Website

Re: Possible to resize a ext2/ext3 partition?

*Poke*
OMG... we need a Wiki page for this. There are valuable tips here.

Offline

#10 2010-07-27 11:27:46

Aonox
Member
Registered: 2010-07-26
Posts: 7

Re: Possible to resize a ext2/ext3 partition?

Okay so usually when I install Arch linux I have everything except /boot in the root partition, and I just realized, while installing software that my root is only 7 gigs and my home is 200, i need to make my root 200 and my home part of the root, is this possible to change without having issues? Should I have not picked this thread to ask this question? Im a noob, but I learn fast big_smile

Offline

#11 2010-07-27 13:28:13

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Possible to resize a ext2/ext3 partition?

This thread is quite old, and in this case it would have been more appropriate to start a new thread. See http://wiki.archlinux.org/index.php/For … Bumping.27

Thanks, and welcome to Arch.
Closing.

Offline

Board footer

Powered by FluxBB