Possible to format/create partitions with Clonezilla?
I am wondering if its possible to create/format/resize partitions with clonezilla?
Solution 1:
You can partition and format a drive if you have booted a system with a Clonezilla Live CD/DVD by obtaining a command line prompt, which is one of the menu options you will see after booting from the CD or DVD. Then use fdisk
to partition the drive and mkfs.ext3
to format the drive. E.g., if the drive you wish to partition and format is identified by /dev/sdb
you could obtain a command prompt and issue the fdisk command below to create a new partition on the drive.
sudo fdisk /dev/sdb
You could then partition the drive within fdisk. After partitioning the drive you could format partition 1 on the drive with the ext3 file system with the command below:
sudo mkfs.ext3 /dev/sdb1
Or you could substitute another file system type for ext3, e.g., ext2, ext4, msdos, ntfs, vfat.
E.g., see Partitioning and formatting a disk drive with Clonezilla.
If you wish to resize a drive formatted with the NTFS file system, you can use the ntfsresize command.
When you have finished with the drive changes, you can get back to the Clonezilla menus with sudo clonezilla
Solution 2:
It's not possible with just Clonezilla, but you could use Parted Magic, a live cd that includes, among others, both Clonezilla and the Gparted partition manager.