Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

PXE boot Fedora live dvd results in timeout

hello,

i am absolutely new to Fedora (or Red Hat like distributions) at all...

i have made a project, where i have setted up an PXE server, where i can PXE boot a PC straignt into different linux LiveDVD distributions. for that, i use the ISO files of each linux distribution and mounted them on the PXE server, and made its content available via NFS and TFTP.

i realized, that all (or most) of the debian like linux distribution are working perfect in this way to be able to PXE boot. but all Red Hat like distributions like Fedora i cant get it work to PXE boot this way.

all i get is at PXE boot into Fedora a timeout error message and Fedora wount boot properly, where the debian distributions are mounting the squashfs images sucessfully.

now i hope somebody can help me to get it work.

see attached some log files i could get from the broken Fedora PXE boot.

rdsosreport.txt

and the last part of the error message:

[  191.917825] localhost dracut-initqueue[378]: Warning: dracut-initqueue timeout - starting timeout scripts
[  191.919629] localhost dracut-initqueue[378]: Warning: Could not boot.

it makes no difference if i try to pxe boot Fedora LiveDVD on a virtual machine or on a real PC with real hardware.

here the link to my project:

RPi-PXE-Server

the PXE server itself is working well, because i can PXE boot debian like distributions from that server pretty well.

here, the file structure relative to TFTP root on the PXE server:

/nfs/fedora-x64/<content of fedora LiveDVD>

here, the file structure relative to the PXE boot menu:

/nfs/fedora-x64/<content of fedora LiveDVD>

here, the file structure relative to nfs:

/srv/nfs/fedora-x64/<content of fedora LiveDVD>

and here the PXE menu entry (KERNEL & APPEND boot options) i tried for Fedora:

...
########################################
## INFO: http://people.redhat.com/harald/dracut.html#dracut.kernel
## NOT WORKING
LABEL Fedora x64
    KERNEL /nfs/fedora-x64/images/pxeboot/vmlinuz
    APPEND initrd=/nfs/fedora-x64/images/pxeboot/initrd.img root=nfs:192.168.1.101:/srv/nfs/fedora-x64 root-path=/LiveOS/squashfs.img rootfstype=auto ro rd.live.image rd.lvm=0 rd.luks=0 rd.md=0 rd.dm=0
    TEXT HELP
        Boot to Fedora Workstation Live
        User: liveuser
    ENDTEXT

########################################
## INFO: http://people.redhat.com/harald/dracut.html#dracut.kernel
##       https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-installation-server-setup
## NOT WORKING
LABEL CentOS x64
    KERNEL /nfs/centos-x64/isolinux/vmlinuz0
    APPEND initrd=/nfs/centos-x64/isolinux/initrd0.img root=nfs:192.168.1.101:/srv/nfs/centos-x64 rootfstype=auto ro rd.live.image rd.lvm=0 rd.luks=0 rd.md=0 rd.dm=0
    TEXT HELP
        Boot to CentOS Live GNOME
        User: ...
    ENDTEXT
...

here the PXE boot options i use successfully for debian Live DVD:

...
########################################
LABEL Debian x64
    KERNEL 192.168.1.101/debian-x64/live/vmlinuz-4.9.0-3-amd64
    APPEND initrd=192.168.1.101/debian-x64/live/initrd.img-4.9.0-3-amd64 netboot=nfs nfsroot=192.168.1.101:/srv/nfs/debian-x64 ro boot=live config
    TEXT HELP
        Boot to Debian x64 Live LXDE
        User: user, Password: live
    ENDTEXT

########################################
LABEL Ubuntu x64
    KERNEL /nfs/ubuntu-x64/casper/vmlinuz.efi
    APPEND initrd=/nfs/ubuntu-x64/casper/initrd.lz netboot=nfs nfsroot=192.168.1.101:/srv/nfs/ubuntu-x64 ro file=/cdrom/preseed/ubuntu.seed boot=casper
    TEXT HELP
        Boot to Ubuntu x64 Live
        User: ubuntu
    ENDTEXT
...

the LiveDVD iso is mounted with this parameters on PXE server;

