PXE boot BItdefender Rescue CD fails
-
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
Drop to the shell and trying to manually nfs mount the fog server :
Then nfs mounting the fog server from my Ubuntu 18.04 host :
As you can see, it worked :
-
@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.
-
@george1421 I can’t find any logs at all when Im at the linux shell
On the fog server nfs supports v3 & v4 :
I edited nfs server conf to enable v2 support
Same result from the test client with vers=2 :
-
@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.
-
@george1421 There isnt /var/log directory at all,
dmesg doesnt return any error, this all I found regarding NFS :
Honestly I m kind of stuck right now, I came here because I really have no clue …
-
@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 WORKEDI 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
-
@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.
-
@george1421 I totally share your point of view. Be sure I’ll let them know
-
@jd272 Any chance on getting some clearer step by step doc on the procedure?
-
@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.