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?