Menu

Clone SWAP partition

Help
JB Ray
2010-05-21
2013-04-05
  • JB Ray

    JB Ray - 2010-05-21

    I'm attempting to create an exact clone of a hard drive to another hard drive, so that if one fails I can just plug the other one in and go.  The system is Red Hat 9 (yeah I know it's an antique, but…) and the boot and / partitions are perfect, but when I boot the cloned disk I always get an error when the init script tries to run swapon, that the partition /dev/hda3 does not exist.  I've tried going into expert mode in CloneZilla and turning off the nfts partition option, but the problem remains.  I don't care if I actually have to copy the SWAP partition, I know that there's no real data there, but even if it took the time to copy the partition exactly, that's fine as long as my SWAP partition is there in the end.  Any ideas?

     
  • Steven Shiau

    Steven Shiau - 2010-05-22

    No idea why Clonezilla does not use "mkswap" to create the swap partition for you. However, you can manually create that by
    mkswap /dev/hda3

    Steven.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.