another init.xz issue
-
@Wayne-Workman said in another init.xz issue:
@bmaster001 Then that means the kernel isn’t even loading. You could try a different boot file.
Can you not put this computer into BIOS mode somehow? I know computers are beginning to come out that are UEFI only, but if this machine can be set to BIOS and works that way, that’d be the route I’d recommend.
I tried disabling “uefi boot”: I then get some weird “boot menu” with no menu-items in it. I don’t really see any other option in the bios (maybe you see something on the screenshots that rings a bell?)
Another boot file? Not sure what you mean… please treat me like a newbie
-
@bmaster001 based on this replied post, it would appear to me the file you’re currently using is pxelinux.0 and not undionly it snp
-
@bmaster001 I think what Tom’s asking is for you to…
No that’s not the case here. The OP has to be getting ipxe.efi or iPXE would not boot. You can not boot a bios iPXE kernel on a uefi system. It has to be some flavor of .efi kernel.
Tom: Would it say bzImage32 if fog sent the 32 bit version of FOS to the target? I still think there is something up with the hardware.
-
@Tom-Elliott said in another init.xz issue:
@bmaster001 based on this replied post, it would appear to me the file you’re currently using is pxelinux.0 and not undionly it snp
I tried to put ipxe.efi in the filename, but that showed me the same boot-menu. When I disable uefi boot, it’s not even trying to network-boot. I get that boot-menu immediately after power-on. Nothing else is displayed.
I’m pretty sure that pfsense is setup correctly (see screenshot).
-
@Wayne-Workman said in another init.xz issue:
Can you boot it to a live linux disk successfully? If you can, what is the output of
lsblk
andlspci
? You could also turn up fogs kernel debug level so that maybe we see some errors.I wrote Ubuntu on a usb stick, and tried booting. When I choose “try ubuntu” from the grub menu, the screen goes black, and stays black. So that doesn’t seem to work very well…
-
@george1421 I think it’s the boot file specifically.
I don’t know which one is working.
-
@bmaster001 Great you posted the BIOS settings pictures. Try disabling the TPM Support completely!
-
@bmaster001 After you follow Sebastian’s request to disable TPM all together, if it still is having trouble booting…
I want you to try something. This is a bit self serving, but I’ve been working on a PXE less boot for the FOS engine (the software that runs on the target system that captures and deploys images). If you are willing to try, I would like you to build one and try to boot this device using a USB drive. If it doesn’t boot FOS then you are out of luck.
I will send you a link to the image via IM. Of course I would be skeptical about some chap from the internet telling me to download and run something so the instructions for building it yourself are here: https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image
You can write the fos-usb.img file to usb using dd in linux or Win32DiskImager from sourceforge https://sourceforge.net/projects/win32diskimager The image creation tool need to be run with “Run as Administrator” to have access to write the image to USB. You need a small USB for this 256MB or larger will work. The last thing you need to do is edit the file in \boot\grub\grub.cfg on the flash drive with Windows Write or better notepad++ (not MS notepad) and change the very first line so the ip address points to YOUR fog server.
Now insert this usb into this target computer and boot from it. At the grub menu pick the very last item to launch the debug kernel. After a few seconds you should see some text, press enter twice and you should be at a command prompt. If you get here, then we can run some debug commands.
-
Disabling TPM does not change anything.
Then, I tried your image. I see “loading the kernel”, “loading the virtual hard drive” and “booting the kernel…”. Then it halts. The TPM setting in the bios doesn’t change anything.
I guess this is bad news… ?
EDIT: When I disable “uefi boot” in the bios, I get more text, but it hangs again before I get a prompt (see screenshot below)
EDIT2: After a few hours of searching, I found a driverset of the VM3 device. It seems that the NIC used here is some sort of USB network device. The readme.txt mentions LAN95XX. Don’t know if that might help debugging this? I tried booting with a ipxe.iso that I created on rom-o-matic.eu, with all network drivers, but it can’t find any NIC. So I guess this driver isn’t included (yet)… -
@bmaster001 You need to add a kernel argument to this host. I believe it’s hasusbnic=1
-
@Quazz It’s
has_usb_nic=1
Article about it:
https://wiki.fogproject.org/wiki/index.php?title=USB_NIC_(usb_network_adapter) -
And it appears this is using a raid controller? Maybe change the BIOS hdd controller to AHCI or IDE, or set mdraid=true to the hosts kernel arguments.
-
No idea if it’s using a raid controller. There’s no option like that in the bios anyway…
I tried “has_usb_nic=1 mdraid=true” in the kernel arguments field for the host, but it keeps hanging on “init.xz…ok” when I create a capture-task for it.Correction… I found the AHCI/IDE option. Will try that as well…
-
I actually took the time to look through the spec sheet this time, seems like the Ethernet port is located on the dock you plug the device in.
I don’t think that makes it a USB NIC, not sure how much support there is for such docks to be honest.
-
@bmaster001 said in another init.xz issue:
No idea if it’s using a raid controller. There’s no option like that in the bios anyway…
I tried “has_usb_nic=1 mdraid=true” in the kernel arguments field for the host, but it keeps hanging on “init.xz…ok” when I create a capture-task for it.Just for clarity, if you are booing with the FOS USB stick, you need to update the image args in the /boot/grub/grub.cfg file. The FOG server is not part of the booting process at this level.
-
@Quazz said in another init.xz issue:
I actually took the time to look through the spec sheet this time, seems like the Ethernet port is located on the dock you plug the device in.
I don’t think that makes it a USB NIC, not sure how much support there is for such docks to be honest.
Of course that doesn’t make it a USB NIC, but if the readme file that comes with the drivers say that it’s a USB NIC, then I tend to believe that The device itself doesn’t have any connections, so I assume that the dock is a “close extension” of the device, and we can see it as one.
-
@george1421 said in another init.xz issue:
Just for clarity, if you are booing with the FOS USB stick, you need to update the image args in the /boot/grub/grub.cfg file. The FOG server is not part of the booting process at this level.
Just for clarity too: I put “has_usb_nic=1 mdraid=true” at the end of the line "linux $myimage loglevel=7 … " near the bottom of the file?
-
Two updates:
- Switching between AHCI and IDE in the bios doesn’t make any difference when I try the capture task.
- This device is starting to annoy me. The usb connector on top doesn’t seem to work anymore now (usb keyboard nor usb stick are recognised). The only other usb connection still works but then I have to choose between USB stick and USB keyboard This thing also has a built-in ups so removing the power to really reset it, is not so easy: I have to remove a couple of screws to reach a reset-button. Ugh. I think I’m gonna leave it disconnected from the power during the night, and retry tomorrow morning.
Thanks again for the help guys, I’ll get back tomorrow with the results of the FOS usb stick… I hope.
-
@bmaster001 said in another init.xz issue:
@george1421 said in another init.xz issue:
Just for clarity, if you are booing with the FOS USB stick, you need to update the image args in the /boot/grub/grub.cfg file. The FOG server is not part of the booting process at this level.
Just for clarity too: I put “has_usb_nic=1 mdraid=true” at the end of the line "linux $myimage loglevel=7 … " near the bottom of the file?
Sorry I should have been a bit more descriptive, I knew exactly what I was talking about.
When you boot off the USB stick using the image I sent you. The booting kernel only looks at that usb drive for settings. So adding things into the fog console like mdraid=true will not make into the booting image. You need to update the /boot/grub/grub.cfg file and add those parameters into the capture deploy line.
Such as in this example.
menuentry "1. FOG Image Deploy/Capture" { echo loading the kernel linux $myimage loglevel=$myloglevel initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=$myfogip/fog/ boottype=usb consoleblank=0 rootfstype=ext4 has_usb_nic=1 mdraid=true echo loading the virtual hard drive initrd $myinits echo booting kernel... }
-
@bmaster001 Thanks for posting the picture. The messages about
raid6
might seem strange on first sight but are actually quite normal. See here or various otherdmesg
outputs on pastebin…Hanging right after some ACPI messages is what I find interesting. Maybe try kernel parameters to turn of ACPI altogether to see if it makes any difference. See here for a list of all the different kernel parameters. I’d start by trying
acpi=off
…