Gentoo Archives: gentoo-user

From: Masood Ahmed <masood.ahmed09@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Resizing ext3 Partition
Date: Mon, 04 May 2009 13:49:55
Message-Id: 8763gh3rlk.fsf@gentoo.voidsolutions
In Reply to: [gentoo-user] Resizing ext3 Partition by Marco
1 Marco <listworks@×××××.com> writes:
2
3 > Hi all,
4 >
5 > I am new to gentoo and so far I really like it. But now, I am running
6 > out of disk space on my root partition (10 GB), although I have a
7 > rather small system with fluxbox (no KDE, GNOME,...). Thought gentoo
8 > would not waste my resources that much. Now I am thinking about how to
9 > resize my ext3 partitions. Bellow is the output of fdisk:
10 >
11 > fdisk -l
12 >
13 > Disk /dev/sda: 160.0 GB, 160041885696 bytes
14 > 255 heads, 63 sectors/track, 19457 cylinders
15 > Units = cylinders of 16065 * 512 = 8225280 bytes
16 > Disk identifier: 0xbbc58b91
17 >
18 > Device Boot Start End Blocks Id System
19 > /dev/sda1 1 893 7168000 1c Hidden W95 FAT32 (LBA)
20 > Partition 1 does not end on cylinder boundary.
21 > /dev/sda2 * 893 5968 40765440 7 HPFS/NTFS
22 > /dev/sda3 10622 19458 70975488 f W95 Ext'd (LBA)
23 > /dev/sda5 10622 13575 23719972 7 HPFS/NTFS
24 > /dev/sda6 13575 13581 54819 83 Linux
25 > /dev/sda7 13582 13831 2008093+ 82 Linux swap / Solaris
26 > /dev/sda8 13832 15077 10008463+ 83 Linux
27 > /dev/sda9 15078 19458 35182990 83 Linux
28 >
29 > sda8 is my root partition and sda9 is my home partition where there is
30 > plenty of space. Is there any safe way to resize with Linux tools? The
31 > descriptions found on google did not help me a lot...
32
33 Try this article:
34
35 http://www.howtoforge.com/linux_resizing_ext3_partitions
36
37 Regards,
38 Masood Ahmed
39
40 --
41 Chaos is King and Magic is loose in the world.