Bypass host registration error
-
I’m running 0.32 and have installed the bypass.gz file so I can image machines right from the pxe menu without having to go through the host registration process.
Here is the menu entry in the default file
append initrd=fog/images/bypass.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 type=down img=Win7Image ftp=192.168.1.2 storage=192.168.1.2:/images web=192.168.1.2/fog/ osid=5 imgType=n loglevel=4 sessionPwd= consoleblank=0
Where 192.168.1.1 is the IP of my dns server and 192.168.1.2 is the ip of the fog server
I’ve verified the image name is correct and is located in /images
When booting I get the following error message
“An error has been detected!”
“Unable to locate image file for Windows 7! (sys.img.000)”
“Computer will reboot in 1 minute.”
There is no sys.img.000 file anywhere that I can see are d1p1.img files in each image subfolder.
Any ideas?
Jason
-
You’ll need to change the type of the image, from Single Disk resizable to Multi Part non-resizeable. I think Single Disk Multi Part or All disk multipart will work in your case.
rec.img.000 and sys.img.000 are for Resizable images.
-
[quote=“Tom Elliott, post: 21274, member: 7271”]You’ll need to change the type of the image, from Single Disk resizable to Multi Part non-resizeable. I think Single Disk Multi Part or All disk multipart will work in your case.
rec.img.000 and sys.img.000 are for Resizable images.[/quote]
Thanks Tom,
The actual image (on disk) is “Multiple Partition Image - Single Disk (Not Resizable)”
The image type in the initrd string is “imgType=n” - what should it be?Jason
-
I changed the imgType=n to imgType=mps and now I’m getting a “Cannot find image store” error message
Odd - no other changes
-J
-
OK - got it
In addition to the image type needing to be mps imgType=mps, the image name in img= needs to be the sub-folder name in the /images directory and not the name of the image you used in the fog webui.
Working as advertised now…
Thanks,
Jason -
Awesome, sorry I didn’t respond right away.
-
hey guys, I cant seem to find the bypass.gz any where, Can you link me a copy? I am using FOG as our image deployment server for HP Thin Clients and I want to tuck my PC that is running FOG away in a closet and just image these Thin Clients through PXE and not have to register them.
Thanks
-
If you have many of the same model of client, have you considered using the capone plug in for this.
You can associate a particular model with one (or more) image.
On the client you select capone from the menu choices, if there is only one image associated, it deploys with no registration required.
If there is more than one image associated, you select which one you want, and again it deploys, again no registration required.