Proxmox installation via PXE: solution

fireon

Well-Known Member
Oct 25, 2010
3,067
194
63
Austria/Graz
iteas.at
Ok solved :cool:

What was the problem? ... on all us servers we use unixacl's. On most folders the executables will discarded on creating files. And a other ACL's. I don't know what, but since 4.3 the initrd.iso.img was no working anymore. Easy solution: Remove all ACL's from buildfolder.
 

admintmt

New Member
Oct 17, 2017
11
0
1
29
Hello, everyone!
Solution works fine with 4.x version, but i have no luck with fresh 5.1

Code:
  label proxmox-install 5
        menu label Install Proxmox 5
        linux images/linux/proxmox/5_1/linux26
        initrd images/linux/proxmox/5_1/initrd.img
        append vga=791 ramdisk_size=1048576 rw splash=verbose
With this config booting starts, and then reboot, so i not to be able to read what error causes it.
 

maykel535

Member
Mar 26, 2012
51
0
6
Hi, works fine with TFTP!! With tftp + http not working...I get the error is cannot connect http://192.168.0.33/boot/initrd.img (is accesible, works in my web browser or wget) Thanks for all.

I have a questions:

1- TFTP is slow when transfer the image initrd.img of proxmox... Is possible TFTP + NFS for linux26 and initrd.img?

2- Is possible send options to append?? like this:

label proxmox-install-5.1-3
menu label Install Proxmox 5.1-3
linux proxmox/5.1-3/linux26
append vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet linux ext4 maxroot=15 timezone=Europe/Madrid splash=verbose
initrd proxmox/5.1-3/initrd.img

Work fine but the timezone not working....

3- The last, is possible customize proxmox install?? for example:

I like the older name network cards "ethX", for this:

# vim /etc/default/grub:

GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"

# update-grub

# reboot

But I exec every command in every proxmox... Is possible customize proxmox iso and later, generate the boot images for tftp server??

Thanks in advanced.
 

LnxBil

Well-Known Member
Feb 21, 2015
4,217
408
83
Germany
2- Is possible send options to append?? like this:
Yes. Sending them is one side, understanding them in the installer is the other. If the installer does not support, you're out of luck.

3- The last, is possible customize proxmox install?? for example:
You can always remaster the ISO yourself, yet this is a reverse engineering job. Maybe it is easier to install PVE on top of a plain old Debian preseed installation, which is well documented with respect to PXE booting and customizing.
 

Filippo

New Member
Nov 20, 2018
1
0
1
31
@admintmt try by using ramdisk_size=16777216 which is 16M, instead of 1048576 which is barely 1M (I know, I am a little bit late).

Anyway, I cannot manage to start an installation (via PXE) of PVE 5.2-1.
I have used @morph027 's script and obtained linux26 and initrd.iso.img files, but it seems that maybe something goes wrong just right after having loaded initrd.

Here you have md5 hashes of boot files
Code:
$ md5sum pxeboot/linux26
0add55c250a459b0f27207edd4738558  pxeboot/linux26
$ md5sum pxeboot/initrd.iso.img
01e12e6c882c2110e040fa0b702fb3d4  pxeboot/initrd.iso.img
How can I troubleshoot this issue?
 

fireon

Well-Known Member
Oct 25, 2010
3,067
194
63
Austria/Graz
iteas.at
@admintmt try by using ramdisk_size=16777216 which is 16M, instead of 1048576 which is barely 1M (I know, I am a little bit late).

Anyway, I cannot manage to start an installation (via PXE) of PVE 5.2-1.
I have used @morph027 's script and obtained linux26 and initrd.iso.img files, but it seems that maybe something goes wrong just right after having loaded initrd.

Here you have md5 hashes of boot files
Code:
$ md5sum pxeboot/linux26
0add55c250a459b0f27207edd4738558  pxeboot/linux26
$ md5sum pxeboot/initrd.iso.img
01e12e6c882c2110e040fa0b702fb3d4  pxeboot/initrd.iso.img
How can I troubleshoot this issue?
Maybe similar: https://forum.proxmox.com/threads/proxmox-installation-via-pxe-solution.8484/page-4#post-175010

Have you tested it localy on you workstation?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!