this is my very first time here in this forum.
and i am absolutely new to CentOS 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 CentOS i cant get it work to PXE boot this way.
all i get is at PXE boot into CentOS a timeout error message and CentOS 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 CentOS PXE boot.
rdsosreport.txt
mount
and the last part of the error message:
Code: Select all
[ 191.917825] localhost dracut-initqueue[378]: Warning: dracut-initqueue timeout - starting timeout scripts
[ 191.919629] localhost dracut-initqueue[378]: Warning: Could not boot.
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/centos-x64/<content of centos LiveDVD>
here, the file structure relative to the PXE boot menu:
/nfs/centos-x64/<content of centos LiveDVD>
here, the file structure relative to nfs:
/srv/nfs/centos-x64/<content of centos LiveDVD>
and here the PXE menu entry (KERNEL & APPEND boot options) i tried for CentOS:
Code: Select all
...
########################################
## 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 ro rootfstype=auto ro rd.live.image rhgb rd.lvm=0 rd.luks=0 rd.md=0 rd.dm=0 rd.shell rd.break console=tty0 loglevel=7
TEXT HELP
Boot to CentOS Live GNOME
User: ...
ENDTEXT
########################################
## 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 ro rd.live.image rd.lvm=0 rd.luks=0 rd.md=0 rd.dm=0 rd.shell rd.break console=tty0 loglevel=7
TEXT HELP
Boot to Fedora Workstation Live
User: liveuser
ENDTEXT
...
Code: Select all
...
########################################
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
...
Code: Select all
# /etc/fstab
...
/srv/iso/centos-x64.iso /srv/nfs/centos-x64 auto ro,nofail,auto,loop 0 10
/srv/iso/fedora-x64.iso /srv/nfs/fedora-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
...
Code: Select all
# /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)
...
(by the way, with Fedora i have the exact same problems as with CentOS LiveDVD)
see https://ask.fedoraproject.org/en/question/113280
it would be great, if somebody could give me hints, how i can get my project to work to be able to PXE boot CentOS LiveDVD in the similar easy way as with Debian LiveDVDs.