• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. fpausp
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 12
    • Best 2
    • Controversial 0
    • Groups 0

    fpausp

    @fpausp

    2
    Reputation
    309
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    fpausp Unfollow Follow

    Best posts made by fpausp

    • RE: Can FOG replace my urbackup Server ?

      I was able to do it with Fedora 27 LiveCD. I can boot the CD, but I cannot login.
      Do you know the credentials ?

      0_1511432785834_0426d751-d8a9-4d79-b8e7-d0c75ecfb832-grafik.png

      Here is what I have done…

      Fedora 27 Workstation

      First we’ll create the required directories:

      mkdir /images/os/fedora
      mkdir /images/os/fedora/W27
      mkdir /tftpboot/os/fedora
      mkdir /tftpboot/os/fedora/W27

      Mount the Fedora 27 ISO:

      mount -o loop -t iso9660 /iso/Fedora-Xfce-Live-x86_64-27-1.6.iso /mnt/loop

      Copy the files:

      cp -R /mnt/loop/* /images/os/fedora/W27
      umount /mnt/loop

      Copy the pxe boot kernel and intfs to the tftpboot directory:

      cp /images/os/fedora/W27/isolinux/vmlinuz /tftpboot/os/fedora/W27
      cp /images/os/fedora/W27/isolinux/initrd.img /tftpboot/os/fedora/W27

      Setup a new FOG iPXE boot menu entry:

      In the fog WebGUI go to FOG Configuration->iPXE New Menu Entry
      Set the following fields

      Menu Item: os.FedoraW27
      Description: Fedora Workstation v27
      Parameters:
      kernel tftp://${fog-ip}/os/fedora/W27/vmlinuz
      initrd tftp://${fog-ip}/os/fedora/W27/initrd.img
      imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}/images/os/fedora/W27/LiveOS/squashfs.img ip=dhcp repo=nfs://${fog-ip}/images/os/fedora/W27 splash quiet
      boot || goto MENU
      Menu Show with: All Hosts

      posted in General
      F
      fpausp
    • RE: Can FOG replace my urbackup Server ?

      Kali Live 2017.3 - v0.1

      create the required directories:

      mkdir -p /iso /mnt/loop /tftpboot/os/kali/2017.3/live/

      rsync or wget kali-linux-2017.3-amd64.iso to /iso

      rsync -avzr --progress /<your-path>/kali-linux-2017.3-amd64.iso /iso/

      mount the ISO:

      mount -o loop -t iso9660 /iso/kali-linux-2017.3-amd64.iso /mnt/loop

      copy the files into your tftpboot-path:

      rsync -avzr --progress /mnt/loop/live/{initrd.img,vmlinuz,filesystem.squashfs} /tftpboot/os/kali/2017.3/live/

      umount iso:

      umount /mnt/loop

      Setup a new FOG iPXE boot menu entry:

      In the fog WebGUI go to FOG Configuration->iPXE New Menu Entry
      Set the following fields

      Menu Item: os.Kali.live.2017.3
      Description: Kali Live 2017.3
      Parameters:
      kernel tftp://${fog-ip}/os/kali/2017.3/live/vmlinuz
      initrd tftp://${fog-ip}/os/kali/2017.3/live/initrd.img
      imgargs vmlinuz initrd=initrd.img append boot=live components fetch=tftp://${fog-ip}/os/kali/2017.3/live/filesystem.squashfs
      boot || goto MENU
      Menu Show with: All Hosts

      0_1511447761943_4c382092-19a9-44c7-9290-d092ec4047b2-grafik.png

      posted in General
      F
      fpausp

    Latest posts made by fpausp

    • RE: Can FOG replace my urbackup Server ?

      I think it is a BUG, I have to do it twice befor it is permanent saved.

      Another Question:
      Howto sort iPXE Menu Item Settings ?

      0_1522673895600_32b8ec19-c0b9-44e8-822d-dd4214236248-grafik.png

      posted in General
      F
      fpausp
    • RE: Can FOG replace my urbackup Server ?

      Thank you very much, Gentlemen !

      0_1522425586302_a0107849-1562-4f76-ba34-e4bc75b9933d-grafik.png

      posted in General
      F
      fpausp
    • RE: Can FOG replace my urbackup Server ?

      0_1522424844394_0732eb7a-6c16-456b-89b8-c355e42bc8fc-grafik.png

      #!ipxe
      set fog-ip <my-fog-ip>
      set fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}
      cpuid --ext 29 && set arch x86_64 || set arch i386
      goto get_console
      :console_set
      colour --rgb 0x00567a 1 ||
      colour --rgb 0x00567a 2 ||
      colour --rgb 0x00567a 4 ||
      cpair --foreground 7 --background 2 2 ||
      goto MENU
      :alt_console
      cpair --background 0 1 ||
      cpair --background 1 2 ||
      goto MENU
      :get_console
      console --picture http://<my-fog-ip>/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
      :MENU
      menu
      colour --rgb 0xff0000 0 ||
      cpair --foreground 1 1 ||
      cpair --foreground 0 3 ||
      cpair --foreground 4 4 ||
      item --gap Host is NOT registered!
      item --gap -- -------------------------------------
      item fog.local Boot from hard disk
      item fog.memtest Run Memtest86+
      item fog.reginput Perform Full Host Registration and Inventory
      item fog.reg Quick Registration and Inventory
      item fog.deployimage Deploy Image
      item fog.multijoin Join Multicast Session
      item fog.sysinfo Client System Information (Compatibility)
      item os.UrBackup.RestoreCD
      choose --default fog.local --timeout 3000 target && goto ${target}
      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      :fog.memtest
      kernel memdisk initrd=memtest.bin iso raw
      initrd memtest.bin
      boot || goto MENU
      :fog.reginput
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://<my-fog-ip>/fog/ consoleblank=0 rootfstype=ext4 storage=<my-fog-ip>:/images/ storageip=<my-fog-ip> loglevel=4 mode=manreg
      imgfetch init_32.xz
      boot || goto MENU
      :fog.reg
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://<my-fog-ip>/fog/ consoleblank=0 rootfstype=ext4 storage=<my-fog-ip>:/images/ storageip=<my-fog-ip> loglevel=4 mode=autoreg
      imgfetch init_32.xz
      boot || goto MENU
      :fog.deployimage
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param qihost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.multijoin
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param sessionJoin 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.sysinfo
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://<my-fog-ip>/fog/ consoleblank=0 rootfstype=ext4 storage=<my-fog-ip>:/images/ storageip=<my-fog-ip> loglevel=4 mode=sysinfo
      imgfetch init_32.xz
      boot || goto MENU
      :os.UrBackup.RestoreCD
      kernel tftp://${fog-ip}/os/urbackup/vmlinuz
      initrd tftp://${fog-ip}/os/urbackup/initrd.img
      imgargs vmlinuz initrd=initrd.img append boot=live config username=urbackup fetch=tftp://${fog-ip}/os/urbackup/filesystem.squashfs
      boot || goto MENU
      param sysuuid ${uuid}
      :bootme
      chain -ar http://<my-fog-ip>/fog/service/ipxe/boot.php##params ||
      goto MENU
      autoboot
      
      posted in General
      F
      fpausp
    • RE: Can FOG replace my urbackup Server ?

      Hi, I use 1.5.0 now and made an iPXE Menu entry…
      After I boot, the entry is not visible, but I can boot, its just ugly to see nothing :).

      How can I fix that ?

      posted in General
      F
      fpausp
    • RE: Can FOG replace my urbackup Server ?

      Kali Install 2017.3 - v.01

      create the required directories:

      mkdir -p /images/os/kali/2017.3/install/ /tftpboot/os/kali/2017.3/install/ /tmp/netboot/ /mnt/loop/

      rsync or wget kali-linux-2017.3-amd64.iso to /iso

      rsync -avzr --progress /<your-path>/kali-linux-2017.3-amd64.iso /iso/

      Mount the Kali ISO:

      mount -o loop -t iso9660 /iso/kali-linux-2017.3-amd64.iso /mnt/loop

      We need to download the netboot kernel:

      cd /tmp/netboot
      wget http://repo.kali.org/kali/dists/kali-rolling/main/installer-amd64/current/images/netboot/netboot.tar.gz

      extract tarball:

      tar -zxf netboot.tar.gz

      Copy the files:

      rsync -avzr --progress /mnt/loop/* /images/os/kali/2017.3/install
      rsync -avzr --progress /tmp/netboot/debian-installer/amd64/{linux,initrd.gz} /tftpboot/os/kali/2017.3/install

      adjust and umount:

      cd /tmp
      rm -rf ./netboot
      umount /mnt/loop

      Setup a new FOG iPXE boot menu entry:

      In the fog WebGUI go to FOG Configuration->iPXE New Menu Entry
      Set the following fields

      Menu Item: os.Kali.install.2017.3
      Description: Kali Install 2017.3
      Parameters:
      kernel tftp://${fog-ip}/os/kali/2017.3/install/linux
      initrd tftp://${fog-ip}/os/kali/2017.3/install/initrd.gz
      imgargs linux initrd=initrd.gz root=/dev/nfs netboot=nfs nfsroot=${fog-ip}:/images/os/kali/2017.3/install ip=dhcp rw language=de country=AT keymap=de hostname=kali domain=test.lan
      boot || goto MENU
      Menu Show with: All Hosts

      0_1511449825460_01773900-5092-438b-b746-4e375709c391-grafik.png

      posted in General
      F
      fpausp
    • RE: Can FOG replace my urbackup Server ?

      @george1421
      OK, thanks for your comments… I will study it tomorrow, no more time this day… I tried also the installer-version of kali, what I will show you in the next reply…

      posted in General
      F
      fpausp
    • RE: Can FOG replace my urbackup Server ?

      Kali Live 2017.3 - v0.1

      create the required directories:

      mkdir -p /iso /mnt/loop /tftpboot/os/kali/2017.3/live/

      rsync or wget kali-linux-2017.3-amd64.iso to /iso

      rsync -avzr --progress /<your-path>/kali-linux-2017.3-amd64.iso /iso/

      mount the ISO:

      mount -o loop -t iso9660 /iso/kali-linux-2017.3-amd64.iso /mnt/loop

      copy the files into your tftpboot-path:

      rsync -avzr --progress /mnt/loop/live/{initrd.img,vmlinuz,filesystem.squashfs} /tftpboot/os/kali/2017.3/live/

      umount iso:

      umount /mnt/loop

      Setup a new FOG iPXE boot menu entry:

      In the fog WebGUI go to FOG Configuration->iPXE New Menu Entry
      Set the following fields

      Menu Item: os.Kali.live.2017.3
      Description: Kali Live 2017.3
      Parameters:
      kernel tftp://${fog-ip}/os/kali/2017.3/live/vmlinuz
      initrd tftp://${fog-ip}/os/kali/2017.3/live/initrd.img
      imgargs vmlinuz initrd=initrd.img append boot=live components fetch=tftp://${fog-ip}/os/kali/2017.3/live/filesystem.squashfs
      boot || goto MENU
      Menu Show with: All Hosts

      0_1511447761943_4c382092-19a9-44c7-9290-d092ec4047b2-grafik.png

      posted in General
      F
      fpausp
    • RE: Can FOG replace my urbackup Server ?

      I was able to do it with Fedora 27 LiveCD. I can boot the CD, but I cannot login.
      Do you know the credentials ?

      0_1511432785834_0426d751-d8a9-4d79-b8e7-d0c75ecfb832-grafik.png

      Here is what I have done…

      Fedora 27 Workstation

      First we’ll create the required directories:

      mkdir /images/os/fedora
      mkdir /images/os/fedora/W27
      mkdir /tftpboot/os/fedora
      mkdir /tftpboot/os/fedora/W27

      Mount the Fedora 27 ISO:

      mount -o loop -t iso9660 /iso/Fedora-Xfce-Live-x86_64-27-1.6.iso /mnt/loop

      Copy the files:

      cp -R /mnt/loop/* /images/os/fedora/W27
      umount /mnt/loop

      Copy the pxe boot kernel and intfs to the tftpboot directory:

      cp /images/os/fedora/W27/isolinux/vmlinuz /tftpboot/os/fedora/W27
      cp /images/os/fedora/W27/isolinux/initrd.img /tftpboot/os/fedora/W27

      Setup a new FOG iPXE boot menu entry:

      In the fog WebGUI go to FOG Configuration->iPXE New Menu Entry
      Set the following fields

      Menu Item: os.FedoraW27
      Description: Fedora Workstation v27
      Parameters:
      kernel tftp://${fog-ip}/os/fedora/W27/vmlinuz
      initrd tftp://${fog-ip}/os/fedora/W27/initrd.img
      imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}/images/os/fedora/W27/LiveOS/squashfs.img ip=dhcp repo=nfs://${fog-ip}/images/os/fedora/W27 splash quiet
      boot || goto MENU
      Menu Show with: All Hosts

      posted in General
      F
      fpausp
    • RE: Can FOG replace my urbackup Server ?

      OK, I need a few days… I’ll give you a feedback…

      posted in General
      F
      fpausp
    • RE: Can FOG replace my urbackup Server ?

      I think, I got it… - link text

      posted in General
      F
      fpausp