squashfs cannot be downloaded when ipxe chainloading, dracut-initqueue fail find root
|
2018-04-10, 21:19
(This post was last modified: 2018-04-10 22:46 by vigo332.)
Post: #9
|
|||
|
|||
RE: squashfs cannot be downloaded when ipxe chainloading, dracut-initqueue fail find root
Succeeded by using the following ipxe script. Need to specify the correct network interface name.
#!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 ip=192.168.56.130::192.168.56.254:255.255.255.0:biohpcwsc130:ens4f0:none:8192 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 Thanks Michael and NikiZe. You guys make my life easier. I now have another problem with it. For the VM, after the kickstart installation is finished. it boots to the new rhel7.4 kernel with no problem. But for the workstation, it is still using the old grub legacy chaining the ipxe script, not grub2 comes with the rhel7.4. It keeps installing the OS again and again. The vm uses the new grub2 and changed the default booting kernel. I tried to interrupt to boot the the older rhel6 kernel, but get the following error [!!!!!!] Failed to allocate manager object, freezing. THanks |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)