How to edit drive cloning options
-
Hi,
I am new to FOG. I have successfully installed FOG and cloned my first image. The problem is I am cloning from a dual boot Windows/Linux computer. FOG cloned the drive Windows was installed on when I really wanted the drive I had Linux installed on to be cloned. I have not been able to figure out how to remedy this.
Advice on how to do this would be appreciated.
Thank you.
-
@Jedi For systems with two disks you can go two different routes:
- Either you set the Image Type to “Multiple Partition Image - All Disks (Not Resizable)” to make FOG capture and deploy both drives.
- Or you can have Image Type set to “Multiple Partition Image - Single Disk (Not Resizable)” or “Single Disk - Resizable” in which case FOG will only capture/deploy from/to one single disk and that is the first one it finds (called
sda
in Linux) by default. Now within the host definition you can set Host Primary Disk to/dev/sdb
to capture and deploy from/to the second disk.
Be aware that you need to set the Host Primary Disk for each host! As well note that the disk identifier does not always have to be
/dev/sdb
as NVMe drives are usually named as/dev/nvme0n1
(first) and/dev/nvme1n1
(second).If you have two NVMe disks then you will likely run into problems because the order in which Linux finds the disks will change on every reboot. We are working on this issue and will release an official fix soon.
-
@Sebastian-Roth This worked, you can mark this as solved. Thank you for your help.