Erasing current MBR/GPT table issue
I’m trying to deploy a Windows 10 image and fog gets stuck on Erasing current MBR/GPT table. I tried different computers and I get the same issue.
I’m working on new HP desktops, with the same model numbers.
Thank you in advance for your help!
@fogmania @ykarami Good news to all of you, we have figured out what is causing the slowness and fixed it. It’s been a longer story [ref] - thanks again to @Quazz for doing lots of testing and finding very helpful stuff to figure this out!
As we have not had enough time to push for a new release yet you can simply update to the latest kernel and inits like this:
sudo -i cd /var/www/fog/service/ipxe mv bzImage bzImage.orig wget https://fogproject.org/kernels/bzImage mv bzImage32 bzImage32.orig wget https://fogproject.org/kernels/bzImage32 mv init.xz init.xz.orig wget https://fogproject.org/inits/init.xz mv init_32.xz init_32.xz.orig wget https://fogproject.org/inits/init_32.xz
fogmania last edited by
I had the same issue with the slow Erasing current MBR/GPT table. I followed @Tom-Elliott advise of downgrading the kernel to 4.15.2 and now it is working without issues.
@sebastian-roth Normally the messages correlate with user information being incorrect. The File it’s hanging on (the submenudata.hook.php, just happens to be a portion of where it failed, but most likely unrelated to the problem itself).
Of course, @ykarami please post what you did to solve the problem, it would help us and potentially other users as well.
@ykarami Would you mind telling us what was wrong and how you solved the
submenudata.hook.php, Line: 74, Message: Undefined index: node
@quazz Thank you! the issue is resolved.
ykarami last edited by ykarami
@quazz I keep getting this error message:
Type: 8, File: /var/www/fog/lib/hooks/submenudata.hook.php, Line: 74, Message: Undefined index: node, Host: 192.168.9.100, Username: fog
EDIT: Never mind, I got it to work
@ykarami You can get a different kernel straight from the WebGUI under Kernel Update. Just pick a 4.15 version. Make sure to get bit the x86 and x64 version to support all your clients.
@george1421 I don’t have the option to upload it from the gui
I’m not seeing an option to downgrade the kernel. Could you please share some documentation with me for that or tell me where I can do it?
Older fog kernels can be obtained here: https://fogproject.org/kernels/
This is not “stuck”. For some reason kernel 4.16.6 and possibly 4.17 have this issue.
The point, here, is if you wait long enough, it will finish. If you downgrade your kernel to 4.15.2 (which can be done right from the FOG GUI) and restart your machines, you should no longer have this issue.