My partition table is as follows: Disk /dev/hda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/hda1 * 1 382 3068383+ b W95 FAT32 /dev/hda2 383 896 4128705 83 Linux /dev/hda3 897 4757 31013482+ f W95 Ext'd (LBA) /dev/hda4 4758 4823 530145 82 Linux swap /dev/hda5 897 2750 14892223+ b W95 FAT32 /dev/hda6 2751 3770 8193118+ b W95 FAT32 /dev/hda7 3771 4280 4096543+ 83 Linux
hda7 is my root partition. As it is clear from the partiton table there is a free space of 4281 to 4757. (It actually was a partition that i deleted) My problem is that i want to merge this free space into hda7 i.e. my root partition. I tried parted but it gives me following error: Error: Filesystem has incompatible feature enabled
After that I tried fdisk and simply increased the cylinders of hda7 from 4280 to 4757. As expected the partition size(cylinders) was increased but not usable space. my question is that how can I format this partition without losing the data on it as well as able to use it completely.
Please HELP............
Regards, Chirag.
boot with a knoppix CD unmount ur hard disk (it mount whole of it by default) and then use resize2fs /dev/hda7 this is called expanding ur partition . u can google for that to learn more abt it. praveen
On 7/4/2004, "Chirag Arjun Bhangale" chirag_bhangale@yahoo.co.in wrote:
My partition table is as follows: Disk /dev/hda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/hda1 * 1 382 3068383+ b W95 FAT32 /dev/hda2 383 896 4128705 83 Linux /dev/hda3 897 4757 31013482+ f W95 Ext'd (LBA) /dev/hda4 4758 4823 530145 82 Linux swap /dev/hda5 897 2750 14892223+ b W95 FAT32 /dev/hda6 2751 3770 8193118+ b W95 FAT32 /dev/hda7 3771 4280 4096543+ 83 Linux
hda7 is my root partition. As it is clear from the partiton table there is a free space of 4281 to 4757. (It actually was a partition that i deleted) My problem is that i want to merge this free space into hda7 i.e. my root partition. I tried parted but it gives me following error: Error: Filesystem has incompatible feature enabled
After that I tried fdisk and simply increased the cylinders of hda7 from 4280 to 4757. As expected the partition size(cylinders) was increased but not usable space. my question is that how can I format this partition without losing the data on it as well as able to use it completely.
Please HELP............
Regards, Chirag.
On Sun, 04 Jul 2004 16:57:06 +0530, Chirag Arjun Bhangale chirag_bhangale@yahoo.co.in wrote:
My partition table is as follows: Disk /dev/hda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/hda1 * 1 382 3068383+ b W95 FAT32 /dev/hda2 383 896 4128705 83 Linux /dev/hda3 897 4757 31013482+ f W95 Ext'd (LBA) /dev/hda4 4758 4823 530145 82 Linux swap /dev/hda5 897 2750 14892223+ b W95 FAT32 /dev/hda6 2751 3770 8193118+ b W95 FAT32 /dev/hda7 3771 4280 4096543+ 83 Linux
hda7 is my root partition. As it is clear from the partiton table there is a free space of 4281 to 4757. (It actually was a partition that i deleted) My problem is that i want to merge this free space into hda7 i.e. my root partition. I tried parted but it gives me following error: Error: Filesystem has incompatible feature enabled
After that I tried fdisk and simply increased the cylinders of hda7 from 4280 to 4757. As expected the partition size(cylinders) was increased but not usable space. my question is that how can I format this partition without losing the data on it as well as able to use it completely.
Please HELP............
Regards, Chirag. -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
Hi
Your u could use either of : -PartitionMagic (I am sure u have reasons for not using it) -resize2fs -qtparted (http://qtparted.sourceforge.net/) - A open source Partition Magic "clone". (Check this out.. really works well :-) http://qtparted.sourceforge.net/images/screenshot-002-a.jpg)
Since u have already resized your partition, all you need to do is resize your file system. resize2fs will do the job.
Regards aj