# /etc/fstab
...
/srv/iso/fedora-x64.iso  /srv/nfs/fedora-x64  auto  ro,nofail,auto,loop  0  10
/srv/iso/centos-x64.iso  /srv/nfs/centos-x64  auto  ro,nofail,auto,loop  0  10
...
/srv/iso/debian-x64.iso  /srv/nfs/debian-x64  auto  ro,nofail,auto,loop  0  10
/srv/iso/ubuntu-x64.iso  /srv/nfs/ubuntu-x64  auto  ro,nofail,auto,loop  0  10
...

and its content is exported for nfs like:

# /etc/exports
...
/srv/nfs/centos-x64  *(ro,async,no_subtree_check,root_squash,mp)
/srv/nfs/fedora-x64  *(ro,async,no_subtree_check,root_squash,mp)
...
/srv/nfs/debian-x64  *(ro,async,no_subtree_check,root_squash,mp)
/srv/nfs/ubuntu-x64  *(ro,async,no_subtree_check,root_squash,mp)
...

as Fedora LiveDVD, i used "Fedora-Workstation-Live-x86_64-26-1.5.iso" (by the way, with CentOSi have the exact same problems as with Fedora LiveDVD)

it would be great, if somebody could give me hints, how i can get my project to work to be able to PXE boot Fedora LiveDVD in the similar easy way as with Debian LiveDVDs.

PXE boot Fedora live dvd results in timeout

hello,

i am absolutely new to Fedora (or Red Hat like distributions) at all...

i have made a project, where i have setted up an PXE server, where i can PXE boot a PC straignt into different linux LiveDVD distributions. for that, i use the ISO files of each linux distribution and mounted them on the PXE server, and made its content available via NFS and TFTP.

i realized, that all (or most) of the debian like linux distribution are working perfect in this way to be able to PXE boot. but all Red Hat like distributions like Fedora i cant get it work to PXE boot this way.

all i get is at PXE boot into Fedora a timeout error message and Fedora wount boot properly, where the debian distributions are mounting the squashfs images sucessfully.

now i hope somebody can help me to get it work.

see attached some log files i could get from the broken Fedora PXE boot.

rdsosreport.txt

and the last part of the error message:

[  191.917825] localhost dracut-initqueue[378]: Warning: dracut-initqueue timeout - starting timeout scripts
[  191.919629] localhost dracut-initqueue[378]: Warning: Could not boot.

it makes no difference if i try to pxe boot Fedora LiveDVD on a virtual machine or on a real PC with real hardware.

here the link to my project:

RPi-PXE-Server

the PXE server itself is working well, because i can PXE boot debian like distributions from that server pretty well.

here, the file structure relative to TFTP root on the PXE server:

/nfs/fedora-x64/<content of fedora LiveDVD>

here, the file structure relative to the PXE boot menu:

/nfs/fedora-x64/<content of fedora LiveDVD>

here, the file structure relative to nfs:

/srv/nfs/fedora-x64/<content of fedora LiveDVD>

and here the PXE menu entry (KERNEL & APPEND boot options) i tried for Fedora:

...
########################################
## INFO: http://people.redhat.com/harald/dracut.html#dracut.kernel
## NOT WORKING
LABEL Fedora x64
    KERNEL /nfs/fedora-x64/images/pxeboot/vmlinuz
    APPEND initrd=/nfs/fedora-x64/images/pxeboot/initrd.img root=nfs:192.168.1.101:/srv/nfs/fedora-x64 root-path=/LiveOS/squashfs.img rootfstype=auto ro rd.live.image rd.lvm=0 rd.luks=0 rd.md=0 rd.dm=0
    TEXT HELP
        Boot to Fedora Workstation Live
        User: liveuser
    ENDTEXT

########################################
## INFO: http://people.redhat.com/harald/dracut.html#dracut.kernel
##       https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-installation-server-setup
## NOT WORKING
LABEL CentOS x64
    KERNEL /nfs/centos-x64/isolinux/vmlinuz0
    APPEND initrd=/nfs/centos-x64/isolinux/initrd0.img root=nfs:192.168.1.101:/srv/nfs/centos-x64 rootfstype=auto ro rd.live.image rd.lvm=0 rd.luks=0 rd.md=0 rd.dm=0
    TEXT HELP
        Boot to CentOS Live GNOME
        User: ...
    ENDTEXT
