Centos 7 UUID not updated during imaging - will not boot
@Gerrit-Anderson Can you please run
sfdisk -d /dev/sdaon the master and post output here?
@sebastian-roth Update - This master image was created on a Gen 2 HyperV VM. Not sure if that could be causing an issue…? Seems like if I send the image to any of my HyperV hosts, it works perfect. UUID’s are exactly the same as the master, image boots and operates normally. When I send the image to a desktop is the only time I have this issue.
@sebastian-roth Thank you for the reply. I have the contents of the d1.partitions file below.
label: gpt label-id: 3F338E38-6A09-4FCE-92B1-B465C0ED8E35 device: /dev/sda unit: sectors first-lba: 34 last-lba: 209715166 sector-size: 512 /dev/sda1 : start= 2048, size= 409600, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=3DD480BD-6B22-4812-B5E1-2310A243D7F2, name="EFI System Partition" /dev/sda2 : start= 411648, size= 2097152, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=D8C4A9F7-60A1-4B79-874D-55BE7824CE32 /dev/sda3 : start= 2508800, size= 62914560, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=68E3E8A9-3938-4489-9A05-B2257D5934C6 /dev/sda4 : start= 65423360, size= 16517120, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=36DB8CD8-56C2-4CEF-8652-3640AE9E19AF /dev/sda5 : start= 81940480, size= 127772672, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=F056C997-2D96-4DDF-98D3-5E4BD44C1378
None of the UUID’s listed in this file match the UUID’s of the original image master. I can confirm that once the client gets imaged, it starts to boot CentOS and then goes to the emergency shell stating “/dev/disk/by-uuid/ (uuid here) does not exist” The UUID it shows matches the UUID from /sda5 on my master.
Any help is appreciated!
@Gerrit-Anderson The FOS inits do read the UUID from the source partition table and apply those to the destination system.
Please post the contents of the text file
d1.partitionsfor this particular image. You find that on your FOG server in