Update: 1.2 works ok, so I’m sticking with that for now.
Posts made by DAHansen75
-
RE: Want to skip "Booting... (Press Escape to access the menu)"
-
RE: Want to skip "Booting... (Press Escape to access the menu)"
@Wayne-Workman I think I’m going to try a clean install again using sudo -i instead of logging in as root and see if that helps. I will report back soon!
OK! Still not working. I tried installing using sudo -i that still had the same problem.
I rm’d everything, and I tried installing using SVN (just in case) and still have the same problem.
I might try installing 1.2.0, see if I can get that to work, then try again.
UPDATE: I’m sticking with 1.2 for now. It’s working ok, and I’ll try again with Trunk in the Spring.
Thanks for the help!
-
RE: Want to skip "Booting... (Press Escape to access the menu)"
@george1421 No one here has edited the boot.php. It was a clean install on a freshly formatted machine, with a fresh install of Ubuntu 14.04. I used GIT to install trunk. I think I figured something out though.
If I go to /fog/service/ipxe/boot.php - it looks nothing like what I copied/pasted. The actual file is different and looks correct.
I DID FIND, around line 598, in /root/trunk/packages/web/lib/fog/bootmenu.class.php the code that changes the menu. I just don’t why it’s doing it.
Perhaps I should have installed through SVN instead of GIT, and/or not as ROOT when installing trunk.
-
RE: Want to skip "Booting... (Press Escape to access the menu)"
@george1421 Here you go! It is WAY different from what I get doing the same thing using the Old Fog Server:
#!ipxe
set fog-ip 172.17.4.185
set fog-webroot fog
set boot-url http://${fog-ip}/${fog-webroot}
cpuid --ext 29 && set arch x86_64 || set arch i386
iseq ${platform} efi && set key 0x1b || set key 0x1b
iseq ${platform} efi && set keyName ESC || set keyName Escape
prompt --key ${key} --timeout 0 Booting… (Press ${keyName} to access the menu) && goto menuAccess || sanboot --no-describe --drive 0x80
:menuAccess
login
params
param mac0 ${net0/mac}
param arch ${arch}
param platform ${platform}
param username ${username}
param password ${password}
param menuaccess 1
param debug 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain -ar http://172.17.4.185/fog/service/ipxe/boot.php##params -
RE: Want to skip "Booting... (Press Escape to access the menu)"
@george1421 Mine looks exactly like yours, except for the first one, which is 3 on mine, instead of the 5 on yours.
-
RE: Want to skip "Booting... (Press Escape to access the menu)"
Hello!
Option 67 should be “undionly.kpxe”
IIRC, 66 should be the IP of the FOG Server.
Our SysAdmin has been out sick for past week, so he’s catching up today, and I’m trying not to harass him.
-
RE: Want to skip "Booting... (Press Escape to access the menu)"
My FOG doesn’t do any DNS, we have a separate DNS. My Fog server(s) get a static IP on the network.
The actual DNS has Option 66/67 settings for the Fog Server (both old and new servers are using the same static IP settings and I only connect one at a time to the network.
I checked the old Fog server that works as expected, AND the new one, and neither has anything in dnsmasq.d except a network-management file that is basically rem’d out.
I might not have explained it too well above. The HOSTS are what I’m having an issue with.
The hosts boot like they did on the 1.0.1 FOG, but when they get to the part where they are just supposed to show the menu - with the regular boot, quick register, deregister, etc. options - instead of just going to the menu it waits for EITHER an ‘esc’ or an ‘enter’
‘ESC’ - takes user to a login screen that is asking for the username as password (the same username and password as the FOG server), I enter the username and password, and THEN the menu shows up where I can boot to hard disk, quick register the host, etc.
‘ENTER’ bypasses the menu and takes me right to loading the OS.
I THINK it is acting like the advanced menu is ON, but I’ve never used the advanced menu, so I don’t know…!
HERE IS WHERE IT WAITS! Press escape, and I have to enter credentials and then I get the standard menu…
Here’s the standard menu of which I speak:
-
Want to skip "Booting... (Press Escape to access the menu)"
Server
- FOG Version: 1.3.0-RC14
- OS: Ubuntu 14.04
Client
- Service Version: NA
- OS: Windows 7
Description
Setting up a new FOG server (trunk 1.3.0-RC14) to replace current FOG server (1.0.1).
ISSUE:
PXE boot is working ok, EXCEPT after it shows:
“http://xxx.xx.x.xxx/fog/service/ipxe/boot.php… ok”It then shows:
“Booting… (Press Escape to access the menu)”It hangs on that line until I press ‘ESC’ or ‘ENTER’
- ESC asks for FOG LOGIN/PASSWORD then will enter the PXE menu with the Boot countdown, quick host register, etc.
- ENTER boots right to Windows.
WOULD LIKE:
I would like skip the “Booting… (Press Escape to access the menu)” line and have it go directly to the Menu without a login/password requirement.HAVE TRIED:
- Editing FOG SETTINGS>FOG Boot Settings with both FOG_PXE_MENU_HIDDEN and/or FOG_NO_MENU
- Importing hosts (didn’t work yet).
- Registering a host to see if unregistered host was causing the hang. This worked for “FOG_NO_MENU” but I would like to not worry about host registration until I image the labs again in December.
- Unregistered hosts sit at “Booting…” even with “FOG_NO_MENU” selected.
NEED TO KNOW:
What to edit and where to at least turn off the login/password requirement for getting the PXE menu, so it boots like the older versions did (with background.png) and no keystrokes required to boot to Windows.Thanks for your help!