• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Boot Problem with restoring image to HP Z Series (Z230) & Clonezillia IPXE Boot

Scheduled Pinned Locked Moved Solved
Windows Problems
4
30
16.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    Trixsta101
    last edited by Trixsta101 Jun 10, 2015, 2:27 PM Jun 5, 2015, 1:27 AM

    Hi

    We have about 75 new Hp Z230 and would like to use fog…

    Fog 1.2.0

    Problem:

    I setup a z230 with RAID1 (2x 1TB)
    Installed windows 7x64 & patch
    Run Fog Prep & upload image.
    Fog image setting: multiple partition image single disk ( not resizable) & All tried ALL DISKS

    Image uploads fine… Deploying it to another machine i get this: Degraded raid1 and it wont boot.

    If i run bootrec /rebuild bcd it will boot windows… Then my problem is the RAID1, soon as i select the second drive and say rebuild it wont boot and its need to boot windows to start rebuild.

    I would like to multicast deploy this image and need to do with without affecting the raid1!
    IMG_3345.JPG

    IMG_3344.JPG

    T 1 Reply Last reply Jun 5, 2015, 10:50 AM Reply Quote 0
    • W
      Wayne Workman
      last edited by Jun 5, 2015, 1:46 AM

      Can you try NOT using FOG prep, and re-upload?

      Also, you might have better luck with FOG Trunk. https://wiki.fogproject.org/wiki/index.php/SVN

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      T 1 Reply Last reply Jun 7, 2015, 10:40 PM Reply Quote 0
      • T
        Tom Elliott @Trixsta101
        last edited by Jun 5, 2015, 10:50 AM

        @Trixsta101 Based on what I’m reading, the systems are your average (more or less) consumer grade desktops? They’re mounting the disk as a RAID volume, before the OS sees them?

        FOG is technically capable, as you’re seeing, of imaging these types of setups, but I think the problem isn’t the RAID directly. The way FOG operates is to detect the HDD in the Linux side (What’s loaded when a task is setup). Many Consumer BIOS RAID utilities don’t control the volume and present the volume as a single device, it just sets the “Software raid” items to the disks in the array. This allows the system with proper drives to mount the disks in an array form and makes it look like the disk is a single device. This isn’t really true, though. If you look at the system far enough (Linux side is easiest to show what I mean), rather than a “Single” disk being shown as the “volume” for imaging/use, if you run FDISK on one of these systems you’ll likely see all of the disks listed individually in the system.

        It’s because of this the imaging seems to be having issues. It’s mounting the RAID part okay, but the “boot” partition is over-written of its boot information and then re-written with the basic boot info. This causes the boot item to lose track of the raid setup and fail to boot.

        I think this is what you’re seeing. /dev/sda’s MBR is being overwritten for the download process with one that doesn’t contain the raid information. This means when the system starts to boot (while it thinks it’s okay) it can’t actually see the data on the “raid” volume.

        This is just theory, but the only thing that seems to make sense to me at this point.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • T
          Trixsta101
          last edited by Jun 5, 2015, 11:24 AM

          Tried image again without fog prep… no luck! Same thing.

          Will the SVN update help with what your saying Tom? will this mess up anything by updating?

          :rage1: :rage2: :rage3: :goberserk: CHEAP RAID!

          I kinda get what you mean and if using disk part on the upload machine i see 1 volume with correct partitions etc…
          On the failed download pc it shows both disks, but that because after download one becomes a nonmember disk.

          Any ways around this? or other cloning solutions i could use maybe. at the moment im using acronis true image booting from ipxe menu.
          will be doing lot of these machines and would love to use fog.

          any help appreciated

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Jun 5, 2015, 11:27 AM

            Unfortunately I can’t give a solid answer on that.

            Theoretically it is possible, but it’s such an atypical thing. The problem with cheap raid is it’s storing the “array” layout on a disk rather than back to the BIOS/Controller. It’s this being overwritten that’s breaking the array causing it to go into a degraded state.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • T
              Trixsta101 @Wayne Workman
              last edited by Jun 7, 2015, 10:40 PM

              @Wayne-Workman

              Updated SVN (3525) and still the same issue…! Tried taking new uploaded image and after download to another machine… Broken array and wont boot.
              That Update looks good thou…

              Any other Things i might try?

              T 1 Reply Last reply Jun 7, 2015, 11:08 PM Reply Quote 0
              • T
                Tom Elliott @Trixsta101
                last edited by Jun 7, 2015, 11:08 PM

                @Trixsta101 While it’s not a perfect answer, I think it’s the best I can think of.

                Can you create the task you’re trying as a debug type? All you do is choose your particular task, and at the confirmation screen check the box for “Schedule as debug” and then confirm.

                Once booted, it will not try overwriting anything. Run the command fdisk -l, what do you see?

                Maybe the kernels and the init’s load your array already, but they also see you disks. If we know what device is the array name, set that as your kernel device.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                T 3 Replies Last reply Jun 7, 2015, 11:16 PM Reply Quote 0
                • T
                  Trixsta101
                  last edited by Jun 7, 2015, 11:12 PM

                  There are some error just before it downloads the image… Guessing this is the Raid causing issues with partitions.
                  FullSizeRender12.jpg FullSizeRender1.jpg FullSizeRender.jpg

                  1 Reply Last reply Reply Quote 0
                  • T
                    Trixsta101 @Tom Elliott
                    last edited by Jun 7, 2015, 11:16 PM

                    @Tom-Elliott said:

                    If we know what device is the array name, set that as your kernel device.

                    Will try this now.

                    1 Reply Last reply Reply Quote 0
                    • T
                      Trixsta101 @Tom Elliott
                      last edited by Jun 7, 2015, 11:33 PM

                      @Tom-Elliott

                      Array name is volume1, I created the array before starting the debug task
                      This is what i see after running fdisk -l
                      FullSizeRender-new.jpg

                      1 Reply Last reply Reply Quote 0
                      • T
                        Trixsta101 @Tom Elliott
                        last edited by Trixsta101 Jun 7, 2015, 6:24 PM Jun 8, 2015, 12:24 AM

                        @Tom-Elliott

                        I used fdisk -l | more so i could seeeverything and there’s alot???

                        FullSizeRender5.jpg FullSizeRender4.jpg FullSizeRender3.jpg FullSizeRender2.jpg FullSizeRender1.jpg FullSizeRender.jpg

                        1 Reply Last reply Reply Quote 0
                        • W
                          Wayne Workman
                          last edited by Jun 8, 2015, 12:33 AM

                          If this is a basic RAID 1 configuration,

                          Why not just disable it temporarily, and upload your image from a standard disk, then re-enable it and have RAID rebuild the clone?

                          Then, when you want to image, disable RAID, image, then enable RAID and have it rebuild the clone?

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          T 1 Reply Last reply Jun 8, 2015, 12:44 AM Reply Quote 0
                          • T
                            Trixsta101 @Wayne Workman
                            last edited by Jun 8, 2015, 12:44 AM

                            @Wayne-Workman

                            When you restore the image the disk become a non member disk… so to rebuild it asks you to select the new disk and this is the one with the image on it… if you proceed you close everything.

                            If i was to restore to 1 disk (with no raid)… when i create the raid1 it formats them both.

                            1 Reply Last reply Reply Quote 0
                            • W
                              Wayne Workman
                              last edited by Jun 8, 2015, 3:31 AM

                              Have you tried Clonezilla ?

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              T 1 Reply Last reply Jun 8, 2015, 10:48 AM Reply Quote 0
                              • T
                                Trixsta101 @Wayne Workman
                                last edited by Jun 8, 2015, 10:48 AM

                                @Wayne-Workman

                                No I haven’t… Is that an addon to fog or does get require another server setup?

                                W 1 Reply Last reply Jun 8, 2015, 11:56 AM Reply Quote 0
                                • W
                                  Wayne Workman @Trixsta101
                                  last edited by Jun 8, 2015, 11:56 AM

                                  @Trixsta101

                                  Clonezilla has no affiliation with FOG, and it does not require a server.

                                  It’s a bootable disk used for imaging. I only suggest this because, hey, if it works, that’s great. You have 75 computers to image, right?

                                  http://clonezilla.org/

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  T 1 Reply Last reply Jun 8, 2015, 8:33 PM Reply Quote 0
                                  • T
                                    Trixsta101 @Wayne Workman
                                    last edited by Jun 8, 2015, 8:33 PM

                                    @Wayne-Workman

                                    will give this a shot… would be good to have a backup if it works on software Raid.

                                    trying to add it to the ipxe boot menu, have this but wont boot… Any idea on how to live boot it?

                                    :clonezilla-live-2.3.2-22-amd64
                                    kernel http://${fog-ip}/${fog-webroot}/iso/clonezilla/vmlinuz
                                    initrd http://${fog-ip}/${fog-webroot}/iso/clonezilla/initrd.lz
                                    imgargs vmlinuz root=/dev/nfs boot=clonezilla netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/clonezilla/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                    boot || goto failed
                                    goto start

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      Wayne Workman
                                      last edited by Jun 8, 2015, 10:17 PM

                                      Check this post out: https://forums.fogproject.org/topic/4790/how-to-add-live-cd-iso-to-fog-1-2-on-ubuntu-12-04

                                      I’m going to be following this also, tonight.

                                      This ISO network booting question comes up over and over and over and over and over. It’s a never-ending question lol.

                                      If I can get it working, I’m going to make a very nice WiKi article on it.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                      Daily Clean Installation Results:
                                      https://fogtesting.fogproject.us/
                                      FOG Reporting:
                                      https://fog-external-reporting-results.fogproject.us/

                                      T 1 Reply Last reply Jun 8, 2015, 10:30 PM Reply Quote 0
                                      • T
                                        Trixsta101 @Wayne Workman
                                        last edited by Jun 8, 2015, 10:30 PM

                                        @Wayne-Workman
                                        came across this https://gist.github.com/robinsmidsrod/dc0dc70adba8dcd79cdf

                                        not sure if this would help? tried adding the forth line with no luck

                                        #!ipxe
                                        kernel /live/vmlinuz
                                        initrd /live/initrd.img
                                        imgargs vmlinuz boot=live username=user hostname=trusty config quiet union=overlayfs noswap edd=on nomodeset noeject locales= keyboard-layouts= ocs_live_run=“ocs-live-general” ocs_live_extra_param=“” ocs_live_batch=no ip= nomodeset vga=normal nosplash
                                        boot

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          Wayne Workman
                                          last edited by Wayne Workman Jun 8, 2015, 4:34 PM Jun 8, 2015, 10:33 PM

                                          It’s probably a step in the right direction.

                                          Keep searching though, but you’d probably have the best luck searching in the forums here for ISO tons of people have got it going on various versions of FOG.

                                          I’ll only be addressing the next release (the one you’re using), FOG 1.3.0

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          T 1 Reply Last reply Jun 8, 2015, 10:45 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            5/30
                                            Last post

                                          291

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project