Hello all,
I built a USB booting fos image using these instructions:
https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image/4
https://forums.fogproject.org/topic/9073/fog-boot-alternatives/18
The goal is to get the helpdesk team to be able to deploy via the usb because of issues we have on certain models (X1 Yoga, and Lenovo P52) not being able to get the bzImage/init.xz files via the normal PXE booting method. The issue that I am having is shown in the video but basically when I try doing the quick image deploy, everything appears to work but it skips the actual part of going into PartClone.
Video of this happening:
https://drive.google.com/file/d/1wRj_z9emPN1rBrsw4P4VzYDSA50ftMKO/view?usp=sharing
I previously had it working with this config:
set myfogip=10.100.71.8
set myimage=/boot/bzImage
set myinits=/boot/init.xz
set myloglevel=4
set timeout=-1
set fogimage=2018-07-17Win10-1803UEFI
set imageid=9
insmod all_video
menuentry "1. FOG Quick Image Deploy $fogimage" {
echo loading the kernel
linux $myimage loglevel=$myloglevel initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=$myfogip/fog/ storage=$myfogip:/images/ storageip=$myfogip boottype=usb consoleblank=0 rootfstype=ext4 imgPartitionType=all chkdsk=0 capone=1 type=down imgid=$imageid img=$fogimage imgType=n osid=9
echo loading the virtual hard drive
initrd $myinits
echo booting kernel...
}
One day seemingly out of no where it stopped working and only does what is shown in the video. It seems like the scipt thinks that it worked but skips the PartClone imaging portion.
I have tried rebuilding the USB, and I also upgraded from FOG 1.4.4 to 1.5.5.
I’m curious if anyone else has seen this issue or can look over my configs to see if I’m missing something. Or maybe there is a place in the logs I can look at.
Currently I have a workaround that works well, where I use the normal Image Deploy grub menu item:
menuentry "1.5 FOG Image Deploy/Capture" {
echo loading the kernel
linux $myimage loglevel=$myloglevel initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=$myfogip/fog/ boottype=usb consoleblank=0 rootfstype=ext4
echo loading the virtual hard drive
initrd $myinits
echo booting kernel...
}
This is less ideal as someone has to log into the FOG web server and deploy the image form there first.
Thanks in advance for any help!