-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PXE - ubuntu casper-rw does not try to connect to samba #49
Comments
Hey there, Perhaps I also patched certain critical parts of some script inside the initrd image? ...I cannot remember anymore now. The other thing to do is interactively drop to shell when the initrd fails. And to try and poke around in there. Your ability to see what is going on inside the initrd environment is mostly hampered by a complete lack of diagnostic tools. Many basic commands are missing... so it might actually require you to add in certain missing cmdline tools and remake youself the initrd image. Anyhow if you can at least do an Beyond that... its a bit overwhelming because you have multiple different errors going on there. PXE booting from a docker image was never simple to begin with. |
Some further tips after that: See here docker-images/pxe/pxe.default/ipxe/boot.ipxe Lines 65 to 103 in e793b29
and here Makes sure you follow additional readme instructions here and also populate this folder with real files. They must all be unpacked from the iso You might need to repack the initrd archive after patching the casper helper script... If you were to drop into interactive shell when initrd image fails (the halted boot you showed earlier). and then check around line 200 of its |
Hi,
I need some help with PXE, which I installed on a second computer in my home.
I configured only the ubuntu part, including the casper-rw and home-rw files.
During network boot, the menu appears, after selecting either the ubuntu casper-rw menu or the installer iso menu, it starts loading initrd and vmlinuz, then starts booting showing a lot of logs as usual during linux boot.
Then, the ubuntu graphical screen appears with the logo and those 5 horizontal dots changing colors between white and red and, after a minute or two, it goes back to text mode and shows the message: (initramfs) Unable to find a live file system on the network.
I used wireshark to see what happens on the network and, after downloading initrd and vmlinuz, no other packet is sent over the network. Complete silence.
It's like it does not even try to connect to samba to download the rest of the files. I don't know what to do now.
Note: in ubuntu-16.04.6-desktop-amd64.iso, there is no vmlinuz.efi or initrd.lz file, but vmlinuz and initrd. I modified boot.ipxe accordingly, besides the samba ip/share/user/pass.
I attached a screenshot from a VM:
The same happens if I try to network boot my computer itself. How to debug this?
Please advise,
Thank you
PS: I tried the chain http://boot.salstar.sk menu, it doesn't work, not even displaying their menu (screenshot attached).
I also added a new menu with chain http://boot.salstar.sk/deb.ipxe and it shows their menu, but whatever selections I make, in the end it shows a couple of errors (screenshot attached). I am a little confused about this matter.
The text was updated successfully, but these errors were encountered: