• RE: Hanging on ipxe initalizing devices.

    @huecuva said in Hanging on ipxe initalizing devices.:

    After a little more research, I’ve been able to determine one possibility. Could it maybe be a host boot kernel issue? I’m apparently running kernel 4.19.0-11, but that kernel isn’t even listed when I go into Kernel Update in FOG. Would it be worth upgrading the kernel? I don’t want to make it stop booting my gaming rig.

    This is a bit deceiving here (not your post but how FOG boots). The iPXE menu is driven by the ipxe boot loader (undionly.kpxe or ipxe.efi). Once you make a menu selection then FOS Linux (a.k.a the kernel) / bzImage init.xz is transferred to the target computer and FOS Linux boots. This is the engine that clones disk images.

    So if your system is hanging before the iPXE menu then its a iPXE issues, if it hags after a menu selection then it is probably FOS Linux.

    The version of “the kernel” is not related to the kernel version on the host computer that FOG is installed on. It refers to the version of the kernel that powers FOS Linux. I can tell you that you will want to upgrade to 5.6.18 of the fos linux kernel if you want to support 2020 or later hardware. You can do that through the webui FOG Configuration -> Kernel section.

    posted in FOG Problems
  • RE: Hanging on ipxe initalizing devices.

    @huecuva said in Hanging on ipxe initalizing devices.:

    my HTPC (i5 3470) it hangs on initializing devices

    Just so I understand correctly, ipxe is transferred to the HTPC and it starts to boot because you see the iPXE banner, but then you see initializing devices and it stops booting. This is because of a compatibility issue between iPXE and the firmware on the target computer. The first step would be to ensure you had the latest firmware on the HTPC.

    posted in FOG Problems
  • RE: How install Debian 10.7.0 on the Fog Project

    @rubensurtfe-0 It looks like you are booting in virtual box? If so how much ram do you give to this VM?

    Also did you see during booting that the squashfs was transferred to the target computer. When I tested this configuration there was surely 2 booting sequences, one to boot into the os to copy over the squashfs and the second when the OS in the squashfs starts booting. Where did it freeze for you?

    posted in FOG Problems
  • RE: Fog on Proxmox ?

    @huecuva said in Fog on Proxmox ?:

    I’m just having issues booting my HTPC from ipxe for some reason I can’t figure out.

    Please start a new thread so we can discuss

    posted in General Problems
  • RE: Console initramfs when installing any operating system

    @rubensurtfe-0 It works once we have the right ISO image and correct web server path.

    Screenshot from 2021-01-16 09-57-40.png

    posted in Linux Problems
  • RE: "Bad Sectors" when uploading image (Abort), RAID-1 crashed

    @lakk What is your raid controller? The built in intel raid? If so that setup is to put it polity a hardware assisted software raid. Its possible to use FOG to clone these disk structures but you need to know ahead of time that you are using these hybrid raid configurations. This intel raid presents these disks as normal disks to the operating system so you can easily break the raid if you were to just change one of the disks. You need to startup the software raid manager and talk to the logical raid disk. Its a bit confusing to explain but your source disk is now damaged.

    If you remove the disk0 (/dev/sda) from the computer you may be able to boot the computer using disk1 (/dev/sdb) since FOG wasn’t told about the array it probably only interacted with disk0 (/dev/sda). Your computer should boot but in a degraded state since disk0 is out of sync with disk1.

    posted in Windows Problems
  • RE: Console initramfs when installing any operating system

    @rubensurtfe-0 As I mentioned in the other thread. The http server for FOG is configured in such a way that it doesn’t allow downloads of any files outside of the /fog directory. There is an adjustment that can be made.

    posted in Linux Problems
  • RE: How install Debian 10.7.0 on the Fog Project

    @george1421 This post works, but it does not: https://forums.fogproject.org/post/140524

    The menu structure and files are right. Where it falls down is it can’t locate the initramfs via http. I know the problem it is in the rewriting rules FOG adds to the apache server. It won’t let you download any files other than in the /fog directory on the server. I can fix this but its too late tonight and I’m out of brain juice. As soon as I can correct for the redirect the solution will work as intended.

    posted in FOG Problems
  • RE: Using FOG to PXE boot into your favorite installer images

    Debian 10.7 Standard -Live

    1. First we’ll create the required directories:
    mkdir -p /images/os/debian/10.7L
    mkdir -p /tftpboot/debian/10.7L
    # for FOG Server with Redhat based OS
    mkdir -p /var/www/html/os/debian/10.7L
    # for FOG Server with Debian based OS
    mkdir -p /var/www/os/debian/10.7L
    1. Now we’ll mount the Debian live DVD over the loop directory. Then we’ll copy the contents of the DVD to the directory we built above.
      I need to explain something here. The iso below is the "standard" version which is the debian console version. If you want to live boot into the debian XWindows interface you will need to download the ISO that contains your desired XWindows manager like Mate, XFCE, KDE, Gnome, etc The instructions are the same for all ISO, just the size if the initrd and squashfs will change
    mount -o loop -t iso9660 /{full path where you have the iso stored}/debian-live-10.7.0-amd64-standard.iso /mnt/loop
    cp -R /mnt/loop/* /images/os/debian/10.7L
    umount /mnt/loop
    1. Finally we’ll copy the pxe boot kernel and intfs to the tftpboot directory.
    cp /images/os/debian/10.7L/live/vmlinuz-4.19.0-13-amd64 /tftpboot/debian/10.7L/vmlinuz
    cp /images/os/debian/10.7L/live/initrd.img-4.19.0-13-amd64 /tftpboot/debian/10.7L/initrd
    # for FOG Server with RedHat based OS
    cp /images/os/debian/10.7L/live/filesystem.squashfs /var/www/html/os/debian/10.7L
    # for FOG Server with Debian based OS
    cp /images/os/debian/10.7L/live/filesystem.squashfs /var/www/os/debian/10.7L
    1. The last bit of magic we need to do is setup a new FOG iPXE boot menu entry for this OS.
    2. In the fog WebGUI go to FOG Configuration->iPXE New Menu Entry
      Set the following fields
      Menu Item: os.Debian.10.7L
      Description: Debian 10.7 Live
      kernel tftp://${fog-ip}/debian/10.7L/vmlinuz
      initrd tftp://${fog-ip}/debian/10.7L/initrd
      imgargs vmlinuz boot=live components fetch=http://${fog-ip}/os/debian/10.7L/filesystem.squashfs
      boot || goto MENU
      Menu Show with: All Hosts
    3. That’s it, just pxe boot your target system and pick Debian 10.7 Live from the FOG iPXE boot menu.
    posted in Tutorials
  • RE: How install Debian 10.7.0 on the Fog Project

    @rubensurtfe-0 said in How install Debian 10.7.0 on the Fog Project:

    according to the grub.cfg file in the iso the kernels args are this

    kernel tftp://${fog-ip}/debian/10/vmlinuz
    initrd tftp://${fog-ip}/debian/10/initrd.gz
    imgargs vmlinuz vga=788 --- quiet 
    boot || goto MENU
    posted in FOG Problems