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

PXE boot BItdefender Rescue CD fails

Scheduled Pinned Locked Moved Solved
FOG Problems
3
12
1.1k
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.
  • J
    jd272
    last edited by Jun 23, 2019, 9:07 AM

    I am trying to network boot Bitdefender Rescue CD (latest iso file downloaded from bitdefender’s website) following instructions from the wiki : https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu#Bitdefender

    PXE booting client => I get NFS mounting failed error. From the shell I can’t mount X.X.X.X:/images/dev neither with nfs version3 nor v4 (NFS server supports v3,v4 UDP & TCP).

    lsmod shows NFS module is loaded. I tried on another ubuntu machine and I succeed to mount no matter which NFS version I use, so I guess the server side is working. I also tried with Fog 1.5.6 & got the same result.

    I spent quite some time on this one so I’d be happy if someone could help me. Thanks alot

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Jun 23, 2019, 11:24 AM

      So just to be clear you can mount the fog server /images/dev directory for a second linux computer but your bitdefender OS can not?

      When you drop to the OS shell on the bitdefender OS you can’t manually nfs mount the fog server?

      I’m asking because looking at the wiki page it appears the boot syntax is very similar to ubuntu live boot. You need a specific netboot kernel for ubuntu to do this.

      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!

      1 Reply Last reply Reply Quote 0
      • J
        jd272
        last edited by Jun 23, 2019, 12:52 PM

        Sorry I wasn’t clear enough so I took a few captures, hopefully it will help :

        Here is the error I get with my diskless test client

        bitdefender-NFSerror.png

        Drop to the shell and trying to manually nfs mount the fog server :

        Capture du 2019-06-23 14-38-17.png

        Then nfs mounting the fog server from my Ubuntu 18.04 host :

        Capture du 2019-06-23 14-41-51.png

        As you can see, it worked :

        Capture du 2019-06-23 14-42-21.png

        G 1 Reply Last reply Jun 23, 2019, 2:04 PM Reply Quote 0
        • G
          george1421 Moderator @jd272
          last edited by george1421 Jun 23, 2019, 8:06 AM Jun 23, 2019, 2:04 PM

          @jd272 OK, when you are at the linux shell on the remote system (second picture below) when you get the protocol not supported, is there anything helpful in /var/logs to what protocol its try to support.

          Since I don’t have a fog server console handy at the moment, what do you get when you run this on the fog server rpcinfo -p 127.0.0.1 | egrep "service|nfs" Note: you may have to use the fog server’s real IP address if that doesn’t return any useful information.

          Its possible that the supplied kernel only supports something like nfs v2. It would be odd, but possible.

          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!

          J 1 Reply Last reply Jun 23, 2019, 2:59 PM Reply Quote 0
          • J
            jd272 @george1421
            last edited by Jun 23, 2019, 2:59 PM

            @george1421 I can’t find any logs at all when Im at the linux shell

            On the fog server nfs supports v3 & v4 :

            Capture du 2019-06-23 16-46-09.png

            I edited nfs server conf to enable v2 support

            Capture du 2019-06-23 16-50-28.png

            Same result from the test client with vers=2 :

            Capture du 2019-06-23 16-57-52.png

            G 1 Reply Last reply Jun 23, 2019, 3:40 PM Reply Quote 0
            • G
              george1421 Moderator @jd272
              last edited by Jun 23, 2019, 3:40 PM

              @jd272 Interesting, I just don’t know what that client is needing then. I kind of suspected nfsv2 because they are only supplying a 32 bit kernel. on that pxe booting client there isn’t anything in the log directory? And demsg doesn’t return anything either?

              It can’t be the firewall and selinux is enabled on the fog server because you were able to connect via the ubuntu server. I don’t know if the fog server would have any logs of the nfs server to see if the client is trying to do something strange, like maybe the credential being used to connect to the share are not allowed… but then again it should tell us that not protocol error.

              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!

              J 1 Reply Last reply Jun 23, 2019, 3:50 PM Reply Quote 0
              • J
                jd272 @george1421
                last edited by Jun 23, 2019, 3:50 PM

                @george1421 There isnt /var/log directory at all,

                dmesg doesnt return any error, this all I found regarding NFS :

                Capture du 2019-06-23 17-48-37.png

                Honestly I m kind of stuck right now, I came here because I really have no clue …

                J 1 Reply Last reply Jun 26, 2019, 2:00 PM Reply Quote 0
                • J
                  jd272 @jd272
                  last edited by Jun 26, 2019, 2:00 PM

                  @george1421 At last I succeeded to network boot latest Bitdefender Rescue CD

                  What helped me is when I dropped to the client shell, I saw /lib/modules/$KERNEL/modules.order was listing nfsv3.ko, nfsv4.ko & other .ko files related to nfs, but they were missing in /lib/modules/$KERNEL/fs/nfs & /lib/modules/$KERNEL/fs/nfs_common …

                  Basically what I did is extract init file (initfs.i386-pc) file provided in Bitdefender’s iso and extract the filesystem (livecd.squashfs)
                  Then rsync both /lib/modules/$KERNEL/fs/ directories to inject missing .ko files in the initfs, and recompress to a new initfs. Then modify ipxe settings to point to the updated initfs.i386-pc and …
                  IT WORKED

                  I guess you can mark this one as solved, if you want I can detail all the steps or provide the working initfs.i386-pc file. Thanks for your support

                  G 1 Reply Last reply Jun 26, 2019, 2:11 PM Reply Quote 2
                  • G
                    george1421 Moderator @jd272
                    last edited by Jun 26, 2019, 2:11 PM

                    @jd272 So the question is, why are these files missing and should you notify the bitdefender folks that their documents setup does not work as outlined?

                    I understand you found an path forward for you (well done by the way), but shouldn’t what you discovered be fixed by the developers? If it isn’t fixed, you will have to do the same thing next time as well as others will run into the same wall as you. Understand my perspective is from the open source community where we are all good open source neighbors.

                    While your issue isn’t fog related in any way, if you want to go ahead a write a tutorial in the fog tutorial forum, everyone would appreciate it. Maybe it will help someone out in the future with the same struggles.

                    But in the end well done finding a solution to your problem and to use FOG in a different way than it was designed. It goes to show the flexibility of the FOG open source platform.

                    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!

                    1 Reply Last reply Reply Quote 0
                    • J
                      jd272
                      last edited by Jun 26, 2019, 2:32 PM

                      @george1421 I totally share your point of view. Be sure I’ll let them know

                      1 Reply Last reply Reply Quote 1
                      • A
                        Aaron.Nolet
                        last edited by May 18, 2021, 6:38 PM

                        @jd272 Any chance on getting some clearer step by step doc on the procedure?

                        G 1 Reply Last reply May 18, 2021, 10:51 PM Reply Quote 0
                        • G
                          george1421 Moderator @Aaron.Nolet
                          last edited by george1421 May 18, 2021, 5:17 PM May 18, 2021, 10:51 PM

                          @aaron-nolet said in PXE boot BItdefender Rescue CD fails:

                          @jd272 Any chance on getting some clearer step by step doc on the procedure?

                          Looking into this, it looks like its possible to go boot it via pxe. I should be able to add the instructions to my tutorial. I don’t plan on testing this myself, but if you would want to verify my tutorial I think I can give you what you need to get started.

                          https://forums.fogproject.org/post/143187

                          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!

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

                          169

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project