The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





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:13 (This post was last modified: 2018-04-10 18:10 by vigo332.)
Post: #1
squashfs cannot be downloaded when ipxe chainloading, dracut-initqueue fail find root
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.

#!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.56.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.
Find all posts by this user
Quote this message in a reply
Post Reply 


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



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