Lenovo N22 PXE boot issues
-
@blue_steel That is using the linux system to create the usb boot drive from the .img file. If you want to use windows then you can use RUFUS to write the image file to the usb stick. As for moving the file from linux to windows you can use pscp (similar to scp for linux) from the putty stack.
-
@george1421 Ok, so I got as far as the .img file. Once I use RUFUS to make a dd bootable neither windows or linux recognize it. I most likely messed up somewhere earlier as I am a linux noob. For giggles, could I just copy the file in linux to a usb and go from there on my next go (since my linux and windows PCs will be the same machine)? Many apologies in advance.
-
@blue_steel in putty, to copy you select text and just right click. To paste something from the clipboard, just right click.
-
Ok, so maybe my issue is here…
mkfs.fat 3.0.28 (2015-05-16)
/dev/mapper/loop0p1: No such file or directory
Mount the filesystem via loopback
mount: special device /dev/mapper/loop0p1 does not exist
Install GRUB
grub-install: error: /usr/lib/grub/i386-efi/modinfo.sh doesn’t exist. Please specify --target or --directory.
grub-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn’t exist. Please specify --target or --directory.
Installing for i386-pc platform.
grub-install: error: failed to get canonical path of `/cow’.I am a linux noob running off of a live usb, so putty isn’t really possible. But I think my main issue might be in the above.
-
@blue_steel Let me make this img for you. I found out during testing that I have the best luck with ubuntu but there are adjustments needed to the script. I’ll create a current img file and upload it to dropbox so you can get it. That would address your issues.
-
@george1421 You are truly a wizard!
-
@george1421 Some success!!!
-
@blue_steel Excellent.
- Make sure you have the network cable installed
- Now select option 6.
- When you see press enter to continue you will have to hit enter a few times.
- That should drop you to a command prompt. (This is the FOS engine command shell)
- Now key in
ip addr show
that should report the ip address of that target computer.
Hopefully the FOS engine sees your network adapter. If you can get this far then we can talk about part 2 if you don’t want to update your FOG server.
-
@george1421 Wamp Wamp. Hit a snag.
-
@blue_steel You might want to use the file info I sent you via DM to build that bootable usb drive. Something went wrong with the build you did.
-
@george1421 If I had to guess what is wrong with your build. I would check the grub.cfg file to make sure these variables are set
set myimage=/boot/bzImage set myinits=/boot/init.xz
The error would indicate that myimage is not set or is blank. OR bzImage doesn’t exist in the /boot folder on the usb drive.
-
@george1421 Ok, looking good it pulled an ip off the adapter. Well it shows 2 an inet and a brd.
-
@blue_steel Well I guess you are at a point where you need a management decision.
You can either upgrade the trunk version to the latest (or above r8050) or install 2 files from the trunk build and hope that they act responsible with your current build.
-
@george1421 on 7945 what do you think the odds are they will function reasonably well? I am for updating to trunk…just got to get it approved by the network admin.
-
This post is deleted! -
@george1421 Ok, so updated to trunk and I think it worked. A couple errors when trying the laptop.
Both registering the host and trying to upload an image.
It also passes the fog compatibility test, and pings the host fine under diagnostics.
-
-
@blue_steel So you found that the fog (linux user’s password) was out of sync with what the FOG database had?
-
@blue_steel said in Lenovo N22 PXE boot issues:
@blue_steel https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP#Credentials_.2F_Passwords
This seemed to help!@Tom-Elliott this is concerning, since those service pages should have ensured FTP credentials are correct.
-
@Wayne-Workman I’m confused isn’t that exactly what they did?