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

    Invalid Operating System (D5) Capone & Windows 7

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    17
    5.6k
    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.
    • I
      Ian C
      last edited by

      The Host OS is Windows 7, For my machine. I did a quick Registration then set the host OS in the Web GUI

      See Screenie 🙂

      [url=“/_imported_xf_attachments/0/306_Screenshot from 2013-05-08 11:23:30.png?:”]Screenshot from 2013-05-08 11:23:30.png[/url]

      1 Reply Last reply Reply Quote 0
      • Jaymes DriverJ
        Jaymes Driver Developer
        last edited by

        Try to set it to “vista” someone else had an issue pushing windows 7 images but resolved it by selecting “Vista” under OS type.

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        1 Reply Last reply Reply Quote 0
        • I
          Ian C
          last edited by

          Okay i tried switching it to Vista, Now it says:

          Invalid Operating system id (D2)

          Instead of D5 😕

          1 Reply Last reply Reply Quote 0
          • Jaymes DriverJ
            Jaymes Driver Developer
            last edited by

            Try a few different ones, just go thru the list, keep track of what they say, I’m sure Chad will be able to sort it out XD.

            I know that the problem is stemming from the Image and the OS selected.

            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

            1 Reply Last reply Reply Quote 0
            • I
              Ian C
              last edited by

              Okay i just finished trying all of them. Same problem just with different numbers.
              I also tried deleteing the image and host and re-registering with re image upload and no avail.

              1 Reply Last reply Reply Quote 0
              • I
                Ian C
                last edited by

                Still having no luck with this. If anyone can help that would be great. Doing these machines one by one is a real pain 😄

                1 Reply Last reply Reply Quote 0
                • C
                  chad-bisd Moderator
                  last edited by

                  I’m not as familiar with Capone as the rest of FOG, but try changing the image name to something without spaces or special characters and see if that helps. Just a guess, but the bash script that is processing your request may error out on the name, but display a misleading error message.


                  If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                  1 Reply Last reply Reply Quote 0
                  • M
                    Matt.Collins
                    last edited by

                    Is this your original fog server? We had an issue in another district when migrating certain images off to another fog server and when manually recreating the image definitions, it would error out with the same message. We ended up having to migrate the entire /images directory versus just the select images that were used at that site.

                    1 Reply Last reply Reply Quote 0
                    • C
                      cholt
                      last edited by

                      Did anyone ever find a solution to this issue? We are having the same problem here with a new install.
                      Fog .32, Ubuntu 12.04.4 Windows 7 Pro images coming from identical model machines.
                      Error is "Invalid Operating System id (i5)

                      1 Reply Last reply Reply Quote 0
                      • J
                        jbsclm Developer
                        last edited by

                        It is a problem with the fog.capone script. It has been fixed in 0.33 however the 0.32 problem is documented here with a fix.
                        [url]http://fogproject.org/forum/threads/capone-and-fog-0-32-not-working-errors.192/#post-762[/url]

                        essentially.
                        copy init.gz (just in case it all goes wrong)
                        uncompress init.gz
                        mount it
                        edit /bin/fog.capone as per the instructions
                        unmount init.gz
                        compress init.gz

                        Hope this helps.

                        PS
                        the modified fog.capone is in the link above, which will save you editing it.

                        1 Reply Last reply Reply Quote 0
                        • C
                          cholt
                          last edited by

                          Thank you for the link.

                          I followed all the steps and now the capone module shuts the machine down after displaying
                          …
                          Starting network…
                          ip: RTRNETLINK answers: File exists
                          /etc/init.d/S99fog: line 72: /bin/fog.capone: Permission denied
                          The system is going down NOW!
                          Sent SIGTERM to all processes
                          …

                          So it just shuts down in a huff.
                          I just copied the file over after using the Boot Image Editor utility. (had tried editing using the manual method but figured I was screwing something up that way)
                          Do I need to change permissions on the fog.capone file in the zip? If so, what should they be changed to?

                          Sorry, my UNIX classes were 1986 or so and I may be a little rusty.

                          Chris

                          1 Reply Last reply Reply Quote 0
                          • J
                            jbsclm Developer
                            last edited by

                            Hi Chris
                            That rings a bell.

                            If you copied the file in you’ll need to chmod the file, as it probably got dos permissions, which don’t come across into unix ones.

                            If you go to the folder and do
                            ls -l
                            it will tell you what the others are

                            ls -l fog.capone will give something like
                            -rw-rw-r–
                            which is 664, ignore the initial “-”, it is the sticky bit.
                            it will tell you what the others are, fog.capone needs to be the same.
                            At a guess they will be either 755 or 777

                            to set them you do

                            chmod 755 fog.capone

                            also check the ownership, and change as necessary with

                            chown <username> fog.capone.

                            at the end it should look the same as the others.

                            1 Reply Last reply Reply Quote 0
                            • C
                              cholt
                              last edited by

                              755 matched them all up. Owner/group of all files was “root root” already.

                              Okay, some progress?

                              Now I get:
                              /etc/init.d/S99fog: line 72: /bin/fog.capone: not found

                              I looked and line 72 is:
                              $run;

                              Which appears to be the result of else if on line 56-57:
                              elif [ “$mode” == “capone” ]; then
                              run=“/bin/fog.capone”;

                              Which looks peachy to me. Thanks for sticking with me on this. I’m going to get it one way or another!

                              .<
                              Chris

                              1 Reply Last reply Reply Quote 0
                              • J
                                jbsclm Developer
                                last edited by

                                It sounds like the name is wrong, but it looks right.
                                I’ll grab a copy of my working init.gz for you later today, and stick it on google drive for you.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jbsclm Developer
                                  last edited by

                                  My init.gz fixes the problem for 0.32, if anyone else needs a copy send me a message.

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

                                  177

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.3k

                                  Posts
                                  Copyright © 2012-2024 FOG Project