Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PXE Boot Ventoy
#4
I use the following urls to setup my environment

https://linuxhint.com/iscsi_storage_server_centos/
https://ipxe.org/howto/chainloading
downloaded
http://boot.ipxe.org/undionly.kpxe and http://boot.ipxe.org/ipxe.efi
placed them in my tftp share /var/lib/tftpboot

added these two options to the top of /etc/dhcp/dhcpd.conf

option client-architecture code 93 = unsigned integer 16;
option iscsi-initiator-iqn code 203 = string;

added this if block code to the subnet section

########## start of if block ############
if exists user-class and option user-class = "iPXE" {
    filename "";
    option iscsi-initiator-iqn "iqn.2022-10.com.example.iscsi:init1";
    option root-path "iscsi:iscsi.example.com::::iqn.2022-10.com.example.iscsi:ventoy";
} elsif option client-architecture = 00:00 {
    filename "undionly.kpxe";
} else {
    filename "ipxe.efi";
}
############ end of if block #################

installed ventoy to iqn.2022-10.com.example.iscsi:ventoy

edited /etc/iscsi/initiatorname.iscsi to set
InitiatorName=iqn.2022-10.com.example.iscsi:init1

iscsiadm -m node -T iqn.2022-10.com.example,iscsi:ventoy -p iscsi.example.com -l

used VentoyGUI.x86_64 to install ventoy to the iscsi disk it was labeled ventoy to me.

I mounted the ventoy partition and copied my Fedora install iso to it

tested booting via ipxe and I get all the way to the ventoy menu select screen
I was able to select my Fedora install iso

then I get stuck  it loops on similar messages to as follows. The beginning numbers differ from reality.

[ 123.123456 ] dracut-initqueue[756]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
[ 234.234567 ] dracut-initqueue[756]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2froot.sh: "[ -e "/dev/root" ]"
[ 345.345678 ] dracut-initqueue[756]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2ventoy.sh: "[ -e "/dev/ventoy" ]"
[ 456.456789 ] dracut-initqueue[756]: Warning: dracut-initqueue: starting timeout scripts
[ 567.567890 ] dracut-initqueue[5524]: Busybox v1.31.0 (2019-06-10 15:54:54 CEST) multi-call binary.
[ 678.678901 ] dracut-initqueue[5524]: Usage: mknod [-m MODE] NAME TYPE [MAJOR MINOR]
[ 789.789012 ] dracut-initqueue[5524]: Create a special file (block, character, or pipe)
[ 890.890123 ] dracut-initqueue[5524]:  -m MODE Creation mode (default a=rw)
[ 901.901234 ] dracut-initqueue[5524]: TYPE:
[ 012.012345 ] dracut-initqueue[5524]:  b           Block device
[ 123.123456 ] dracut-initqueue[5524]:  c or u    Character device
[ 123.123456 ] dracut-initqueue[5524]:  p           Named pipe (MAJOR MINOR must be omitted)
Reply


Messages In This Thread
PXE Boot Ventoy - by TobStar - 09-14-2020, 03:59 PM
RE: PXE Boot Ventoy - by GCMartin - 09-14-2020, 10:58 PM
RE: PXE Boot Ventoy - by PenguinJeff - 10-12-2022, 11:24 PM
RE: PXE Boot Ventoy - by PenguinJeff - 10-13-2022, 03:35 PM
RE: PXE Boot Ventoy - by nguyen ha thai trong - 10-15-2022, 01:24 PM
RE: PXE Boot Ventoy - by samirdealmeida - 01-06-2023, 03:13 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)