So I shutdown the 10.1.1.44 server and now when I try to PXE boot it points to a totally different server, unrelated. Is there anything in the undionly.kpxe file that controls that?
Posts made by SBrady
-
RE: Unable to PXE boot XenCenter VM to Fog
-
RE: Unable to PXE boot XenCenter VM to Fog
@george1421 The IP address for fog was never changed. The 10.1.1.44 was a provisioning server that is not related but was previously in the 66 & 67 lines on the DHCP Server for this specific subnet. My initial theory was maybe I need to restart the DHCP service because it’s still showing the previous entry.
@Sebastian-Roth Our DHCP Server is Windows 2008, we only have 1 and no dnsmasq or proxy. Using Microsoft DHCP, does it require a specific boot class or is the default boot class OK?
-
Unable to PXE boot XenCenter VM to Fog
I just built a virtual Windows 10 image and I’m trying to upload it to Fog. I changed the info on the DHCP server for line 066 & 067 to my Fog server and bootfile name (undionly.kpxe).
VM IP - 10.1.1.4
FOG IP - 10.1.1.244When I boot to network this is what I get:
066 and 067 for this subnet used to be set to a different server. The IP address 10.1.1.44 is from the previous entry. I’m not sure why it’s searching there or if it’s a DHCP issue.
tftp://10.1.1.44/default.ipxe… No such file or directory
-
Creating Windows 7 image with Sysprep
I am trying to create a fog image on a windows 7 machine. On a past version of Fog I used an unattend.xml file and ran a command to sysprep . I tried this recently and it uploaded to Fog but then would not boot to the operating system, so I have to rebuild the image from scratch. I just recently built a new fog server 1.5.7 and wanted to know if there is an updated way of doing this or if you can point me to an article on how to accomplish capturing the image once I am done building it?
Thank you in advance!
-
RE: Xen Virtual Server - Resize Disk / Partition?
@Sebastian-Roth @Daniel-Miller
I’m problably going to just build a new server. Which is better for Xen VM, guided or guided with LVM?
-
RE: Xen Virtual Server - Resize Disk / Partition?
@Sebastian-Roth Sadly I did not use a snapshot before making any changes I was under the impression I could shrink the vdisk if needed but when I tried it told me not possible. This is a fresh install I did awhile ago and only just installed and configured fog. I could do a new one if needed but honestly I would rather not. I was able to get gparted running on it but it’s all command line so more confusing to do. I also like the idea of cloning to a new drive and deleting the original if possible.
-
RE: Xen Virtual Server - Resize Disk / Partition?
@Daniel-Miller Thank you for the information. Is it possible to do this using command line if I have the gparted CD loaded?
-
RE: Xen Virtual Server - Resize Disk / Partition?
@Sebastian-Roth Thank you for the information. My issue is, I already expanded /dev/xvda to 250GB. If I create a new vdisk can I move the 250GB to it? I cannot reduce the size of /dev/xvda.
-
Xen Virtual Server - Resize Disk / Partition?
I created my Ubuntu 16.04.6 LTS server in XenCenter. I originally created a 25GB storage. I now would like to increase that storage but I’m having a hard time figuring it out if it’s even possible. I have already changed the 25GB to 250GB in Xen. The path is /dev/xvda. I see the Disk changed for xvda but I can’t add any space to xvda1. What are my options here? I’m trying to do this so I have more space for my images. Thank you.
-
RE: Cannot Install Fog on new Ubuntu 16.04 Server
@Sebastian-Roth Thank you for all your help. Based off of what you found in your previous post, it looks like our WebFilter is blocking the connection. I was able to get to these sites because I am an authenticated user but the Ubuntu server is unauthenticated. I changed it to be able to allow the unauthenticated connection and now it is installing with zero issues. Thank you again for your help in finding out what the issue was.
@george1421 Thank you for your help
-
RE: Cannot Install Fog on new Ubuntu 16.04 Server
https://forums.fogproject.org/topic/11641/adding-needed-repository-failed
This is the thread I found before posting on here regarding how to disable the repository, which worked and got me further than before. Is there anything else I can do? Or is there another known working solution on a different version of Ubuntu or FOG?
-
RE: Cannot Install Fog on new Ubuntu 16.04 Server
ran code:
curl "http://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C"
got this:
root@SLCOXXA0002:~# curl "http://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US"> <head> <title>lid_25793</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body content-type="text/plain; charset=UTF-8"> <span id="redir_msg" style="display: none"><p>Redirecting you to Web Security Gateway.</p></span><script language="JavaScript" x-barracuda="1"> if (0) { document.write('<div style="border: 1px dotted red; padding: 2px; font-family: sans; font-size: 12px; color: black; background-color: white">This portion of the requested page has been blocked.<br /><a href="http://172.27.72.27/cgi-mod/spyportal.cgi?_bcsp=1&_bceq=U2FsdGVkX18hi6qjMcegkUSYaLzTSfe69rtWzlD4NaE8tL17zdWw9k8_P1686yld4UakGgxQrxtLjp2dLNpT2NgVr9-YK-n7omv1WeeS5BnvFVFtvlCHwebvdrVQPnyNWB7iLnzGvpKX-3sBBWkAGePrmHeEey4Xi8wDOHyc-HJfDhJ84SwCgMspNC5e2fFDppMN48MZqKR-K8fIYPOb7vRp2R27lEmAOHircwCYLFAtKEqaPXIGTKCiQB54NRVAF9hS2aIZRMhn9JmZnhrlv3TYX-hNSe4s8fvTdlXc-eDgDsYMNjlHwMKanjNQe9iDIgsmMhtHFCvwuwBKQpPClWjStA81ftJ4okEZz8C7mvxQ5vk1fHoj7dT2Kmk2c2X8NQ4Y5IHXOFD2AnEarGz4J8vZpShH-5m9-a2f9XeSs0HEl38MWVFlEh7HwbV-D8mRjPCAZdXMUQfah31OdUJdA61gUmu6jZ2mEvtWI2BbIJBIypra0f_gZAPaSv6Jy9QPE-dMYcdR6x0yB08VpNKwYTuh86QxVOXFSqUK4dYq-SAbbwM4kCV-qvd708SZH6JRohKglYIdwH9ocrE4XeeTckb8W_ErvP9xDieqjYPqu3H-cqW45gI8GD9DamsMHHaM-mukKH9Nvh_gJ9Wj1_Ulrg.." target="_top">Click here for details.</a></div>'); } else { if (!0) { var toploc; try { toploc = top.document.location } catch (err) { toploc = err }; if ((toploc == document.location)) { document.getElementById('redir_msg').style.display = 'inline'; if (location.replace) { location.replace('http://172.27.72.27/cgi-mod/spyportal.cgi?_bcsp=1&_bceq=U2FsdGVkX18hi6qjMcegkUSYaLzTSfe69rtWzlD4NaE8tL17zdWw9k8_P1686yld4UakGgxQrxtLjp2dLNpT2NgVr9-YK-n7om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ZdXMUQfah31OdUJdA61gUmu6jZ2mEvtWI2BbIJBIypra0f_gZAPaSv6Jy9QPE-dMYcdR6x0yB08VpNKwYTuh86QxVOXFSqUK4dYq-SAbbwM4kCV-qvd708SZH6JRohKglYIdwH9ocrE4XeeTckb8W_ErvP9xDieqjYPqu3H-cqW45gI8GD9DamsMHHaM-mukKH9Nvh_gJ9Wj1_Ulrg..'; } } else { document.write('<div style="border: 1px dotted red; padding: 2px; font-family: sans; font-size: 12px; color: black; background-color: white">This portion of the requested page has been blocked.<br /><a href="http://172.27.72.27/cgi-mod/spyportal.cgi?_bcsp=1&_bceq=U2FsdGVkX18hi6qjMcegkUSYaLzTSfe69rtWzlD4NaE8tL17zdWw9k8_P1686yld4UakGgxQrxtLjp2dLNpT2NgVr9-YK-n7omv1WeeS5BnvFVFtvlCHwebvdrVQPnyNWB7iLnzGvpKX-3sBBWkAGePrmHeEey4Xi8wDOHyc-HJfDhJ84SwCgMspNC5e2fFDppMN48MZqKR-K8fIYPOb7vRp2R27lEmAOHircwCYLFAtKEqaPXIGTKCiQB54NRVAF9hS2aIZRMhn9JmZnhrlv3TYX-hNSe4s8fvTdlXc-eDgDsYMNjlHwMKanjNQe9iDIgsmMhtHFCvwuwBKQpPClWjStA81ftJ4okEZz8C7mvxQ5vk1fHoj7dT2Kmk2c2X8NQ4Y5IHXOFD2AnEarGz4J8vZpShH-5m9-a2f9XeSs0HEl38MWVFlEh7HwbV-D8mRjPCAZdXMUQfah31OdUJdA61gUmu6jZ2mEvtWI2BbIJBIypra0f_gZAPaSv6Jy9QPE-dMYcdR6x0yB08VpNKwYTuh86QxVOXFSqUK4dYq-SAbbwM4kCV-qvd708SZH6JRohKglYIdwH9ocrE4XeeTckb8W_ErvP9xDieqjYPqu3H-cqW45gI8GD9DamsMHHaM-mukKH9Nvh_gJ9Wj1_Ulrg.." target="_top">Click here for details.</a></div>'); } } } </script><noscript><p>JavaScript has been disabled in your browser.</p> <p><a href="http://172.27.72.27/cgi-mod/spyportal.cgi?_bcsp=1&_bceq=U2FsdGVkX18hi6qjMcegkUSYaLzTSfe69rtWzlD4NaE8tL17zdWw9k8_P1686yld4UakGgxQrxtLjp2dLNpT2NgVr9-YK-n7omv1WeeS5BnvFVFtvlCHwebvdrVQPnyNWB7iLnzGvpKX-3sBBWkAGePrmHeEey4Xi8wDOHyc-HJfDhJ84SwCgMspNC5e2fFDppMN48MZqKR-K8fIYPOb7vRp2R27lEmAOHircwCYLFAtKEqaPXIGTKCiQB54NRVAF9hS2aIZRMhn9JmZnhrlv3TYX-hNSe4s8fvTdlXc-eDgDsYMNjlHwMKanjNQe9iDIgsmMhtHFCvwuwBKQpPClWjStA81ftJ4okEZz8C7mvxQ5vk1fHoj7dT2Kmk2c2X8NQ4Y5IHXOFD2AnEarGz4J8vZpShH-5m9-a2f9XeSs0HEl38MWVFlEh7HwbV-D8mRjPCAZdXMUQfah31OdUJdA61gUmu6jZ2mEvtWI2BbIJBIypra0f_gZAPaSv6Jy9QPE-dMYcdR6x0yB08VpNKwYTuh86QxVOXFSqUK4dYq-SAbbwM4kCV-qvd708SZH6JRohKglYIdwH9ocrE4XeeTckb8W_ErvP9xDieqjYPqu3H-cqW45gI8GD9DamsMHHaM-mukKH9Nvh_gJ9Wj1_Ulrg..">Proceed to detail/login page</a></p></noscript> </body> </html>root@SLCOXXA0002:~#
Ran this:
wget -O - "http://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C" | apt-key add -
Got this:
root@SLCOXXA0002:~# wget -O - "http://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C" | apt-key add - --2019-08-06 13:57:04-- http://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C Resolving keyserver.ubuntu.com (keyserver.ubuntu.com)... 162.213.33.9, 162.213.33.8 Connecting to keyserver.ubuntu.com (keyserver.ubuntu.com)|162.213.33.9|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: âSTDOUTâ - [ <=> ] 4.99K --.-KB/s in 0s 2019-08-06 13:57:09 (121 MB/s) - written to stdout [5105] gpg: no valid OpenPGP data found. root@SLCOXXA0002:~# root@SLCOXXA0002:~# wget -O - "http://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C" | apt-key add - --2019-08-06 13:57:04-- http://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C Resolving keyserver.ubuntu.com (keyserver.ubuntu.com)... 162.213.33.9, 162.213.33.8 Connecting to keyserver.ubuntu.com (keyserver.ubuntu.com)|162.213.33.9|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: âSTDOUTâ - [ <=> ] 4.99K --.-KB/s in 0s 2019-08-06 13:57:09 (121 MB/s) - written to stdout [5105] gpg: no valid OpenPGP data found. root@SLCOXXA0002:~#
-
RE: Cannot Install Fog on new Ubuntu 16.04 Server
@Sebastian-Roth When I go to that link in IE or Chrome, I see all the packages and releases.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Origin: LP-PPA-ondrej-apache2 Label: PPA for Apache 2.x Suite: xenial Version: 16.04 Codename: xenial Date: Tue, 06 Aug 2019 15:45:52 UTC Architectures: amd64 arm64 armhf i386 powerpc ppc64el s390x Components: main Description: Ubuntu Xenial 16.04 MD5Sum:
When I put the command in Ubuntu, I get the following:
root@SLCOXXA0002:~# wget http://ppa.launchpad.net/ondrej/apache2/ubuntu/dists/xe nial/InRelease --2019-08-06 09:05:47-- http://ppa.launchpad.net/ondrej/apache2/ubuntu/dists/xe nial/InRelease Resolving ppa.launchpad.net (ppa.launchpad.net)... 91.189.95.83 Connecting to ppa.launchpad.net (ppa.launchpad.net)|91.189.95.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: âInReleaseâ InRelease [ <=> ] 4.73K --.-KB/s in 0.001s 2019-08-06 09:05:52 (4.46 MB/s) - âInReleaseâ saved [4845] root@SLCOXXA0002:~#
Also, I will check with my Sr. Engineer about the other stuff you mentioned and see if they’re being blocked.
-
RE: Cannot Install Fog on new Ubuntu 16.04 Server
@Sebastian-Roth Update: I built a new server and added the NIC before installing Ubuntu. Didn’t make a difference and got the same outcome.
Here are the logs, they might be cleaner or show something different:
-
RE: Cannot Install Fog on new Ubuntu 16.04 Server
@Sebastian-Roth Hi Sebastian, I ran the commands you suggested and this was the outcome:
I’m able to ping google.com and use SSH. The only thing I can think of is when I create the VM I do not add the NIC until after I install Ubuntu. I can try to do a clean install and add the NIC sooner if that helps.
-
RE: Cannot Install Fog on new Ubuntu 16.04 Server
@george1421 Here are the logs, I am not sure what to look for. If there is anything else you need from me, please let me know. I can try again and do a fresh install from a snapshot since I was trying different things with this install and installed a couple times over, so some stuff was already installed. Thank you
-
RE: Cannot Install Fog on new Ubuntu 16.04 Server
@george1421 Hi George, thank you for your reply. I work for a company that has used Fog since 2012. We were still on 1.2.0, doing Windows 7 images every now and then or when we needed to pump out a few new workstations. Recently we received new workstations that could not be reverted back to Win7 so we need to keep them on Win10. This will require a new Ubuntu Server and Fog version. I had to come up with a quick solution so I found an article on how to build one, and tried it out. If you have a better way, I will gladly try it. I found the error logs,
-
Cannot Install Fog on new Ubuntu 16.04 Server
I was following this guide https://www.ceos3c.com/open-source/install-fog-server-ubuntu-server-16-04-lts-ultimate-guide-virtualbox/
I built a new Ubuntu 16.04 Server VM on XenCenter 6.5, installed XenTools, changed IP to static, and updated system to latest patch level.
I try to install Fog using the following commands:
sudo -i
cd /opt/
git clone https://github.com/fogproject/fogproject.git fog_stable/
reboot nowsudo -i
cd /opt/fog_stable/bin
./installfog.shThe install starts and then ends with Adding repository if needed…Failed!
I found some information on how to disable the Repository
I edited the line 623 and put a # in front of errorStat on the following file /opt/fog_stable/lib/common/functions.shesac ;; esac #errorStat $? dots "Preparing Package Manager"
I ran the install again, this time it doesn’t faill but bypasses and keeps installing. It goes great until it asks me if the MySQL password is blank. At first I said Y and it crapped out. I retried everything again and said N, entered the password, confirmed password, and it craps out again. This time, on Stopping Web Service…Failed!
Also, if it helps, I am just trying to build a new Fog for imaging Win10 PC’s. If you know a better way or if there is something else I can do, please let me know.
Any help would be greatly appreciated. Thank you in advance!
-
RE: Re-sizing the Partition/Adding More Storage
@george1421 Yea I tried to do the fdisk thing and also thought it was scary so stopped before I could do any damage. I might try again because I have a snapshot of the server so If I do anything I can just revert to the snapshot. I just wanted to be pointed in the right direction before I put time into it. I’m reading the first article you posted and if that doesn’t work I will try using fdisk. Thank you for replying, I’ll let you know what happens
-
Re-sizing the Partition/Adding More Storage
I’m using Citrix XenCenter version 6.5 and built a Fog virtual server. Originally it was allocated 80GB of storage. I changed it to 160GB on XenCenter but can’t figure out how to do it on the Fog server. I’ve tried GParted and some command line stuff but nothing is working for me. How do I re-size this? Please let me know if you need any additional information or screen shots.