Can anyone give some advice on resizing a Linux partition? I know it can be done with simple fdisk, by changing the parameters, but am not sure what will happen. Here is the information:
Device Boot Start End Blocks Id System
/dev/hdc1 1 1020 8193118+ 83 Linux
/dev/hdc2 1021 1542 4192965 6 FAT16
/dev/hdc3 1543 3649 16924477+ 5 Extended
/dev/hdc5 1543 2562 8193118+ 83 Linux
/dev/hdc6 2563 3582 8193118+ 7 HPFS/NTFS
/dev/hdc7 3583 3607 200781 7 HPFS/NTFS
/dev/hdc8 3608 3632 200781 7 HPFS/NTFS
/dev/hdc9 3633 3649 136521 82 Linux swap
I want to change the 8 gig primary Linux to 16 gig, eliminate /hdc5 thereby, and am not sure of the effects on A.) the extended partitioning B.) the NTFS partitions in the extended region.
This look fairly dangerous to me and I'm not sure what the results will be. I could, of course, copy everything except the first Linux partition somewhere else and fdisk the whole thing, if that is the safer way to go. I don't want to lose the Primary Linux partition because too much has been built on it and rebuilding it or reinstalling it could take a year.
The FAT16 and the three NTFS partitions, as well as the second 8 gig Linux partition can be temporarily stored on another disk. I'm also not sure of what will happen if the swap partition is changed, removed and reinstalled or whatever. The one thing that must be preserved is the primary Linux Partition.