...

here the PXE boot options i use successfully for debian Live DVD:

...
########################################
LABEL Debian x64
    KERNEL 192.168.1.101/debian-x64/live/vmlinuz-4.9.0-3-amd64
    APPEND initrd=192.168.1.101/debian-x64/live/initrd.img-4.9.0-3-amd64 netboot=nfs nfsroot=192.168.1.101:/srv/nfs/debian-x64 ro boot=live config
    TEXT HELP
        Boot to Debian x64 Live LXDE
        User: user, Password: live
    ENDTEXT

########################################
LABEL Ubuntu x64
    KERNEL /nfs/ubuntu-x64/casper/vmlinuz.efi
    APPEND initrd=/nfs/ubuntu-x64/casper/initrd.lz netboot=nfs nfsroot=192.168.1.101:/srv/nfs/ubuntu-x64 ro file=/cdrom/preseed/ubuntu.seed boot=casper
    TEXT HELP
        Boot to Ubuntu x64 Live
        User: ubuntu
    ENDTEXT
...

the LiveDVD iso is mounted with this parameters on PXE server;

# /etc/fstab
...
/srv/iso/fedora-x64.iso  /srv/nfs/fedora-x64  auto  ro,nofail,auto,loop  0  10
/srv/iso/centos-x64.iso  /srv/nfs/centos-x64  auto  ro,nofail,auto,loop  0  10
...
/srv/iso/debian-x64.iso  /srv/nfs/debian-x64  auto  ro,nofail,auto,loop  0  10
/srv/iso/ubuntu-x64.iso  /srv/nfs/ubuntu-x64  auto  ro,nofail,auto,loop  0  10
...

and its content is exported for nfs like:

# /etc/exports
...
/srv/nfs/centos-x64  *(ro,async,no_subtree_check,root_squash,mp)
/srv/nfs/fedora-x64  *(ro,async,no_subtree_check,root_squash,mp)
...
/srv/nfs/debian-x64  *(ro,async,no_subtree_check,root_squash,mp)
/srv/nfs/ubuntu-x64  *(ro,async,no_subtree_check,root_squash,mp)
...

as Fedora LiveDVD, i used "Fedora-Workstation-Live-x86_64-26-1.5.iso" (by the way, with CentOSi have the exact same problems as with Fedora LiveDVD)LiveDVD) see https://www.centos.org/forums/viewtopic.php?f=50&t=64938

it would be great, if somebody could give me hints, how i can get my project to work to be able to PXE boot Fedora LiveDVD in the similar easy way as with Debian LiveDVDs.

[solved] PXE boot Fedora live dvd results in timeout

hello,

i am absolutely new to Fedora (or Red Hat like distributions) at all...

i have made a project, where i have setted up an PXE server, where i can PXE boot a PC straignt into different linux LiveDVD distributions. for that, i use the ISO files of each linux distribution and mounted them on the PXE server, and made its content available via NFS and TFTP.

i realized, that all (or most) of the debian like linux distribution are working perfect in this way to be able to PXE boot. but all Red Hat like distributions like Fedora i cant get it work to PXE boot this way.

all i get is at PXE boot into Fedora a timeout error message and Fedora wount boot properly, where the debian distributions are mounting the squashfs images sucessfully.

now i hope somebody can help me to get it work.

see attached some log files i could get from the broken Fedora PXE boot.

rdsosreport.txt

and the last part of the error message:

[  191.917825] localhost dracut-initqueue[378]: Warning: dracut-initqueue timeout - starting timeout scripts
[  191.919629] localhost dracut-initqueue[378]: Warning: Could not boot.

it makes no difference if i try to pxe boot Fedora LiveDVD on a virtual machine or on a real PC with real hardware.

here the link to my project:

RPi-PXE-Server

the PXE server itself is working well, because i can PXE boot debian like distributions from that server pretty well.

here, the file structure relative to TFTP root on the PXE server:

/nfs/fedora-x64/<content of fedora LiveDVD>

