Can upload and image, can’t deploy on Acer
-
Hello! I am running Fog 1.2.0 on Ubuntu 12.04. I successfully created and uploaded a Win7 image from an Acer Aspire X3910 desktop machine, but I am unable to deploy that image back onto that same model. I’ve tried it on a couple different units of the same model and they all hang up then go into a reboot loop. I have tried several of the different Fog kernels, but none of them have fixed the issue. Can anyone give me some ideas on things I might try? Thanks!
-
I meant to type “Can upload AN image” for the topic.
-
What TFTP boot file are you using on your DHCP server? Are you using dnsmasq? Does the upload truly finish all the way?(make sure to check the task management section to see if the upload is stuck.)
-
The most common cause for reboot loops after imaging that I’ve seen is that the bios has a different drive type set then the one you uploaded from ACPI vs ide ect…
-
[quote=“SeqSupport@Edkey, post: 46330, member: 27616”]What TFTP boot file are you using on your DHCP server? Are you using dnsmasq? Does the upload truly finish all the way?(make sure to check the task management section to see if the upload is stuck.)[/quote]
Where would I go to check the TFTP boot file type?
-
Option 67 on your DHCP server.
-
You might also check to see if you’re image is stuck in /images/dev
-
[quote=“Joseph Hales, post: 46334, member: 18131”]Option 67 on your DHCP server.[/quote]
Where would I go to check that? Sorry, I am new to all this linux stuff.
-
[quote=“PageTown, post: 46354, member: 29454”]Where would I go to check that? Sorry, I am new to all this linux stuff.[/quote]
Check this page out, it’ll explain 067 for DHCP, and has links to dnsmasq if you use that.
[url]http://fogproject.org/wiki/index.php/DHCP_Settings#FOG_dnsmasq_.28ProxyDHCP.29[/url] -
[quote=“Wayne Workman, post: 46362, member: 28155”]Check this page out, it’ll explain 067 for DHCP, and has links to dnsmasq if you use that.
[url]http://fogproject.org/wiki/index.php/DHCP_Settings#FOG_dnsmasq_.28ProxyDHCP.29[/url][/quote]Thanks! I am unable to find where I need to go in Ubuntu 12.04 to see/change anything on that page though.
-
[quote=“PageTown, post: 46327, member: 29454”]Hello! I am running Fog 1.2.0 on Ubuntu 12.04. I successfully created and uploaded a Win7 image from an Acer Aspire X3910 desktop machine, but I am unable to deploy that image back onto that same model. I’ve tried it on a couple different units of the same model and they all hang up then go into a reboot loop. I have tried several of the different Fog kernels, but none of them have fixed the issue. Can anyone give me some ideas on things I might try? Thanks![/quote]
I was just pointing you to that link because you asked… but, I don’t think that your option 067 / boot-file settings are the problem.
Because you were able to upload an image, this tells me you were able to network boot the machine, got the fog menu probably, registered the machine probably, created an image container, and created an upload task, and then were able to complete an upload… You’ve got a lot done, already. And you’re very close to being done completely.
I think your issue is FTP, which is why I asked you to check your /images/dev directory.
If you’re using the defaults, you can do that with this command:
[CODE]ls -laR /images[/CODE]
That will list everything in /images recursively.
Look at the /images/dev directory. If you’ve got a directory in there with the MAC address of your target-host for the directory name, then you’ve got yourself an FTP problem… and if you’ve got yourself an FTP problem, 90% of the time it’s just permissions/credentials related. You should also see files called /images/.mntcheck and /images/dev/.mntcheck in there. -
Here’s what’s I got when I ran ls -laR /images. The image I am trying to deploy is AcerIntel:
[url=“/_imported_xf_attachments/1/1941_PageTownImages.zip?:”]PageTownImages.zip[/url]
-
[quote=“PageTown, post: 46537, member: 29454”]Here’s what’s I got when I ran ls -laR /images. The image I am trying to deploy is AcerIntel:[/quote]
Permissions look good to me. Everything owned by root:root, everything 777. You’ve got .mntcheck in the right spots.
[quote=“SeqSupport@Edkey, post: 46330, member: 27616”]What TFTP boot file are you using on your DHCP server? Are you using dnsmasq? Does the upload truly finish all the way?(make sure to check the task management section to see if the upload is stuck.)[/quote]
Coming back to the TFTP thing that SeqSupport brought up, I think that’s the next place to look.
I believe you’re running your own DHCP, right? yes.
[quote=“PageTown, post: 46443, member: 29454”]
Here’s what’s in my etc/dhcp/dhcpd.conf file:DHCP Server Configuration file.
see /usr/share/doc/dhcp*/dhcpd.conf.sample
This file was created by FOG
use-host-decl-names on;
ddns-update-style interim;
ignore client-updates;
next-server 10.1.0.185;subnet 10.1.0.0 netmask 255.255.254.0 {
option subnet-mask 255.255.254.0;
range dynamic-bootp 10.1.0.10 10.1.0.254;
default-lease-time 21600;
max-lease-time 43200;
option domain-name-servers 127.0.0.1;
option routers 10.1.0.185;
filename “undionly.kpxe”;}[/quote]
See where it says: [CODE]filename “undionly.kpxe”;[/CODE]
That’s how you’d change the boot file you’re using. Try using undionly.kkpxe
Any change you make to your DHCP configuration file requires a DHCP restart. Remember the command to do that? Also, if you’re wondering where these files are, they are in /tftpboot the ones with .efi extensions are for UEFI systems. the ones without it are for BIOS systems.