SystemRescueCD 6.3をPXE起動できません。

SystemRescueCD 6.3をPXE起動できません。

PXEサーバーを正常にインストールし、ここからCentOSオペレーティングシステムを起動してインストールしました。ただし、ブートSystemRescueCDを設定しようとすると、停止し続けます。

:: Mounting '/dev/disk/by-label/' to '/run/archiso/bootmnt'
Waiting 30 seconds for device /dev/disk/by-label/ ...
ERROR: '/dev/disk/by-label/' device did not show up after 30 seconds...

私はシェルに投げられ、/dev/disk/by-labelパスが存在しません。これは正しいイメージをロードしないという考えを持っています。

これはpxelinux.cfg/defaultファイルです

default menu.c32
prompt 0
timeout 30

MENU TITLE Linux Installation Menu
LABEL centos7_x64_vps
MENU LABEL CentOS 7 X64 - VPS
KERNEL networkboot/vmlinuz
APPEND initrd=networkboot/initrd.img inst.repo=ftp://devbox.server.net/pub/CentOS7 ks=ftp://devbox.server.net/pub/CentOS7/centos7-vps.cfg

LABEL centos7_x64_phy
MENU LABEL CentOS 7 X64 - Physical
KERNEL networkboot/vmlinuz
APPEND initrd=networkboot/initrd.img inst.repo=ftp://devbox.server.net/pub/CentOS7 ks=ftp://devbox.server.net/pub/CentOS7/centos7-phy.cfg

LABEL centos7_x64_manual
MENU LABEL CentOS 7 X64 - Manual
KERNEL networkboot/vmlinuz
APPEND initrd=networkboot/initrd.img method=ftp://devbox.server.net/pub/CentOS7 devfs=nomount

LABEL sysresccd
MENU LABEL SystemRescueCD - Live Linux
KERNEL sysresccd/boot/x86_64/vmlinuz
INITRD sysresccd/boot/intel_ucode.img,sysresccd/boot/amd_ucode.img,sysresccd/boot/x86_64/sysresccd.img
APPEND archisobasedir=sysresccd archiso_http_srv=http://172.168.1.11/ checksum
SYSAPPEND 1

起動中に、通常、次のロードメッセージが表示されます。

Loading sysrescuecd/boot/x86_64/vmlinuz........
Loading sysrescuecd/boot/intel_ucode.img.....
Loading sysrescuecd/boot/amd_ucode.img...
Loading sysrescuecd/boot/x86_64/sysresccd.img.............................

しかし、なぜ始めることができないのか理解できません。私はトラフィックをスニッフィングしてみましたが、squashfsをダウンロードするためにhttpサーバーに接続しようとしません。 HTTPサーバーは通常表示され、問題なく手動でファイルをダウンロードできます。

ベストアンサー1

pxeとシステムリカバリCDを使用しても同じ問題が発生しました。これはhttpパラメータを無視し、もちろん未定義のローカルisoインストール/ブートコードに移動することがわかりました。

「SYSAPPEND」オプションはsyslinux 5.10+でのみ機能します。 pxelinux.0ブートローダのバージョンがそれより古く、このオプションを認識しないようです。私がした「IPAPPEND 1」に変更するか、pxelinux.0をアップグレードしてください。

ここでの基本的な問題は、pxe_httpフックがSYSAPPEND / IPAPPENDによって提供されるカーネルパラメータに "ip"キー値を期待していることです。この設定がないと、すべてのhttpコードは無視されます。

望むより: https://github.com/rcrowley/archiso/blob/master/archiso/initcpio/hooks/archiso_pxe_http

そして https://wiki.syslinux.org/wiki/index.php?title=SYSLINUX#SYSAPPEND_bitmask

おすすめ記事