here, the file structure relative to the PXE boot menu:

/nfs/fedora-x64/<content of fedora LiveDVD>

here, the file structure relative to nfs:

/srv/nfs/fedora-x64/<content of fedora LiveDVD>

and here the PXE menu entry (KERNEL & APPEND boot options) i tried for Fedora:

...
########################################
## INFO: http://people.redhat.com/harald/dracut.html#dracut.kernel
## NOT WORKING
LABEL Fedora x64
    KERNEL /nfs/fedora-x64/images/pxeboot/vmlinuz
    APPEND initrd=/nfs/fedora-x64/images/pxeboot/initrd.img root=nfs:192.168.1.101:/srv/nfs/fedora-x64 root-path=/LiveOS/squashfs.img rootfstype=auto ro rd.live.image rd.lvm=0 rd.luks=0 rd.md=0 rd.dm=0
    TEXT HELP
        Boot to Fedora Workstation Live
        User: liveuser
    ENDTEXT

########################################
## INFO: http://people.redhat.com/harald/dracut.html#dracut.kernel
##       https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-installation-server-setup
## NOT WORKING
LABEL CentOS x64
    KERNEL /nfs/centos-x64/isolinux/vmlinuz0
    APPEND initrd=/nfs/centos-x64/isolinux/initrd0.img root=nfs:192.168.1.101:/srv/nfs/centos-x64 rootfstype=auto ro rd.live.image rd.lvm=0 rd.luks=0 rd.md=0 rd.dm=0
    TEXT HELP
        Boot to CentOS Live GNOME
        User: ...
    ENDTEXT
...

here the PXE boot options i use successfully for debian Live DVD:

...
########################################
LABEL Debian x64
    KERNEL 192.168.1.101/debian-x64/live/vmlinuz-4.9.0-3-amd64
    APPEND initrd=192.168.1.101/debian-x64/live/initrd.img-4.9.0-3-amd64 netboot=nfs nfsroot=192.168.1.101:/srv/nfs/debian-x64 ro boot=live config
    TEXT HELP
        Boot to Debian x64 Live LXDE
        User: user, Password: live
    ENDTEXT

########################################
LABEL Ubuntu x64
    KERNEL /nfs/ubuntu-x64/casper/vmlinuz.efi
    APPEND initrd=/nfs/ubuntu-x64/casper/initrd.lz netboot=nfs nfsroot=192.168.1.101:/srv/nfs/ubuntu-x64 ro file=/cdrom/preseed/ubuntu.seed boot=casper
    TEXT HELP
        Boot to Ubuntu x64 Live
        User: ubuntu
    ENDTEXT
...

the LiveDVD iso is mounted with this parameters on PXE server;

# /etc/fstab
...
/srv/iso/fedora-x64.iso  /srv/nfs/fedora-x64  auto  ro,nofail,auto,loop  0  10
/srv/iso/centos-x64.iso  /srv/nfs/centos-x64  auto  ro,nofail,auto,loop  0  10
...
/srv/iso/debian-x64.iso  /srv/nfs/debian-x64  auto  ro,nofail,auto,loop  0  10
/srv/iso/ubuntu-x64.iso  /srv/nfs/ubuntu-x64  auto  ro,nofail,auto,loop  0  10
...

and its content is exported for nfs like:

# /etc/exports
...
/srv/nfs/centos-x64  *(ro,async,no_subtree_check,root_squash,mp)
/srv/nfs/fedora-x64  *(ro,async,no_subtree_check,root_squash,mp)
...
/srv/nfs/debian-x64  *(ro,async,no_subtree_check,root_squash,mp)
/srv/nfs/ubuntu-x64  *(ro,async,no_subtree_check,root_squash,mp)
...

as Fedora LiveDVD, i used "Fedora-Workstation-Live-x86_64-26-1.5.iso" (by the way, with CentOSi have the exact same problems as with Fedora LiveDVD) see https://www.centos.org/forums/viewtopic.php?f=50&t=64938

it would be great, if somebody could give me hints, how i can get my project to work to be able to PXE boot Fedora LiveDVD in the similar easy way as with Debian LiveDVDs.