User Tools

Site Tools


proxmox

Differences

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

Link to this comparison view

Next revision
Previous revision
proxmox [2024/05/13 07:58] – created protocolproxmox [2025/04/09 14:02] (current) protocol
Line 1: Line 1:
-=== mount proxmox virtual disk ===+===== mount proxmox virtual disk =====
 <code C [enable_keyword_links="false"]> <code C [enable_keyword_links="false"]>
 mount -t vfat -o loop,offset=$((8192 * 512 ))  imgfile.img /mnt/disk1 mount -t vfat -o loop,offset=$((8192 * 512 ))  imgfile.img /mnt/disk1
 </code> </code>
  
-=== dd through ssh ===+===== dd through ssh =====
 <code> <code>
 ssh host "dd if=/dev/mapper/pve-vm--106--disk--0" | dd of=/dev/mapper/pve-vm--106--disk--0 status=progress ssh host "dd if=/dev/mapper/pve-vm--106--disk--0" | dd of=/dev/mapper/pve-vm--106--disk--0 status=progress
Line 14: Line 14:
 </code> </code>
  
-=== repositories ===+===== disable portmap port 111 =====
  
-old: 
  
-/etc/apt/sources.list.d/pve-enterprise.list  +systemctl stop rpcbind
-deb http://download.proxmox.com/debian/pve buster pve-no-subscription+
  
 +systemctl stop rpcbind.socket
  
-new:+systemctl disable rpcbind
  
 +systemctl disable rpcbind.socket
 +
 +
 +===== repositories =====
 +
 +old <8
 +
 +<code>
 /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list
 +
 +deb http://download.proxmox.com/debian/pve buster pve-no-subscription
 +</code>
 +
 +new 8
 +
 +<code>
 +/etc/apt/sources.list.d/pve-enterprise.list
 +
 deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
  
 /etc/apt/sources.list.d/ceph.list /etc/apt/sources.list.d/ceph.list
 +
 deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
 +</code>
  
 +===== remove nag screen =====
  
-=== remove nag screen === 
 <code> <code>
 sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\torig_cmd\(\);\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\torig_cmd\(\);\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
Line 37: Line 55:
  
  
-=== links to sort ===+===== links to sort ===== 
 +Deactivate the volume group: 
 + 
 +# vgchange -a n my_volume_group 
 +         
 + 
 +Now you actually remove the volume group: 
 + 
 +# vgremove my_volume_group 
 +         
 + 
 +https://pve.proxmox.com/wiki/Passthrough_Physical_Disk_to_Virtual_Machine_(VM)
  
 https://github.com/Jamesits/pve-fake-subscription https://github.com/Jamesits/pve-fake-subscription
proxmox.1715597891.txt.gz · Last modified: 2024/05/13 07:58 by protocol