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

Skipping chkdsk?

Scheduled Pinned Locked Moved
General
5
27
12.3k
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.
  • D
    dvlsg
    last edited by Jul 18, 2012, 8:24 PM

    Yeah. I tend to swap between disables/enables as well as if/not-if and my own code gets thrown off like that all the time. I completely understand, haha.

    Easy fix though! Might want to report it as a bug, as well.

    1 Reply Last reply Reply Quote 0
    • A
      astrouga
      last edited by Jul 18, 2012, 8:41 PM

      [quote=“dvlsg, post: 4938, member: 1186”]Yeah. I tend to swap between disables/enables as well as if/not-if and my own code gets thrown off like that all the time. I completely understand, haha.

      Easy fix though! Might want to report it as a bug, as well.[/quote]
      Good idea. I’ll do that. I think Blackout is re-writing that portion of the code in .33 anyway, but I’ll go ahead and do it.

      Cheers,

      astrouga

      1 Reply Last reply Reply Quote 0
      • D
        dvlsg
        last edited by Jul 19, 2012, 2:41 PM

        Oh, just a heads up (and I just noticed this) – we just ran a Full Host registration and Inventory, and that [I]did[/I] do a chkdsk, after I switched the setting in the console.

        1 Reply Last reply Reply Quote 0
        • A
          astrouga
          last edited by Jul 23, 2012, 2:16 PM

          Doh! Well who knows then. I’ll see if that happens for me as well.

          1 Reply Last reply Reply Quote 0
          • A
            astrouga
            last edited by Jul 23, 2012, 3:42 PM

            I just tested the “full host registration and inventory” and selected the option to image the system. Seems “chkdsk=1” is passed the append initrd line of the pxe configuration file for the host in this case. If I select the “quick image” option there is no “chkdsk” option in the pxe configuration file.

            astrouga

            1 Reply Last reply Reply Quote 0
            • A
              astrouga
              last edited by Jul 23, 2012, 4:05 PM

              OK, seems the fastest was to disable this when you start imaging from the “full host registration and inventory” boot menu option is to edit /var/www/fog/services/auto.register.php and comment out the line that starts with
              [CODE]$other .= (" chkdsk=" . ($core->getGlobalSetting(“FOG_DISABLE_CHKDSK”) == “1” ? ‘0’ : ‘1’));[/CODE]
              so, it becomes
              [CODE]//$other .= (" chkdsk=" . ($core->getGlobalSetting(“FOG_DISABLE_CHKDSK”) == “1” ? ‘0’ : ‘1’));[/CODE]

              that stops the chkdsk option being added for just this boot menu option.

              astrouga

              1 Reply Last reply Reply Quote 0
              • D
                dvlsg
                last edited by Jul 25, 2012, 4:37 PM

                Interesting. I currently have it left as-is, since my organization typically doesn’t use quick imaging (we either have scheduled multicasts, or we use full host registration and inventory as new computers come in), but this is definitely good to know. Thanks for looking into it!

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                2 / 2
                • First post
                  21/27
                  Last post

                218

                Online

                12.2k

                Users

                17.3k

                Topics

                155.5k

                Posts
                Copyright © 2012-2024 FOG Project