Which version of FOG do you use? I guess you have 1.2.0 installed, right? It’s written in the small cloud on the web interface login site…

Please edit /var/www/fog/lib/fog/BootMenu.class.php and search for ‘imgfetch’ (without the quotes). I guess you’ll see this:
[CODE]…
$this->kernel = “kernel $bzImage root=/dev/ram0 rw ramdisk_size=$ramsize ip=dhcp dns=$dns keymap=$keymap web=${webserver}${webroot} consoleblank=0”;
$this->initrd = “imgfetch $imagefile\n”;
…[/CODE]
Change it to make it look exactly like this:
[CODE]…
$this->kernel = “kernel $bzImage initrd=$initrd root=/dev/ram0 rw ramdisk_size=$ramsize keymap=$keymap web=${webserver}${webroot} consoleblank=0”;
$this->initrd = “imgfetch $imagefile”;
…[/CODE]
And then there is another thing that needs to be changed in the same file. Find all the lines of code with ‘print $this->initrd’
[CODE]…
print "$this->kernel …
print “$this->initrd”;
…[/CODE]
should be…
[CODE]…
print “$this->initrd”;
print "$this->kernel …
…[/CODE]