> From: Kushal Koolwal [mailto:kushalkool...@hotmail.com] > Sent: Thursday, October 22, 2009 5:32 PM > > > I am using Debian Lenny on x86 computer installed on my SATA > hard drive - /dev/sda5. > > # cfdisk /dev/sda > ************************************************************** > ***************** > sda1 Boot Primary FAT16 [DOS > ] 2146.80 > sda2 Primary NTFS [] > 10001.95 > sda5 Logical Linux ext3 > 15002.92 > Pri/Log Free Space > 132887.63 > ************************************************************** > ***************** > > I would like to merge all the extra Free Space (132887.63) as > shown above into my current Debian partition (/dev/sda5). > > How can I do that without having to move all the data and > reformatting/re-creating partition. > > Kushal Koolwal
Use fdisk (or similar tool) to change the end cylinder of the partition to the end of the disk. Do not change the start cylinder. Then run "resize2fs /dev/sda5" to grow the filesystem to take up the rest of the space. Oh, of course make sure you have a backup first. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org