Trying out Fog for the very first time, already stuck at this tutorial....
-
Hello everyone, so i have been sucessful at installing fog, and configuring all the server aspects, i now have a pxe server booting.
I was trying to follow this tutorial to get an iso of hirens boon running on pxe:
https://forums.fogproject.org/topic/7318/adding-hirens-15-2-boot-cd-to-the-boot-menu/30i think i have made everything correctly altough the last part : adding menu in fog web gui , it doesn’t say where i should put those lines, but i supose it were in the “parameters” field.
Anyway the menu shows up, and it starts loading the iso (the entire iso) to a ram disk… in order for it to run.
after that it quits to a shell where it says “boot”
Probably waiting for a boot kernel or something?
Anyway is there anyway possible to load the iso in increments instead of the whole thing?
And secondly (and most important) what did i do wrong?Cheers
-
the black screen says: no default or ui configuration directive found
-
Try instructions from here: https://wiki.fogproject.org/wiki/index.php/Include_any_ISO_in_the_FOG_Bootmenu#Hirens_15.04
Of note, it appears that it may only work with advanced menu, not the individual menu items directly though I’ll admit I have not really played around with having extra menus like this.
-
@tom-elliott hey tom, thanks for helping me.
Where’s the advance menu configation? i am using fog 1.5.4 and all the tutorials are for 1.2 or below. and the menus are in different places etc…
if you have a pre configured fog with isos and cloning tools etc… that i can try on my vm i could see those examples and adapt acordingly.
otherwise i’m stuck reading and i am completly lost, fog is not very intuitive, but i guess everything has a learning curve -
@vascomorais fog configuration > ipxe general configuration > advanced menu settings
there should be a text box at the “Advanced menu command” line -
@vascomorais Just be aware that you are not using FOG as it is intended. FOG has really nothing to do with pxe booting other applications or operating systems. Its intended for imaging only.
With that said FOG is very flexible and does support a number of other activities. There are even some pretty great tutorials on doing similar things to what you want to do.
https://forums.fogproject.org/topic/12097/ipxe-setup-for-many-os-s-under-bios-and-uefi
https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-imagesAlso understand your boot media and your current target system operating modes must match. If your target computer is currently in the uefi mode, your boot media must support uefi booting or it will simply not work. Be mindful of this before you say FOG is broken, because FOG was never “designed” to do what you are asking it to do.
My intent is not to be a jerk here, only to protect the FOG Project branding and what its focus is.
-
@junkhacker ahh… so, in that advanced menu i can just add lines for each “boot menu item” right?
@george1421 not complaining, i bet fog will be more than an handful for me.
I took a peak at serva, but i didn’t wanted to use a windows vm and running serva, i would allways prefer to use a dedicated light os server like centos and installing the fog server on top to simplify things up.
Like i said everything has a learning curve, and i don’t have any experience with pxe or dhcp booting .Anyway you guys are awsome for trying to help me out, i bet once i figure out how to do something i will eventually get into fog deeper and deeper until i can start helping others myself.
-
@vascomorais here’s how the advanced menu is used https://wiki.fogproject.org/wiki/index.php?title=Advanced_Boot_Menu_Configuration_options
-
@vascomorais You can do what you want on the advanced menu or on the main menu. My second link shows you how to add items to the main menu in fog, with what data needs to go into which field. Just be aware that the “Description” field is mandatory, its actually becomes the menu label in the iPXE menu.
-
@george1421 was mandatory accidentally. In 1.5.4 it should be fixed so if the description is blank the label will be whatever the name was.
-
@junkhacker unfortunatly i think that tutorial is wrong, that’s just unbuntu boot loader , hiren’s boot doesn’t even use that. it uses grub for the main menu and it starts from there…
loading the hiren’s iso with memdisk option is also a bad idea, the iso is almost 4GB, and it crashes due to that, memdisk loads fine with smaller isos, like hdclone iso (40 or so megs), it’s a cheap and easy way to get this working.
I think i’m starting to understand how fog project works, what i need right now, is to extend / create my drive so i can fill it with more stuff as my “home” folder was created with only 20gigs in mind and the images (the deployment per say where fog really shines) is something i don’t really use here at all…did i said anything wrong? correct me please, i’m still getting the hang of it
-
@vascomorais I can’t really find a version that’s 4GB in size?
The largest one I can find is an unofficial continuation totalling 1.2GB or so.
The last official one (15.2) is only 592.5MB
-
@vascomorais said in Trying out Fog for the very first time, already stuck at this tutorial....:
hiren’s iso
memdisk does have an upper limit on the size of the boot iso it can load. I believe its less than 2GB. Also understand that memdisk only works on computers in bios/legacy mode. Memdisk will not run on an uefi computer. I have no idea if the hirens boot image support uefi based systems.
I did look about for the official iso but there appears to be a lot of shady web sites that offer this iso, and none that made me comfortable to download. The iso may give clues if its uefi bootable.
-
@george1421 if you want i can send you some good isos, the best one is super boot cd it suports both uefi and legacy boots (it’s dual bootable actually) it’s huge (about 6 or 7gb) but it has everything a man can have.
-
@vascomorais Do you have a good link for this ISO?