morph027 / pve-iso-2-pxe

Create PXE bootable Proxmox installation
MIT License
408 stars 91 forks source link

Proxmox 5.4 didn't work anymore #9

Closed boospy closed 5 years ago

boospy commented 5 years ago

Hello,

yesterday i tested the new PVE 5.4 ISO. The script seems to be working, but if you boot, you came to a kernelpanic. Here is the output.

./pve-iso-2-pxe.sh: Zeile 21: pushd: proxmox-ve_5.4-1.iso: Ist kein Verzeichnis
Using proxmox-ve_5.4-1.iso...
Mounting iso image...
copying kernel...
copying initrd...
Unmounted iso, extracting contents of initrd...
gzip: skipping: ./initrd.orig.img does not have compressed suffix
Added iso, creating and compressing the new initrd...
./pve-iso-2-pxe.sh: Zeile 61: ../initrd.orig: Datei oder Verzeichnis nicht gefunden
/v-machines/home/iso-images/tmp-proxmox/pxeboot /v-machines/home/iso-images/tmp-proxmox
Cleaning up temp files...
rm: das Entfernen von './initrd.orig' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
Done! Look in /v-machines/home/iso-images/tmp-proxmox/pxeboot for pxeboot files.
/v-machines/home/iso-images/tmp-proxmox

This is the content of the folder pxeboot:

-rw-r--r-- 1 root root 642M Apr 16 23:26 initrd.iso.img
-r--r--r-- 1 root root  27M Apr 16 23:25 initrd.orig.img
-r--r--r-- 1 root root 8,1M Apr 16 23:25 linux26

Thanks :+1:

morph027 commented 5 years ago

Thanks for reporting, will try this and see if i can reproduce and fix!

morph027 commented 5 years ago

Hm, i'm unable to reproduce:

/tmp/pve-iso-2-pxe# ./pve-iso-2-pxe.sh /tmp/pve-iso/

#########################################################################################################
# Create PXE bootable Proxmox image including ISO                                                       #
#                                                                                                       #
# Author: mrballcb @ Proxmox Forum (06-12-2012)                                                         #
# Thread: http://forum.proxmox.com/threads/8484-Proxmox-installation-via-PXE-solution?p=55985#post55985 #
# Modified: morph027 @ Proxmox Forum (23-02-2015) to work with 3.4                                      #
#########################################################################################################

Using 5.4.iso...
Mounting iso image...
copying kernel...
copying initrd...
Unmounted iso, extracting contents of initrd...
Added iso, creating and compressing the new initrd...
/tmp/pve-iso/pxeboot /tmp/pve-iso /tmp/pve-iso-2-pxe
Cleaning up temp files...
Done! Look in /tmp/pve-iso/pxeboot for pxeboot files.
/tmp/pve-iso /tmp/pve-iso-2-pxe
/tmp/pve-iso-2-pxe
boospy commented 5 years ago

Thanks for testing, you are right. There was ein automtic ACLtool that blocks that process on ZFS Filesystem. :+1: