Navigation

    FOG Project

    • Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Xibeaga
    X
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Xibeaga

    @Xibeaga

    4
    Reputation
    39
    Posts
    488
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location Austria / Vorarlberg Age 55

    Xibeaga Follow

    Best posts made by Xibeaga

    • RE: DHCP Reservations

      Hi!

      1. Search for dhcp.conf or dhcp3.conf or something in /etc
      2. edit this file with nano or vi
      3. for each host you need an entry of this form:

      host MYCOOLHOST {
      hardware ethernet 00:00:00:00:00:00;
      fixed-address 1.2.3.4;
      }

      1. Replace the 00:00:00:00:00:00 hosts MAC
      2. Replace 1.2.3.4 with your desired IP
      3. restart dhcp service or simply reboot

      hth
      xibeaga

      posted in FOG Problems
      X
      Xibeaga

    Latest posts made by Xibeaga

    • RE: Cloning loops forever

      Hello Sebastian!
      Cloning works again, maybe some sun flares 😉

      Your kernel-params for sercon are working great!
      Thanks a lot for your help!

      Best regards,
      R.

      posted in Linux Problems
      X
      Xibeaga
    • RE: Cloning loops forever

      Dear Sebastian!

      Wow! Any kind of display at headless machines would be great!
      It is an APU-Board.
      https://www.pcengines.ch/apu3c4.htm

      enabling the sserial console withj kernel params would be cool!

      Your guess: single disk multi partitions is correct

      Your suggestion lead to this: Everything went fine. In debug-mode the clone was successful.

      After the successful cloning in debug-mode
      I tried again with non-debug but did not change the moidified ramdisk back, cloning worked

      After the successful cloning I re-did with the original ramdisk: cloning worked

      I have no idea whats going on.
      thx!
      R

      root@1stNAS:/images/dev/000db94a39a8# file d1p1.img.000 
      d1p1.img.000: gzip compressed data, last modified: Sun Nov 25 20:22:26 2018, from Unix
      
      cat d1.partitions 
      label: dos
      label-id: 0x42d3de51
      device: /dev/sda
      unit: sectors
      
      /dev/sda1 : start=        2048, size=   449218560, type=83
      /dev/sda2 : start=   449220608, size=    39176560, type=82
      

      And here comes the log:

      [Sun Nov 25 root@fogclient ~]# fog
       * Running post init scripts.........................Done
       * Press [Enter] key to continue
      
      
         ==================================
         ===        ====    =====      ====
         ===  =========  ==  ===   ==   ===
         ===  ========  ====  ==  ====  ===
         ===  ========  ====  ==  =========
         ===      ====  ====  ==  =========
         ===  ========  ====  ==  ===   ===
         ===  ========  ====  ==  ====  ===
         ===  =========  ==  ===   ==   ===
         ===  ==========    =====      ====
         ==================================
         ===== Free Opensource Ghost ======
         ==================================
         ============ Credits =============
         = https://fogproject.org/Credits =
         ==================================
         == Released under GPL Version 3 ==
         ==================================
         Version: 1.5.5
       * Press [Enter] key to continue
      
       * Verifying network interface configuration.........Done
       * Press [Enter] key to continue
      
       * Checking Operating System.........................Windows XP
       * Checking CPU Cores................................4
       * Send method.......................................NFS
       * Attempting to check in............................Done
       * Press [Enter] key to continue
      
       * Mounting File System..............................Done
       * Press [Enter] key to continue
      
       * Checking Mounted File System......................Done
       * Press [Enter] key to continue
      
       * Checking img variable is set......................Done
       * Press [Enter] key to continue
      
       * Preparing to send image file to server
       * Preparing backup location.........................Done
       * Press [Enter] key to continue
      
       * Setting permission on /images/000db94a39a8........Done
       * Press [Enter] key to continue
      
       * Removing any pre-existing files...................Done
       * Press [Enter] key to continue
      
       * Using Image: nsa193_ssd_msata
       * Looking for Hard Disk.............................Done
       * Press [Enter] key to continue
      
       * Reading Partition Tables..........................Done
       * Press [Enter] key to continue
      
       * Using Hard Disk: /dev/sda
       * Now FOG will attempt to capture the image using Partclone
       * Press [Enter] key to continue
      
       * Processing Hard Disk: /dev/sda
       * Saving original disk/parts UUIDs
       * Press [Enter] key to continue
      
      
       * Saving Partition Tables (MBR).....................Done
       * Press [Enter] key to continue
      Done
       * Press [Enter] key to continue
      
       * Processing Partition: /dev/sda1 (1)
       * Press [Enter] key to continue
      
       * Using partclone.extfs
       * Press [Enter] key to continue
      
      Cloned successfully.
       * Image Captured
       * Press [Enter] key to continue
      
       * Processing Partition: /dev/sda2 (2)
       * Press [Enter] key to continue
      
       * Saving swap partition UUID
       * Saving UUID (bf7eaf1e-a5fc-4a3a-aa1d-3fc55096e747) for (/dev/sda2)
       * Stopping FOG Status Reporter......................Done
       * Press [Enter] key to continue
      
       * Task Complete
       * Updating Database.................................
      Done
       * Press [Enter] key to continue
      [Sun Nov 25 root@fogclient ~]# 
      

      @Sebastian-Roth said in Cloning loops forever:

      ssh -o “UserKnownHostsFile=/dev/null” -o “StrictHostKeyChecking=no” root@

      posted in Linux Problems
      X
      Xibeaga
    • RE: Cloning loops forever

      Dropbox 🙂
      here ii is:
      https://www.dropbox.com/s/8iuhvmlwuepwihw/fog.webm?dl=0

      posted in Linux Problems
      X
      Xibeaga
    • RE: Cloning loops forever

      Hi There!

      Uh! It took me a while to make a video.

      Since i installed 1.5.5 the behaviour changed a bit: now the computer reboots everyx time it wants to get a new clone, but loops anyway.

      Where can I put it? Its got 80MB. Maybe i can send it by “wetransfer.com”?

      Here is the description:

      you can see 3 Windows:
      upper left: serial console to the computer that shall be captured
      upper rigth: „watch -la /images/dev/00…“

      these are the events at specific timestamps:
      0:29 computer boots (its headless, only serial console is available to watch it)
      1:47: directories+files are created
      1:50: clone starts
      3:28 reboot
      4:54 ftp test

      posted in Linux Problems
      X
      Xibeaga
    • Cloning loops forever

      Hi!

      My clone (capture) loops forever.

      I tried these 3 things - more than once 😉

      1st) i checked all passwords, I walked through https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

      2nd) i installed 1.5.5 over 1.5.0

      3rd) i checked all passwords - incl. the linux-user “fog”

      What happens:

      when clone is finished, it starts from beginning. Computer does NOT(!) reboot, it simply starts to clone again.

      the /images/dev/00… looks like:
      drwxrwxrwx 2 fog root 96 Nov 20 22:56 .
      drwxrwxrwx 4 fog root 4096 Nov 20 22:04 …
      -rw-r–r-- 1 root root 0 Nov 20 22:56 d1.has_grub
      -rw-r–r-- 1 root root 1048576 Nov 20 22:56 d1.mbr
      -rw-r–r-- 1 root root 20 Nov 20 22:56 d1p1.img.000
      -rw-r–r-- 1 root root 182 Nov 20 22:56 d1.partitions

      Give attention to the d1p1.img.000 entry.
      It starts with size 0, then goes to 20, and thats it. it never grows bigger.
      i can change whatever permissions what ever i want, no change.

      when ist starts over, the MAC-Dir is deleted and newly made with root:root and thats it.

      Any help is welcome!
      regards

      posted in Linux Problems
      X
      Xibeaga
    • RE: PartClone Error

      @tom-elliott
      Nice move! Thanks a lot!
      i give it a try!

      posted in FOG Problems
      X
      Xibeaga
    • RE: PartClone Error

      @tom-elliott
      I think i will change the FS of the disk, so it will become cloneable.

      have a nice day and thanks a lot for your help!
      can you mark the thread solved?

      posted in FOG Problems
      X
      Xibeaga
    • RE: PartClone Error

      @tom-elliott
      Hi!

      i just saw, that FOG uses partclone 0.2.89 but 0.3.10 is actual.
      BTRFS seems to be an issue with partclone.

      Is there a way to upgrade partclone to 0.3.10 in a debian installation of fog ?

      thx!

      posted in FOG Problems
      X
      Xibeaga
    • RE: PartClone Error

      @tom-elliott
      Okay, clonezille (live) crashed too.
      it terminates without any error-message or exit-code.

      the only solution I came up at the moment is:
      running fog DEBUG and boot into a shell
      then mount the fog nfs share
      then dd both disks onto that share

      so, at least i have a backup 😉

      if you have any better idea, you are welcome!

      best regards,
      Xibeaga

      posted in FOG Problems
      X
      Xibeaga
    • RE: PartClone Error

      @tom-elliott
      hey, no problem at all! :)))

      Okay, ic. I suspected partclone too.

      I never used clonezilla, I just know it exists. I use fog since 0.98 or so… 😉
      Ok, I will try clonezilla on this.
      Hm, maybe i should try fog with dd first?

      posted in FOG Problems
      X
      Xibeaga