[Spacewalk-list] [External] : PXE install failed.

tommy sz_cuitao at 163.com
Wed Feb 3 08:51:19 UTC 2021


I runned the sync step:

 

 

[root at olms1 ~]# !1017

cobbler sync

task started: 2021-02-03_164949_sync

task started (id=Sync, time=Wed Feb  3 16:49:49 2021)

running pre-sync triggers

cleaning trees

removing: /var/www/cobbler/images/ol83-x86_64-server:1:tltd

removing: /var/lib/tftpboot/pxelinux.cfg/default

removing: /var/lib/tftpboot/grub/images

removing: /var/lib/tftpboot/grub/efidefault

removing: /var/lib/tftpboot/images/ol83-x86_64-server:1:tltd

removing: /var/lib/tftpboot/s390x/profile_list

copying bootloaders

copying: /usr/share/syslinux/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0

copying: /usr/share/syslinux/menu.c32 -> /var/lib/tftpboot/menu.c32

copying: /usr/share/syslinux/memdisk -> /var/lib/tftpboot/memdisk

copying distros

copying files for distro: ol83-x86_64-server:1:tltd

running: /usr/bin/sha1sum /var/distro-trees/OL83-x86_64-server/images/pxeboot/vmlinuz

received on stdout: 8586a05a112e7f70a597e4176383ed91669456f7  /var/distro-trees/OL83-x86_64-server/images/pxeboot/vmlinuz

 

received on stderr:

trying cachelink /var/distro-trees/OL83-x86_64-server/images/pxeboot/vmlinuz -> /var/lib/tftpboot/images/.link_cache/8586a05a112e7f70a597e4176383ed91669456f7 -> /var/lib/tftpboot/images/ol83-x86_64-server:1:tltd/vmlinuz

running: /usr/bin/sha1sum /var/distro-trees/OL83-x86_64-server/images/pxeboot/initrd.img

received on stdout: 74ef1b913ca4f544a4e3494d82bd622eb0acdaf7  /var/distro-trees/OL83-x86_64-server/images/pxeboot/initrd.img

 

received on stderr:

trying cachelink /var/distro-trees/OL83-x86_64-server/images/pxeboot/initrd.img -> /var/lib/tftpboot/images/.link_cache/74ef1b913ca4f544a4e3494d82bd622eb0acdaf7 -> /var/lib/tftpboot/images/ol83-x86_64-server:1:tltd/initrd.img

trying symlink /var/distro-trees/OL83-x86_64-server/images/pxeboot/vmlinuz -> /var/www/cobbler/images/ol83-x86_64-server:1:tltd/vmlinuz

trying symlink /var/distro-trees/OL83-x86_64-server/images/pxeboot/initrd.img -> /var/www/cobbler/images/ol83-x86_64-server:1:tltd/initrd.img

copying images

generating PXE configuration files

cleaning link caches

running: find /var/lib/tftpboot/images/.link_cache -maxdepth 1 -type f -links 1 -exec rm -f '{}' ';'

received on stdout:

received on stderr:

generating PXE menu structure

running post-sync triggers

running python triggers from /var/lib/cobbler/triggers/sync/post/*

running python trigger cobbler.modules.sync_post_restart_services

running shell triggers from /var/lib/cobbler/triggers/sync/post/*

running python triggers from /var/lib/cobbler/triggers/change/*

running python trigger cobbler.modules.scm_track

running shell triggers from /var/lib/cobbler/triggers/change/*

*** TASK COMPLETE ***

[root at olms1 ~]#

 

 

 

 

 

From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of Avi Miller
Sent: Wednesday, February 3, 2021 5:08 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] [External] : PXE install failed.

 

This is failing to find a LOT of the images. Are you sure cobbler sync ran after you setup the PXE boot? You should not need to edit any files, but you do need to make them available.

 

From: <spacewalk-list-bounces at redhat.com <mailto:spacewalk-list-bounces at redhat.com> > on behalf of tommy <sz_cuitao at 163.com <mailto:sz_cuitao at 163.com> >
Reply to: "spacewalk-list at redhat.com <mailto:spacewalk-list at redhat.com> " <spacewalk-list at redhat.com <mailto:spacewalk-list at redhat.com> >
Date: Tuesday, 2 February 2021 at 10:18 pm
To: "spacewalk-list at redhat.com <mailto:spacewalk-list at redhat.com> " <spacewalk-list at redhat.com <mailto:spacewalk-list at redhat.com> >
Subject: [External] : [Spacewalk-list] PXE install failed.

 

Hi, every one:

 

I configured the kickstart, but when running it faild:

 



 

 

It needs download the /image/pxeboot//LiveOS/squashfs.img , but there no this file:

 

[root at olms1 pxeboot]#

[root at olms1 pxeboot]#

[root at olms1 pxeboot]# ll

total 82040

-r--r--r--. 2 root root 74491128 Nov 10 07:50 initrd.img

-r--r--r--. 1 root root      441 Nov 10 07:58 TRANS.TBL

-r-xr-xr-x. 2 root root  9516568 Nov  6 10:21 vmlinuz

[root at olms1 pxeboot]#

[root at olms1 pxeboot]#

[root at olms1 pxeboot]#

[root at olms1 pxeboot]# pwd

/var/distro-trees/OL83-x86_64-server/images/pxeboot

[root at olms1 pxeboot]#

 

 

If I must use the LiveCD to using pxe install ?

 

 

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20210203/72fcec14/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 161056 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20210203/72fcec14/attachment.jpg>


More information about the Spacewalk-list mailing list