For some reason, Clonezilla (don't know the version # offhand, but just downloaded it a week ago) ignores the Linux swap partition (/dev/sda5 in my case) when performing a disk-disk clone. During the cloning process I see error messages like "/dev/sda5 is an unknown or unsupported partition....skip /dev/sda5 (no file system...)". I use beginner mode menu driven only and get the same result whether or not I choose the option to check source partitions. I have the same issue with images. Linux will boot, but complains about not finding UUID xxx. Using GParted, what should be a swap partions shows up as "unknown"
I know I can probably repair the situation manually after the fact, but I really want to know how to use Clonezilla properly to make sure the swap partition is correctly handled.
I've seen several references in this forum to what appears to be the same issue. From what I gather, Clonezilla is suppose to re-create the swap partition and use the correct UUID.
With the swap partition I have not had any problems with savedisk/restoredisk
besides I had made any changes of the swap partition (formatted, sizes, positions, UUID new)
look for the newUUID in the 'gparted (live)' swap/information
(copy to an other stick: sudo mount /dev/sdc1 /mnt; echo "newUUID" > /mnt/mynewUUID )
sudo su - (as administrator) in your OS
make the swap correction in the file /etc/fstab (e.g. with nano, gedit)
(
Commonly all clonezilla information are in
your savedisk/(saveparts) image:
-blkdev.list # with swap partition
-blkid.list # with UUID=".." (!)
-sda-pt.parted # with Start End Size ..
-sda-pt.parted.compact # with human readable sizes
-sda-pt.sf # with Id=82 (swap) (!)
)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@ken,
Could you please show me your partition table layout by running the follow commands in Clonezilla live command line environment:
1. sudo -i
2. parted -s /dev/sda print (replace /dev/sda with your source disk)
3. blkid
4. cat /proc/partitions
Then post the results of (2) - (4).
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If your disk partition is GPT format, i.e. under uEFI environment, this issue should have been fixed in testing Clonezilla live, i.e.
Clonezilla live 2.4.0-7, 20150330-*.
If you can, please give it a try and let us know the results.
Thanks.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For some reason, Clonezilla (don't know the version # offhand, but just downloaded it a week ago) ignores the Linux swap partition (/dev/sda5 in my case) when performing a disk-disk clone. During the cloning process I see error messages like "/dev/sda5 is an unknown or unsupported partition....skip /dev/sda5 (no file system...)". I use beginner mode menu driven only and get the same result whether or not I choose the option to check source partitions. I have the same issue with images. Linux will boot, but complains about not finding UUID xxx. Using GParted, what should be a swap partions shows up as "unknown"
I know I can probably repair the situation manually after the fact, but I really want to know how to use Clonezilla properly to make sure the swap partition is correctly handled.
I've seen several references in this forum to what appears to be the same issue. From what I gather, Clonezilla is suppose to re-create the swap partition and use the correct UUID.
What am I doing wrong?
http://sourceforge.net/p/clonezilla/discussion/Clonezilla_server_edition/thread/7cd983b5/
http://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/5e670b14/
http://sourceforge.net/p/clonezilla/discussion/Clonezilla_server_edition/thread/b255ea51/
http://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/7767157f/
With the swap partition I have not had any problems with savedisk/restoredisk
besides I had made any changes of the swap partition (formatted, sizes, positions, UUID new)
look for the newUUID in the 'gparted (live)' swap/information
(copy to an other stick: sudo mount /dev/sdc1 /mnt; echo "newUUID" > /mnt/mynewUUID )
sudo su - (as administrator) in your OS
or
use the script from Johan van Dijk (Ubuntu NL)
http://forum.ubuntuusers.de/topic/swap-nicht-mehr-erkannt-einfach-uuid-anpassen/
(
Commonly all clonezilla information are in
your savedisk/(saveparts) image:
-blkdev.list # with swap partition
-blkid.list # with UUID=".." (!)
-sda-pt.parted # with Start End Size ..
-sda-pt.parted.compact # with human readable sizes
-sda-pt.sf # with Id=82 (swap) (!)
)
@ken,
Could you please show me your partition table layout by running the follow commands in Clonezilla live command line environment:
1. sudo -i
2. parted -s /dev/sda print (replace /dev/sda with your source disk)
3. blkid
4. cat /proc/partitions
Then post the results of (2) - (4).
Steven.
If your disk partition is GPT format, i.e. under uEFI environment, this issue should have been fixed in testing Clonezilla live, i.e.
Clonezilla live 2.4.0-7, 20150330-*.
If you can, please give it a try and let us know the results.
Thanks.
Steven.