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, 17:33
Post: #2
RE: squashfs cannot be downloaded when ipxe chainloading, dracut-initqueue fail find root
(2018-04-10 17:13)vigo332 Wrote:  Hi,

I am trying to chainload booting rhel server 7.4 from http to kickstart install the OS for my Lenovo thinkstation.

I have the ipxe chainloaded correctly, the initrd and kernel are downloaded from my http server.
However, the squashfs is not downloaded. I think ipxe used curl to download this.

The install failed at the dracut-initqueue where it spit out the error of /dev/root is not located.

The following script is chainloaded.
Code:
#!ipxe

echo Setting up the network interfaces
ifopen

echo Setting eth0 on MAC address ${eth0/mac}
set net0/ip 192.168.56.130
set net0/netmask 255.255.255.0
set net0/gateway 192.168.56.254

ifstat

echo Printing the routing table
route

echo Downloading image and kernel for chainloading from http://192.168.56.13/ftp/tree/isolinux

initrd http://192.168.56.13/ftp/tree/isolinux/initrd.img
kernel http://192.168.56.13/ftp/tree/isolinux/vmlinuz initrd=initrd.img inst.ks=http://192.168.13/ftp/ks_files/192.168.56.130.ks.cfg inst.repo=http://192.168.56.13/ftp/tree ro root=live:http://192.168.56.13/ftp/tree/LiveOS/squashfs.img rd.AUTO=1 rd_NO_LUKS LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd.shell
boot
Note that I have my VirtualBox vm works without any problem using same script except for different ip and http server.

Any suggestions are greatly appreciated.

Note that nothing in that script downloads the squashfs in iPXE space, instead it is the rhel init script that does that with the special options that you have on the command line.

double check that you have the correct urls, and also double check the http servers logs, especially error_log which shows any 404 issues or similar.

Use GitHub Discussions
VRAM bin
Visit this user's website 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 - NiKiZe - 2018-04-10 17:33



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