|
本帖最后由 liuzhaoyzz 于 2019-12-31 16:44 编辑
menuentry "/imgs/boot.wim" "/imgs/boot.wim" {
wimboot \
@:bootmgfw.efi:/ms/EFI/boot/bootx64.efi \
@:bcd:/grub2/bcd \
@:boot.sdi:/boot.sdi \
@:boot.wim:/imgs/boot.wim
boot
}
图片显示WIM file too short (0x0 bytes),could not patch WIM file
怎么会是0字节呢?奇怪了,其他的文件都传过来了啊,为什么就只有wim文件无法传送?grub2的pxe_blksize怎么设置的?没看到官网有详细的介绍啊。
GNU GRUB Manual 2.04 http://www.gnu.org/software/grub/manual/grub/grub.html#pxe_005fblksize
下面是tinypxeserver的日志:
16:35:50 ROOT=F:\boot\
16:35:50 DHCPd 10.7.20.78:67 started...
16:35:50 TFPTd 10.7.20.78:69 started...
16:35:50 HTTPd:80 started...
16:35:50 DHCPd:DISCOVER received, MAC:00-0C-29-B9-06-91, XID:5E0B78E6
16:35:50 DHCPd:OFFER sent, IP:10.7.20.80, XID:5E0B78E6
16:35:50 DHCPd:REQUEST received, MAC:00-0C-29-B9-06-91, XID:5E0B78E6
16:35:50 DHCPd:ACK sent, IP:10.7.20.80, XID:5E0B78E6
16:35:55 HTTPd:Connect: 10.7.20.80, TID=1516
16:35:55 HTTPd:Client: 10.7.20.80 [GET] /ms/EFI/boot/bootx64.efi
16:35:55 HTTPd:Server : Returning /ms/EFI/boot/bootx64.efi
16:35:55 HTTPd:Connect: 10.7.20.80, TID=6236
16:35:55 HTTPd:Client: 10.7.20.80 [GET] /grub2/bcd
16:35:55 HTTPd:Server : Returning /grub2/bcd
16:35:55 HTTPd:DisConnect: TID=6236
16:35:55 HTTPd:Connect: 10.7.20.80, TID=6232
16:35:55 HTTPd:Client: 10.7.20.80 [GET] /boot.sdi
16:35:55 HTTPd:Server : Returning /boot.sdi
16:35:55 HTTPd:Connect: 10.7.20.80, TID=6216
16:35:55 HTTPd:Client: 10.7.20.80 [GET] /imgs/boot.wim
16:35:55 HTTPd:Server : Returning /imgs/boot.wim
16:35:55 HTTPd:DisConnect: TID=6216
16:36:17 DHCPd:DISCOVER received, MAC:00-0C-29-B9-06-91, XID:977F4CF6
16:36:17 DHCPd:OFFER sent, IP:10.7.20.79, XID:977F4CF6
16:36:21 DHCPd:REQUEST received, MAC:00-0C-29-B9-06-91, XID:977F4CF6
16:36:21 DHCPd:ACK sent, IP:10.7.20.79, XID:977F4CF6
16:36:21 TFTPd:DoReadFile:grub2x64.efi B:1468 T:0
16:36:22 TFTPd:DoReadFile:/grub2/grub2pxe.cfg B:1024 T:1518
16:36:22 TFTPd:DoReadFile:/grub2/unicode.xz B:1024 T:789164
16:36:23 TFTPd:DoReadFile:/grub2/unicode.xz B:1024 T:789164
16:36:24 DHCPd:DISCOVER received, MAC:00-0C-29-B9-06-91, XID:5E0B7908
16:36:24 DHCPd:OFFER sent, IP:10.7.20.81, XID:5E0B7908
16:36:24 DHCPd:REQUEST received, MAC:00-0C-29-B9-06-91, XID:5E0B7908
16:36:24 DHCPd:ACK sent, IP:10.7.20.81, XID:5E0B7908
16:36:29 HTTPd:Connect: 10.7.20.81, TID=6876
16:36:29 HTTPd:Client: 10.7.20.81 [GET] /ms/EFI/boot/bootx64.efi
16:36:29 HTTPd:Server : Returning /ms/EFI/boot/bootx64.efi
16:36:29 HTTPd:Connect: 10.7.20.81, TID=6820
16:36:29 HTTPd:Client: 10.7.20.81 [GET] /grub2/bcd
16:36:29 HTTPd:Server : Returning /grub2/bcd
16:36:29 HTTPd:DisConnect: TID=6820
16:36:29 HTTPd:Connect: 10.7.20.81, TID=6808
16:36:29 HTTPd:Client: 10.7.20.81 [GET] /boot.sdi
16:36:29 HTTPd:Server : Returning /boot.sdi
16:36:29 HTTPd:Connect: 10.7.20.81, TID=6812
16:36:29 HTTPd:Client: 10.7.20.81 [GET] /imgs/boot.wim
16:36:29 HTTPd:Server : Returning /imgs/boot.wim
16:36:29 HTTPd:DisConnect: TID=6812
16:37:10 HTTPd:Exception: , Connection Closed Gracefully.
16:37:10 HTTPd:DisConnect: TID=1516
16:37:10 HTTPd:Exception: , Connection Closed Gracefully.
16:37:10 HTTPd:DisConnect: TID=6232
16:37:49 DHCPd:INFORM received, MAC:44-37-E6-D2-AD-62, XID:FDB67ECF
16:39:36 DHCPd:INFORM received, MAC:44-37-E6-D2-AD-62, XID:D600497A
|
|