Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
squashfs cannot be downloaded when ipxe chainloading, dracut-initqueue fail find root
2018-04-10, 20:41 (This post was last modified: 2018-04-10 21:00 by vigo332.)
Post: #7
RE: squashfs cannot be downloaded when ipxe chainloading, dracut-initqueue fail find root
Hmmm, each of my VMs has two interfaces. one is the NAT network dhcp the other is host-only network, static
The http server serving the OS tree is 192.168.56.150.
The efi of the installation vm is built with net0 dhcp and net1 192.168.56.155. It is chaining the ipxe script on net1 interface as from the log .
192.168.56.155 - - [05/Apr/2018:17:27:22 -0500] "GET /ftp/ipxe/myscript.ipxe HTTP/1.1" 200 743 "-" "iPXE/1.0.0+ (8c17)"
192.168.56.1 - - [05/Apr/2018:17:27:25 -0500] "GET /ftp/tree/isolinux/initrd.img HTTP/1.1" 200 49763300 "-" "iPXE/1.0.0+ (8c17)"
192.168.56.1 - - [05/Apr/2018:17:27:26 -0500] "GET /ftp/tree/isolinux/vmlinuz HTTP/1.1" 200 5875184 "-" "iPXE/1.0.0+ (8c17)"
192.168.56.1 - - [05/Apr/2018:17:28:40 -0500] "GET /ftp/tree/LiveOS/squashfs.img HTTP/1.1" 200 347414528 "-" "curl/7.29.0"
192.168.56.1 - - [05/Apr/2018:17:28:45 -0500] "GET /ftp/tmp/test-ks.cfg HTTP/1.1" 200 2003 "-" "curl/7.29.0"
192.168.56.155 - - [05/Apr/2018:17:29:04 -0500] "GET /ftp/tree/.treeinfo HTTP/1.1" 200 1900 "-" "urlgrabber/3.10"
I also noticed the strange thing the ipxe script was chained from vm ip 56.155.
But the initrd vmlinuz squashfs and kickstart file were pulled from the virtualbox gateway!
How to explain the .treeinfo was pull from the correct static ip? The hostonly network in the virtualbox is not running any dhcp .
The chained ipxe script also sets the two network interface dhcp on net0 and static on net1.


My real workstation only has one network interface active, 10G network, the net0 is set using static ip (dhcp is not possible).
But you can see that the workstation is pulling the bootscript.ipxe, initrd.img and vmlinuz from a physical http server in the same network (56.13).

192.168.56.130 - - [09/Apr/2018:18:34:16 -0500] "GET /ftp/ipxe/lkrn/bootscript.ipxe HTTP/1.1" 200 755 "-" "iPXE/1.0.0+ (8c17)"
192.168.56.130 - - [09/Apr/2018:18:34:16 -0500] "GET /ftp/tree/isolinux/initrd.img HTTP/1.1" 200 49763300 "-" "iPXE/1.0.0+ (8c17)"
192.168.56.130 - - [09/Apr/2018:18:34:16 -0500] "GET /ftp/tree/isolinux/vmlinuz HTTP/1.1" 200 5875184 "-" "iPXE/1.0.0+ (8c17)"

Are you saying that when dracut tried to using the vmlinuz, another kernel argument should be specified like ip=192.168.56.130::192.168.56.254:255.255.255.0:localhost:enp0s3::8192 to set the new kernel's network?
After this, the new kernel can then pull the squashfs and mount it?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: squashfs cannot be downloaded when ipxe chainloading, dracut-initqueue fail find root - vigo332 - 2018-04-10 20:41



User(s) browsing this thread: 1 Guest(s)