What files to Edit to change the new undionly.kpxe pxe boot menu in Fog 1.1.2
-
If im reading:
[url]http://fogproject.org/wiki/index.php/Include_SystemRescueCD[/url]
correctly, i can sinply add code to the html part of my Fog webpage and it ignores the internal Menu, and makes a new one out of the code I add.i hope it ADDS to the fog menu already in there, otherwise i guess i need to locate the original Fog menu for 1.1.2 somewhere online and copy it, then add to it for my new iso i want to add (Bitdefender AV boot cd)
Will let you all know. -
update: so the fog advanced menu in the web browser is where you ADD code to get more menu options.
VERY COOL devs…thank you.
I added this:
: passcrack
initrd ${boot-url}/ISOS/passcrack.iso
chain memdisk iso raw ||
echo failed to boot
prompt
goto MENUPXY booting on the pc shows the Advanced Menu, but pressing it just cycles back to the main menu.
Maybe the iso file has to go somewhere special???
Ill add helpful posts as I discover this. Unless a dev saves me the work!!! GL to me! -
ok, so the folder where my ISO is stored is:
/tftpboot/ISOS/passcrack.iso
so far, the boot options ive entered all result in the advanced boot menu cycling back to the main menu.
looking more. -
read a post saying where they put the ISO images:
/var/www/fog/service/ipxeput passcrack.iso into a new dir in there…no go. same issue.
-
on the ubuntu server i ran the command: sudo service tftpd-hpa restart
tested again on a pc, same recycle of boot menu.
time to give up for now. -
Hi,
goto Webif > Fog Settings > PXE Boot Menu
[IMG]http://i.imgur.com/yJz5w1t.png[/IMG]
This is what i use:menu
item --gap – ----------------- VS Boot Menu -----------------
item --gap –
item bootlocal Festplatte booten
item image1 Image … installieren
item Win7 Windows 7 Installation
item shell iPXE Shell
item hostinfo Computer-Informationen
item --gap –
item return <—
choose --default Win7 --timeout 60000 target && goto ${target}:bootlocal
sanboot --no-describe --drive 0x80 || goto MENU:Win7
initrd http://${fog-ip}/ISO/Win7PE_x64.iso
chain memdisk iso raw ||
goto MENU:shell
shell ||
goto MENU:hostinfo
echo ||
echo ||
echo This computer : ||
echo MAC address…${net0/mac} ||
echo IP address…${ip} ||
echo Netmask…${netmask} ||
echo Serial…${serial} ||
echo Asset number…${asset} ||
echo Manufacturer…${manufacturer} ||
echo Product…${product} ||
echo BIOS platform…${platform} ||
echo ||
echo Zurueck mit beliebiger Taste ||
prompt
goto MENU:image1
kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.178.54 web=${fog-ip}/fog/ consoleblank=0 loglevel=4 type=down img=test ftp=${fog-ip} imgType=n osid=7 storage=${fog-ip}:/images capone=1 imgFormat=2
imgfetch init.xz
boot || goto MENU:return
chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
prompt
goto MENUautoboot[/CODE]
ISO Images have to be placed somewhere in webroot ipxe doesn’t transfer them over tftp its done by http
Regards X23
-
[quote=“x23piracy, post: 33560, member: 3982”]Hi,
goto Webif > Fog Settings > PXE Boot Menu
This is what i use:Regards X23[/quote]
Thank you for this! I will try it soon and let you all know.
You might have saved me! -
update number 34:
I have found where i had to create a new ISOS directory
/var/www/fog/ISOS
i had to change the group membership and permissions. 777 for now while i test.
FAIL
Advanced menu keeps going back to Main menu when i select my passwordcrack.iso
I use this:: passcrack
initrd [url]http://${fog-ip}/ISOS/passcrack.iso[/url]
chain memdisk iso raw ||
goto MENUusing my webbrowser i can get the Download of the iso, but i want to RUN the iso on the client pc.
[url]http://192.168.0.161/fog/ISOS/passcrack.iso[/url]I have correct uppercase in the code.
This is what im using:menu
item --gap – ----------------- VS Boot Menu -----------------
item --gap –
item passcrack Password Crack
item return <—
choose --default return --timeout 60000 target && goto ${target}:passcrack
initrd http://${fog-ip}/ISOS/passcrack.iso
chain memdisk iso raw ||
goto MENU:return
chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
prompt
goto MENUautoboot[/CODE]
-
YAY!
I have been searching these forums as I go and i found it![url]http://fogproject.org/forum/threads/fog-advance-menu-configuration-hiren-iso-not-starting.11146/#post-33143[/url]
same issue.
i changed my code to:
initrd [url]http://${fog-ip}/${fog-webroot}/ISOS/passcrack.iso[/url]and now it works.
nice work [SIZE=12px]Junkhacker, and thanks for your help [/SIZE][SIZE=12px]x23piracy.[/SIZE][SIZE=12px]Next step will be playing with this amazing software. I hope my learning curve helps someone else too![/SIZE]
[SIZE=12px](Dont stop helping us pls, you regular forum types, your help and wisdom is what keeps me sane while learning the new fog!)[/SIZE] -
[quote=“drjam, post: 33575, member: 16842”]YAY!
I have been searching these forums as I go and i found it![url]http://fogproject.org/forum/threads/fog-advance-menu-configuration-hiren-iso-not-starting.11146/#post-33143[/url]
same issue.
i changed my code to:
initrd [url]http://${fog-ip}/${fog-webroot}/ISOS/passcrack.iso[/url]and now it works.
nice work [SIZE=12px]Junkhacker, and thanks for your help [/SIZE][SIZE=12px]x23piracy.[/SIZE][SIZE=12px]Next step will be playing with this amazing software. I hope my learning curve helps someone else too![/SIZE]
[SIZE=12px](Dont stop helping us pls, you regular forum types, your help and wisdom is what keeps me sane while learning the new fog!)[/SIZE][/quote]Dang, and I was just coming on to say you forgot the fog-webroot. Another trick you could perform would be to use the ${boot-url}/ISOS/passcrack.iso
-
[quote=“Tom Elliott, post: 33578, member: 7271”]Another trick you could perform would be to use the ${boot-url}/ISOS/passcrack.iso[/quote]
Thanks guv! I just know there are heaps more steps I will need to climb to customize my Fog server in the coming weeks.
Hopefully I dont overstay my welcome with a million questions! -
Hi,
[quote=“drjam, post: 33581, member: 16842”]
Hopefully I dont overstay my welcome with a million questions![/quote]never if you used the search before
Regards X23