Hello everyone!
Been using Fog for a bit now but decided to create an account to resolve an issue with my setup. So as it stands now, the following processes work without any issues:
- Registering host, assigning image, setting image task = good.
- Quick register in PXE, reboot into NIC, auto-starts imaging = good.
My setup is a small, isolated fog server with one gold image (win 10) that I’m pushing out to dozens of identical machines at a time. They do not need to be registered or managed by fog for my needs.
However, if I try to use the fog.deployimage option in PXE in order to save the extra step of going back into the PXE menu after another reboot, then imaging process goes fine, but I end up with a hard drive that only has 22.34 GB of space (size of the image) rather than the full 500 GB drive.
I’m guessing there’s settings I need to insert into the Parameters or Boot Option area of “fog.deployimage” but I’m having a hard time finding documentation. Here’s what my parameters currently say:
set username foglogin
set password foglogin
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param qihost 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
My “Boot Options” field is blank. Again image process starts and completes, however once I get into the system I have no free disk space as it doesn’t seem to auto-resize the partition. All the other imaging methods do not run into this issue, so I don’t think it’s the image itself.
Thanks to anyone that can help!
EDIT
As requested here are my d1 file settings:
*d1.fixed*
:1:2:1:2
*d1.minimum.partitions*
label: gpt
label-id: 783BF3D4-7584-46CD-BD4F-A6C3A205ADB9
device: /dev/sda
unit: sectors
first-lba: 34
last-lba: 976773134
/dev/sda1 : start= 2048, size= 1331200, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=12A79277-1317-4197-8DD7-C1D35A81446B, name="EFI system partition", attrs="GUID:63"
/dev/sda2 : start= 1333248, size= 262144, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=A37C02AC-BF15-47DA-895B-77BE9310A8D2, name="Microsoft reserved partition", attrs="GUID:63"
/dev/sda3 : start= 1595392, size= 45477692, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=D62B301E-DC7F-4D51-9FC5-86F93D164FF3, name="Basic data partition"
/dev/sda4 : start= 974745600, size= 855524, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=45D30F51-7028-45DC-A645-1AE317B8282C, name="attrs=\x22RequiredPartition GUID:63"
*d1.partitions*
label: gpt
label-id: 783BF3D4-7584-46CD-BD4F-A6C3A205ADB9
device: /dev/sda
unit: sectors
first-lba: 34
last-lba: 976773134
/dev/sda1 : start= 2048, size= 1331200, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=12A79277-1317-4197-8DD7-C1D35A81446B, name="EFI system partition", attrs="GUID:63"
/dev/sda2 : start= 1333248, size= 262144, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=A37C02AC-BF15-47DA-895B-77BE9310A8D2, name="Microsoft reserved partition", attrs="GUID:63"
/dev/sda3 : start= 1595392, size= 973150208, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=D62B301E-DC7F-4D51-9FC5-86F93D164FF3, name="Basic data partition"
/dev/sda4 : start= 974745600, size= 2027520, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=45D30F51-7028-45DC-A645-1AE317B8282C, name="attrs=\x22RequiredPartition GUID:63"
Thanks!