meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vm:proxmox:on_debian [2020/04/23 13:16] niziakvm:proxmox:on_debian [2020/09/16 07:39] (current) niziak
Line 1: Line 1:
-====== Debian ======+====== On existing Debian ======
  
 Install Proxmox on ready Debian system.  Install Proxmox on ready Debian system. 
Line 23: Line 23:
 apt-get update apt-get update
 apt-get remove network-manager apt-get remove network-manager
-apt-get install ifupdown2 open-iscsi+apt-get install ifupdown2 open-iscsi ksmtuned 
 +apt-get remove ntp 
 +systemctl enable --now systemd-timesyncd
 apt-get install proxmox-ve apt-get install proxmox-ve
 +apt-get install pve-headers
 </code> </code>
 +
 +To avoid GFX issues disable ''modeset'':
 +<file | /etc/default/grub>
 +GRUB_CMDLINE_LINUX_DEFAULT="mitigations=off panic=30 nomodeset"
 +</file>
  
 Reboot system. Reboot system.
 System will boot with default Debian kernel, because Buster Backports kernel is newer than Proxmox one. System will boot with default Debian kernel, because Buster Backports kernel is newer than Proxmox one.
 +With dfault Debian kernel there is no ZFS support, and also Docker engine cannot work because of some apparmor issues.
  
 To try to boor PVE kernel once: To try to boor PVE kernel once:
 +<file | /etc/default/grub>
 +GRUB_DEFAULT=saved
 +# Comment or disable:
 +# GRUB_SAVEDEFAULT=true
 +</file>
 +
 <code bash> <code bash>
-grep -i "menuentry '" /boot/grub/grub.cfg +update-grub 
-grub-reboot 'Proxmox Virtual Environment GNU/Linux, with Linux 5.3.18-3-pve'+# get menu ids: 
 +egrep -i "menuentry '|submenu '" /boot/grub/grub.cfg 
 +# Set grub env using chosen ids. For submenu use '>' 
 +grub-set-default 'gnulinux-simple-21b9a8a1-48e8-4c4d-8420-6c97870f2702' 
 +grub-reboot 'gnulinux-advanced-21b9a8a1-48e8-4c4d-8420-6c97870f2702>gnulinux-5.3.18-3-pve-advanced-21b9a8a1-48e8-4c4d-8420-6c97870f2702'
 </code> </code>
 +
 +If everything works well, remove Debian kernel.
 +<code bash>
 +apt remove linux-image-amd64 'linux-image-4.19*' 'linux-image-5.4*'
 +update-grub
 +grub-set-default 0
 +</code>
 +