Hi guys,
All new to the FOG universe, so please forgive me if I’m all wrong
Objective: Trying to deploy one CentOS8 Golden image to new VM’s on XC-NG and physical machines.
Env:
OS: All CentOS 8 based.
Hyper visor: XCP-NG 8
FOG: 1.5.7.89 (Dev branch due to CentOS
Issue:
The capturing of the image from the golden image VM went fine. However, the capture function seems to see (or being hardcoded) disks as /dev/sda1 and /dev/sda2 instead of the correct /dev/xvda1 and /dev/xvda2.
/images/goldenimage8
-rwxrwxrwx. 1 root root 2 Dec 29 22:55 d1.fixed_size_partitions
-rwxrwxrwx. 1 root root 0 Dec 29 22:55 d1.has_grub
-rwxrwxrwx. 1 root root 1048576 Dec 29 22:55 d1.mbr
-rwxrwxrwx. 1 root root 194 Dec 30 00:32 d1.minimum.partitions
-rwxrwxrwx. 1 root root 17 Dec 30 00:34 d1.original.fstypes
-rwxrwxrwx. 1 root root 0 Dec 29 22:55 d1.original.swapuuids
-rwxrwxrwx. 1 root root 121741198 Dec 29 22:55 d1p1.img
-rwxrwxrwx. 1 root root 74 Dec 29 22:55 d1p2.img
-rwxrwxrwx. 1 root root 194 Dec 30 00:34 d1.partitions
The content of d1.minimum.partitions:
label: dos
label-id: 0x038fb017
device: /dev/**sda**
unit: sectors
/dev/**sda1** : start= 2048, size= 382149, type=83, bootable
/dev/**sda2** : start= 2099200, size= 8386560, type=8e
I have tried to edit the files to point to the correct /dev/ path as a quick fix, but it seems that FOG do not use these files doing the deploying process.
The deployment process gives the following errors: error1.jpg and error3.jpg. error2.jpg is not so much an error, but more a ohh crap, it seems to restore to /dev/sdaX.
How do I fix this - for an normal Windows admin, it seems like some sort of detecting of available disks on the target system is not working as expected, and the system is just defaulting to sda.
Any help would be appreciated
/Jonas