New Fog Install
-
Hello.
Looking for help with a few issues.
First off, I work at a company that takes in donated computers and re-images them to be donated back out to the public, I’m only here for a 6 month contract as are all the techs so nothing is ever done properly. Its a non-profit so we have to use free software, which is why Fog is great!
We were running Fog .32 but the hard drive died on it so we are starting from scratch.
Insalled Ubuntu 12.04 and Fog 1.2.0. Able to PXE boot to the Fog menu so far.
Our old fog was able to have many images based on what ever computer or laptop we were imaging. Mostly Windows 7 images, but with different drivers or software installed.
I can not seem to figure out how to get the advanced menu set up for our new Fog. I have looked at the threads to try to get this to work all day. I’m sure I’m just over looking something simple.Current menu based on what I found on here.
[QUOTE]:MENU
menu
item --gap – ---------------- iPXE boot menu ----------------
item Win7 Boot Windows 7 32 bit
item Hiren Boot Hiren
item shell ipxe shell
item return return to previous menu
choose --default WIN7 --timeout 5000 target && goto ${target}:Win7
initrd [url]http://${fog-ip}/image/Win7[/url]
chain memdisk iso raw ||
goto MENU:Hiren
initrd [url]http://${fog-ip}/image/Hiren’s.BootCD.15.2.iso[/url]
chain memdisk iso raw ||
goto MENU:ipxedemo
chain [url]http://boot.ipxe.org/demo/boot.php[/url] ||
goto MENU:shell
shell ||
goto MENU:return
chain [url]http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac}[/url] ||
prompt
goto MENUautoboot
[/QUOTE]
I created a new image on a PC, syspreped and was able to upload it to the fog.
IP of Fog is 192.168.0.31
On another computer I am able to go to 192.168.0.31/images and it does display the directory of my image.
When I try to load the advanced menu Win7 image I get.[url]http://192.168.0.31/image/Win7[/url] … No such file or directory ([url]http://ipxe.org/2d0c613b[/url])
Could not boot: No such file or directory ([url]http://ipxe.org/2d0c613b[/url])
Could not boot: No such file or directory ([url]http://ipxe.org/2d0c613b[/url])Not quite sure if the image file NEEDS to be an ISO image rather than the single disk upload, also tried multiple partition image - single disk.
If any more data about my linux or fog is needed let me know and where to find it.
Any help would be much appreciated.
Thanks.
Mike Elliott
-
Looks like the link you have is missing an s in images
-
i think what you’re looking for is not the advanced boot menu, but the capone plugin
you also seem to be misunderstanding how fog works and what the advanced boot menu is for.
the advanced boot menu is mostly for booting utility disk iso’s that are unrelated to fog -
also, what exactly is this file that you’re trying to boot to
[CODE]initrd http://${fog-ip}/image/Win7[/CODE] -
Thanks Tom. Was missing the ‘s’ in the file… Like I said had been doing this and other stuff all day was a bit burnt out.
It finds the directory now. But when the image tries to load, I get MEMDISK: bootstrap too large to load.
And Junkhacker.
Basically what I need to be able to load is:
Base Windows 7 32 bit image, syspreped from a PC, image uploaded to the fog server.
Then we usually use that base image to make model specific images to load to the fog server, we go through a lot of different kinds of pc’s/laptops so we have multiple images with specific drivers/software etc.
What is the best way to be able to do this? Just like to be able to have a menu to select which image gets sent from the PC we are imaging.
-
Been looking at the capone plugin, looks like it would work if that deploys an image based on a computer statistic, which DMI field would I need to use to direct an image to a specific model? Like an HP rp5700? Looking to use a field that wont change much, some of the same models have different bios versions, and serials are all over the place.
-
Ok…update:
I now have capone plugin working properly and its a great plugin!
Problem: When the ipxe loads, it configures the eth0 of the pc we are trying to send the image to. But it times out when loading the /default.ipxe file.
Any ideas?
-
Also when creating an image. Which is the correct type I should be selecting when uploading? Single disk resizeable or multiple partition image - single disk? Will be deploying the images to different sized hard drives
-
single disk resizable works this way: check the drive, resize partitions to the minimum size to hold their data, upload image. on download, up all of the data back, and resize the partitions to the capacity of the volume
the others use the method: record what is there, and put it back eactly the way it is on download, partition sizes and all.