bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rearranging a (very) crowded hard drive


From: Daniel Lenski
Subject: rearranging a (very) crowded hard drive
Date: Mon, 23 Jan 2006 16:41:01 -0500

Hi,
I am a new user of parted.  I'm trying to rearrange my disk, which is currently
divided into 4 partitions:

Disk geometry for /dev/hda: 0.000-57231.562 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031  19077.187  primary   ext3        boot
2      19077.188  19563.530  primary   linux-swap  
3      19563.530  38648.562  primary   ext3        
4      38648.562  57231.562  primary   ext2        

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1              19G  2.3G   16G  14% /
/dev/hda3              19G   18G  276M  99% /home
/dev/hda4              18G   17G  314M  99% /music

I would like to shrink the root partition down to 10G and increase the size of
the /home partition to 27G using the freed-up space.  However, the parted docs
clearly state that a partition cannot be resized except when keeping the SAME
starting point.

So I thought of using the move command to move the whole /home partition
downward by 9G.  But I've read elsewhere that the move command can only be used
when the source and destination areas are non-overlapping.

Is there any trick I can use to shrink /dev/hda1 and grow /dev/hda2 downward? 
Thanks!!

Dan Lenski
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]