Installing from debootstrap

strongbad

New Member
May 10, 2023
6
0
1
I would like to be able to install PVE on new media from a currently running non-Debian Linux system (Arch Linux) so that I can have custom partitions and encryption. Both the currently running system and the target system are the same architecture (x86_64). On the currently running Linux system I have debootstrap installed and the PVE media is partition how I want and mounted at /mnt. I figure the first step is:

# debootstrap --variant=minbase bullseye /mnt/

and hope that the proxmox-ve package correctly lists all its dependencies. Then chroot into the target system and follow the steps at https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye and
https://www.debian.org/releases/stable/amd64/apds03.en.html including:
  1. Configure the network (edit /etc/network/interfaces, /etc/resolv.conf, /etc/hostname and /etc/hosts)
  2. Configure apt (edit /etc/apt/sources.list.d/pve-install-repo.list and add the PVE key)
  3. Edit /etc/fstab to handle the custom partitions
  4. Set the timezone in /etc/adjtime
  5. Install the pve-kernel-6.2, proxmox-ve, postfix, and open-iscsi packages
  6. Configure ssh (pulled in by proxmox-ve)
  7. Install and configure grub and the initramfs, including changes for encryption
  8. Set the root password
I have a couple of questions:
  1. Am I missing any steps?
  2. I am assuming PVE uses udev for device files and that this will be handled auto magically. Do I need to add any packages?
  3. The PVE install guide suggests rebooting after installing the PVE kernel package but before installing the proxmox-ve package. Is that correct?
  4. Why aren't the postfix and open-iscsi packages dependencies of the proxmox-ve package?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!