The easiest way to do that (easiest, as in, least amount of work, fewest problems to deal with) would be to make a full backup of hda2 and hda4. Store the backup somewhere else (not in hda2 or hda4), if those partitions contain an operating system you want to keep.
Then use that operating system's installation media to do a minimal installation. Delete hda2, hda3, and hda4. Then make new hda2, hda3, and hda4. Make the minimal installation. Then restore the full backups of hda2 and hda4.
|