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

Cannot upload - too many bad sectors

Scheduled Pinned Locked Moved
FOG Problems
4
5
1.7k
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.
  • K
    kerridge0
    last edited by Jun 18, 2014, 9:09 AM

    Hi, one of the ways I use FOG is to use it to upload an image of a PC with bad sectors, so that I can swap a failing hard drive out.

    I know in general it’s not a good idea to upload an image from a bad hard drive but the previous version was actually quite forgiving and I never really ran into any problems with it when I did use it. When I get round to it, I tend to use a disk to disk cloning ISO, for this situation, but I thought I would use the issue as an excuse to try the latest Fog and and also make a copy of this XP image, which has an Office 2010 license on it.

    So after installing latest Fog and scheduling the upload task, it turns out that Partclone doesn’t run if there are too many bad sectors.

    I thought I’d try a debug upload and fiddle with the script but that just launches a script off the server by the looks of things.

    Nothing seems to be in Fog Settings either.

    My next step would be to look through the scripts and see where I can change the options on the partclone call - can anyone give me a pointer to where this might be?

    Thanks

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jun 18, 2014, 10:28 AM

      You might look in /bin/fog.upload and tweak the partclone call by simply adding --ignore_crc?

      I don’t know how well it will work though. Did you try setting the image as raw? This might help. I’m using partclone.imager to do raw copying and this may help you as well.

      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
      • W
        Wolfbane8653 Developer
        last edited by Jun 18, 2014, 12:09 PM

        I’m curious…If you change Fog Configuration–>FOG Settings–>General Settings–>FOG_LEGACY_FLAG_IN_GUI tick this option. Then go to Image Management–> Select your image --> change image settings and set the Deployment Method to partImage instead of partClone.

        Then upload with the bad sectors and deploy on the new HD.

        What happens? Will this actually work?

        1 Reply Last reply Reply Quote 0
        • J
          Junkhacker Developer
          last edited by Jun 18, 2014, 1:52 PM

          [quote=“Wolfbane8653, post: 30648, member: 3362”]I’m curious…If you change Fog Configuration–>FOG Settings–>General Settings–>FOG_LEGACY_FLAG_IN_GUI tick this option. Then go to Image Management–> Select your image --> change image settings and set the Deployment Method to partImage instead of partClone.

          Then upload with the bad sectors and deploy on the new HD.

          What happens? Will this actually work?[/quote]

          all images are uploaded in partclone format in the latest fog. if an image is set to partimage, it still uploads as a partclone image, then changes the setting from partimage to partclone.

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • K
            kerridge0
            last edited by Jun 23, 2014, 9:36 AM

            Thank you for the information. Actually, the hard drive was too far gone, I tried RAW and no luck with that it crashed quite quickly. I have copied using another utility for now.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              5/5
              Last post

            198

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project