Hi thanks for your reply… it looks just like it does now in post #1… that’s my hyper-v windows 7 machine… all other physical clients are unaffected
thanks
Hi thanks for your reply… it looks just like it does now in post #1… that’s my hyper-v windows 7 machine… all other physical clients are unaffected
thanks
sorry, thats a typo on my part…BootMenu.class.php is what was restored. thanks
I’m pulling my hair out now, as i had it working!.. i had to do a reinstall of fog as i started to get odd errors… im back to square one again now. Hyper-v wont boot to ipxe… i’ve tried to re enter my settings as in post 9# and after a restart. it nolonger works…
i’ve restored the menuboot.class.php to the default settings…(as below) any ideas?
[CODE]
print "#!ipxe\n";
print "cpuid --ext 29 && set arch x86_64 || set arch i386\n";
print "colour --rgb 0xff6600 2\n";
print "cpair --foreground 7 --background 2 2\n";
if (substr($_REQUEST['mac'],0,8)=="00:15:5d"){
print "# Hyper-V MAC address detected - no console background\n";
} else {
print "console --picture $this->booturl/ipxe/bg.png --left 100 --right 80\n";
if (!$this->hiddenmenu)
{
$showDebug = $_REQUEST["debug"] === "1";
print ":MENU\n";
print "menu\n";
[/CODE]
Sorry just an update…got this working using the above post#9
thanks for all your help
[ATTACH=full]1395[/ATTACH]
[url=“/_imported_xf_attachments/1/1395_Capture.PNG?:”]Capture.PNG[/url]
i have this at the momment;
print “#!ipxe\n”;
print “cpuid --ext 29 && set arch x86_64 || set arch i386\n”;
print “colour --rgb 0xff6600 2\n”;
print “cpair --foreground 7 --background 2 2\n”;
[B]//print “console --picture $this->booturl/ipxe/bg.png --left 100 --right 80\n”;[/B]
} else {
if (!$this->hiddenmenu)
{
$showDebug = $_REQUEST[“debug”] === “1”;
print “:MENU\n”;
print “menu\n”;
// Checks if the host is registered or not.
// Displays the Host name if it is, otherwise
// Tells the user it’s not registered.
if ($this->Host && $this->Host->isValid()
I’ve made the below changes and my hyper-v ipxe is still unable to boot… i also tried to // the line also but it too didn’t have any effect.
thanks
------------OLD-----------
print “#!ipxe\n”;
print “cpuid --ext 29 && set arch x86_64 || set arch i386\n”;
print “colour --rgb 0xff6600 2\n”;
print “cpair --foreground 7 --background 2 2\n”;
if (substr($_REQUEST[‘mac’],0,8)==“00:15:5d”){
print “# Hyper-V MAC address detected - no console background\n”;
} else {
print “console --picture $this->booturl/ipxe/bg.png --left 100 --right 80\n”;
if (!$this->hiddenmenu)
{
$showDebug = $_REQUEST[“debug”] === “1”;
print “:MENU\n”;
print “menu\n”;
// Checks if the host is registered or not.
// Displays the Host name if it is, otherwise
// Tells the user it’s not registered.
if ($this->Host && $this->Host->isValid()
--------------new------------
print “#!ipxe\n”;
print “cpuid --ext 29 && set arch x86_64 || set arch i386\n”;
print “colour --rgb 0xff6600 2\n”;
print “cpair --foreground 7 --background 2 2\n”;
if (substr($_REQUEST[‘mac’],0,8)==“00:15:5d”){
print “# Hyper-V MAC address detected - no console background\n”;
} else {
if (!$this->hiddenmenu)
{
$showDebug = $_REQUEST[“debug”] === “1”;
print “:MENU\n”;
print “menu\n”;
// Checks if the host is registered or not.
// Displays the Host name if it is, otherwise
// Tells the user it’s not registered.
if ($this->Host && $this->Host->isValid()
I can’t seem to get this working…
thanks for your reply…looking at my [I][SIZE=12px]BootMenu.class.php file. l[/SIZE][/I][SIZE=12px]ine 600 looks nothing like the above… do you know what i should be changing from?[/SIZE]
What should the code look like before i change it. Thanks again
[I][SIZE=12px][/SIZE][/I]
Hi,
Thanks for the reply… is it this post you speak of?
[quote=“netbootdisk, post: 32501, member: 5249”]Had the same problem with 1.1.2 and Hyper-V 2012R2.
I just made the {fogwebdir}/lib/fog/BootMenu.class.php line 600 hack conditional…
[PHP]
if (substr($_REQUEST[‘mac’],0,8)==“00:15:5d”){
print “# Hyper-V MAC address detected - no console background\n”;
} else {
print “console --picture $this->booturl/ipxe/bg.png --left 100 --right 80\n”;
}
[/PHP]
[SIZE=13px][FONT=Tahoma][COLOR=#141414]…Now all users still see the corporate branded background - and I can still capture master images in Hyper V :)[/COLOR][/FONT][/SIZE][/quote][SIZE=13px][FONT=Tahoma][COLOR=#141414][/COLOR][/FONT][/SIZE]
thanks again
Hi guys, I did a refresh install of 14.04.1/1.20 today.
Thought i was on to much of a roll… all my clients boot to ipxe ok … i can upload download images fine… just one machine is giving me an issue… my primary windows image machine (typical).
It’s a windows 7 image hosted on a Hyper-v r2 server. i get the following error. after some research it seems a few have had this issue.
Any help or direction would be great. thanks
[ATTACH=full]1393[/ATTACH]
[url=“/_imported_xf_attachments/1/1393_Untitled.png?:”]Untitled.png[/url]
I guys, Thanks for the help so far… and thanks for not flaming me for not making much sense.
[quote=“Tom Elliott, post: 31962, member: 7271”]What do you mean “I can’t seems to source it”?[/quote]
I can find the version of fog 0.32 via the link that Superchicken gave me, i was just wondering if different revisions of fog 0.32 are available.
[quote=“Tom Elliott, post: 31962, member: 7271”]
Your current network can’t load the undionly.kpxe? Or many of your systems don’t work with it?
There is a difference.
[/quote]
Some of the machines can boot kpxe just fine, However a large number of machines, including my hyper-v image machine, can’t.
I also have an issue with all our Compaq 5219 that just says “press a key to reboot”.
We used to use Ubuntu 12.04lts and fog 0.32/3. It was using pxelinux.0 (and prompted to enter this on DHCP @ install). Everything worked 100%…
We then updated to Ubuntu 14.04lts and fog 1.0.1… from then on… we have had issues where PCs can’t boot from lan, reboot after booting from lan or just can’t even see the ipxe. However out of 500 pcs approx about 130ish are fine and work 100%.
As it is now… i just want to go back to 12.04lts ( i have a fresh install on at the mo) and 0.32 … but when i try to install it… it asks me to enter “next-server”… the revision of 0.32 i used in the past, wanted me to enter pxelinux.0… so i just assumed a revision of fog 0.32 existed and it the revision i’m after…
[quote=“Junkhacker, post: 31965, member: 21583”]if you absolutely must have version 0.32 SuP3R_Ch1cKeN already told you how to get it[/quote]
Yep found it, I really want to run the newer version of UBUNTU and FOG, but at the moment i just want to get the site up and running again.
i know where the saying “If it isn’t broken, don’t fix it” comes from now
Also noticed developers commenting, that’s great to see on a forum, Just want to say that as a school we have been using Fog since 0.28 and it’s been an awesome tool for us here.
I understand that, i have the 66 at the server IP and the 67 as “undionly.kpxe”
however i remember fog 0.32 asking me to enter “pxelinux.0”
that’s the version of fog i’m after… i can’t seems to sorce it… i just need to get my site up and running and the pxelinux.0 was the most compatible with my site.
thanks again
Thanks for the help so far guys, i seem to remember i was using version .32 and when it got to the option 66 option 67. It asked me to put in “pxelinux.0”.
the current build of 0.32 asks me to enter “next-server”
so i’m just alittle confused
Thanks for the reply… i was thinking of doing a clean install with an older build… 0.32… but during the install it asks me to set my tftp boot to “next-server” and not “prelinux.0”…
are the older builds also available?
The reason i ask… the pxe (pxelinux.0) worked with all devices on my site… and also the virtual windows 7 instance on hyper-v (which i make master images from).
since moving to ipxe… i’m having lots of random lan boot issues.
cheers
Can i go back and use pxelinux.0 with fog as it worked on all the machines on site… i’m have lots of random probs with ipxe.
just thought i’d ask… (im a linux/fog newbie)
Went fine for me… however…some parts of the GUI look like this;
[ATTACH=full]1067[/ATTACH]
[url=“/_imported_xf_attachments/1/1067_Capture.PNG?:”]Capture.PNG[/url]
Thanks for the link, but the service randomly stops also.