Merge pull request 'proxmox-f44' (!192) from proxmox-f44 into main
Reviewed-on: server/user-documentation#192
|
Before Width: | Height: | Size: 183 KiB |
|
Before Width: | Height: | Size: 255 KiB |
|
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 233 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 219 KiB After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 283 KiB |
|
Before Width: | Height: | Size: 282 KiB |
|
Before Width: | Height: | Size: 293 KiB After Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 286 KiB After Width: | Height: | Size: 120 KiB |
|
Before Width: | Height: | Size: 231 KiB After Width: | Height: | Size: 43 KiB |
|
|
@ -1,8 +1,8 @@
|
|||
= Installing Fedora Server Edition as a Virtual Machine using Proxmox Virtual Environment
|
||||
Paul Maconi
|
||||
:page-authors: {author}, {author_2}
|
||||
:revnumber: F41
|
||||
:revdate: 2024-11-10
|
||||
:revnumber: F44
|
||||
:revdate: 2026-07-04
|
||||
|
||||
:page-aliases: pages/virtualization-vm-install-fedoraserver-cockpit.adoc
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ Paul Maconi
|
|||
//
|
||||
//These documents are not approved yet and may be incomplete and/or incorrect. You would probably prefer to study the https://docs.stg.fedoraproject.org/en-US/fedora-server/[published documentation].
|
||||
|
||||
// *Status of this document*: Updated to f41.
|
||||
// *Status of this document*: Updated to F44, updated screenshots, changed console blocks to match current style.
|
||||
//====
|
||||
|
||||
|
||||
|
|
@ -46,14 +46,14 @@ Before we create the VM, we will need to find and upload our disk image to the P
|
|||
|
||||
Once you create a directory to house your disk images, you will need to upload the disk image file via scp into the Proxmox node. `scp [image_filename] root@[node_name]:/path/to/images/[image_filename]`
|
||||
|
||||
[,shell]
|
||||
[source,console]
|
||||
----
|
||||
aggraxis@whirlwind:~$ cd Desktop/osimages/
|
||||
aggraxis@whirlwind:~/Desktop/osimages$ ls
|
||||
Fedora-Server-KVM-41-1.4.x86_64.qcow2
|
||||
aggraxis@whirlwind:~/Desktop/osimages$ ssh root@pve-m-0
|
||||
$ cd Desktop/osimages/
|
||||
$ ls
|
||||
Fedora-Server-Guest-Generic-44-1.7.x86_64.qcow2
|
||||
$ ssh root@pve-m-0
|
||||
root@pve-m-0's password:
|
||||
Linux pve-m-0 6.8.12-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-2 (2024-09-05T10:03Z) x86_64
|
||||
Linux pve-m-0 7.0.12-1-pve #1 SMP PREEMPT_DYNAMIC PMX 7.0.12-1 (2026-06-09T21:07Z) x86_64
|
||||
|
||||
The programs included with the Debian GNU/Linux system are free software;
|
||||
the exact distribution terms for each program are described in the
|
||||
|
|
@ -61,34 +61,36 @@ individual files in /usr/share/doc/*/copyright.
|
|||
|
||||
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
|
||||
permitted by applicable law.
|
||||
Last login: Sat Nov 9 11:03:50 2024
|
||||
root@pve-m-0:~# ls -alh /mnt/pve/nfs-kraken/osimages/
|
||||
drwxrwxrwx 1 1026 users 462 Nov 11 08:20 .
|
||||
drwxrwxrwx 1 root root 294 Apr 16 2024 ..
|
||||
-rwxrwxrwx 1 1026 users 1.6G Apr 20 2024 fedora-coreos-39.20240322.3.1-qemu.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1026 users 1.6G May 9 2024 fedora-coreos-40.20240416.3.1-qemu.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1026 users 574M Apr 16 2024 Fedora-Server-KVM-39-1.5.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1026 users 629M Apr 24 2024 Fedora-Server-KVM-40-1.14.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1027 users 913M Aug 30 13:44 rhel-9.4-x86_64-kvm.qcow2
|
||||
root@pve-m-0:~# exit
|
||||
Last login: Sat Jul 4 09:20:08 2026 from [ip]
|
||||
# ls -alh /mnt/pve/nfs-kraken/osimages
|
||||
total 4.5G
|
||||
drwxrwxrwx 1 1026 users 518 May 15 14:10 .
|
||||
drwxrwxrwx 1 root root 128 Oct 22 2025 ..
|
||||
-rwxrwxrwx 1 1024 users 508M Apr 9 2025 Fedora-Cloud-Base-Generic-42-1.1.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1027 users 555M Oct 22 2025 Fedora-Cloud-Base-Generic-43-1.5.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1027 users 557M Apr 22 17:57 Fedora-Cloud-Base-Generic-44.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1027 users 602M May 15 14:09 Fedora-Cloud-Base-UEFI-UKI-44-1.7.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1024 users 591M Aug 5 2025 noble-server-cloudimg-amd64.img
|
||||
-rwxrwxrwx 1 1027 users 816M May 14 2025 rhel-10.0-x86_64-kvm.qcow2
|
||||
-rwxrwxrwx 1 1027 users 913M Aug 30 2024 rhel-9.4-x86_64-kvm.qcow2
|
||||
# exit
|
||||
logout
|
||||
Connection to pve-m-0 closed.
|
||||
aggraxis@whirlwind:~/Desktop/osimages$ scp Fedora-Server-KVM-41-1.4.x86_64.qcow2 \
|
||||
root@pve-m-0:/mnt/pve/nfs-kraken/osimages/Fedora-Server-KVM-41-1.4.x86_64.qcow2
|
||||
$ scp Fedora-Server-Guest-Generic-44-1.7.x86_64.qcow2 \
|
||||
root@pve-m-0:/mnt/pve/nfs-kraken/osimages/Fedora-Server-Guest-Generic-44-1.7.x86_64.qcow2
|
||||
root@pve-m-0's password:
|
||||
Fedora-Server-KVM-41-1.4.x86_64.qcow2 100% 659MB 110.7MB/s 00:05
|
||||
aggraxis@whirlwind:~/Desktop/osimages$
|
||||
|
||||
----
|
||||
|
||||
=== Verify the image is in place
|
||||
|
||||
While not completely necessary, we logged back in to the Proxmox node and verified that the file had actually uploaded to the target directory. We'll come back to this path later when it is time to import the disk image to a VM.
|
||||
|
||||
[,shell]
|
||||
[source,console]
|
||||
----
|
||||
aggraxis@whirlwind:~/Desktop/osimages$ ssh root@pve-m-0
|
||||
$ ssh root@pve-m-0
|
||||
root@pve-m-0's password:
|
||||
Linux pve-m-0 6.8.12-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-2 (2024-09-05T10:03Z) x86_64
|
||||
Linux pve-m-0 7.0.12-1-pve #1 SMP PREEMPT_DYNAMIC PMX 7.0.12-1 (2026-06-09T21:07Z) x86_64
|
||||
|
||||
The programs included with the Debian GNU/Linux system are free software;
|
||||
the exact distribution terms for each program are described in the
|
||||
|
|
@ -96,18 +98,21 @@ individual files in /usr/share/doc/*/copyright.
|
|||
|
||||
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
|
||||
permitted by applicable law.
|
||||
Last login: Mon Nov 11 08:18:31 2024 from 192.168.218.217
|
||||
root@pve-m-0:~# ls -alh /mnt/pve/nfs-kraken/osimages/
|
||||
total 5.8G
|
||||
drwxrwxrwx 1 1026 users 462 Nov 11 08:20 .
|
||||
drwxrwxrwx 1 root root 294 Apr 16 2024 ..
|
||||
-rwxrwxrwx 1 1026 users 1.6G Apr 20 2024 fedora-coreos-39.20240322.3.1-qemu.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1026 users 1.6G May 9 2024 fedora-coreos-40.20240416.3.1-qemu.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1026 users 574M Apr 16 2024 Fedora-Server-KVM-39-1.5.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1026 users 629M Apr 24 2024 Fedora-Server-KVM-40-1.14.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1024 users 660M Nov 11 08:20 Fedora-Server-KVM-41-1.4.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1027 users 913M Aug 30 13:44 rhel-9.4-x86_64-kvm.qcow2
|
||||
root@pve-m-0:~#
|
||||
Last login: Sat Jul 4 09:24:04 2026 from [ip]
|
||||
# ls -alh /mnt/pve/nfs-kraken/osimages/
|
||||
total 5.4G
|
||||
drwxrwxrwx 1 1026 users 612 Jul 4 09:25 .
|
||||
drwxrwxrwx 1 root root 128 Oct 22 2025 ..
|
||||
-rwxrwxrwx 1 1024 users 508M Apr 9 2025 Fedora-Cloud-Base-Generic-42-1.1.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1027 users 555M Oct 22 2025 Fedora-Cloud-Base-Generic-43-1.5.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1027 users 557M Apr 22 17:57 Fedora-Cloud-Base-Generic-44.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1027 users 602M May 15 14:09 Fedora-Cloud-Base-UEFI-UKI-44-1.7.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1024 users 909M Jul 4 09:25 Fedora-Server-Guest-Generic-44-1.7.x86_64.qcow2
|
||||
-rwxrwxrwx 1 1024 users 591M Aug 5 2025 noble-server-cloudimg-amd64.img
|
||||
-rwxrwxrwx 1 1027 users 816M May 14 2025 rhel-10.0-x86_64-kvm.qcow2
|
||||
-rwxrwxrwx 1 1027 users 913M Aug 30 2024 rhel-9.4-x86_64-kvm.qcow2
|
||||
#
|
||||
|
||||
----
|
||||
|
||||
=== VM Creation: General
|
||||
|
|
@ -190,31 +195,29 @@ Now that the VM itself has been built, we need to log in to the Proxmox node via
|
|||
|
||||
*** The format may vary depending on where you are storing the VM. The test articule uses an NFS mount, and qcow2 formatted images are preferred in this usage scenario.
|
||||
|
||||
[,shell]
|
||||
[source,console]
|
||||
----
|
||||
root@pve-m-0:~# cd /mnt/pve/nfs-kraken/osimages/
|
||||
root@pve-m-0:/mnt/pve/nfs-kraken/osimages# qm disk import 106 \
|
||||
Fedora-Server-KVM-41-1.4.x86_64.qcow2 nfs-kraken --format qcow2
|
||||
importing disk 'Fedora-Server-KVM-41-1.4.x86_64.qcow2' to VM 106 ...
|
||||
Formatting '/mnt/pve/nfs-kraken/images/106/vm-106-disk-1.qcow2',
|
||||
fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata
|
||||
compression_type=zlib size=7516192768 lazy_refcounts=off
|
||||
refcount_bits=16
|
||||
transferred 0.0 B of 7.0 GiB (0.00%)
|
||||
transferred 76.7 MiB of 7.0 GiB (1.07%)
|
||||
transferred 148.4 MiB of 7.0 GiB (2.07%)
|
||||
# cd /mnt/pve/nfs-kraken/osimages/
|
||||
# qm disk import 127 \
|
||||
Fedora-Server-Guest-Generic-44-1.7.x86_64.qcow2 nfs-kraken --format qcow2
|
||||
importing disk 'Fedora-Server-Guest-Generic-44-1.7.x86_64.qcow2' to VM 127 ...
|
||||
Formatting '/mnt/pve/nfs-kraken/images/127/vm-127-disk-0.qcow2', fmt=qcow2
|
||||
cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib
|
||||
size=10737418240 lazy_refcounts=off refcount_bits=16
|
||||
transferred 0.0 B of 10.0 GiB (0.00%)
|
||||
transferred 102.4 MiB of 10.0 GiB (1.00%)
|
||||
transferred 206.8 MiB of 10.0 GiB (2.02%)
|
||||
--SNIP--
|
||||
transferred 7.0 GiB of 7.0 GiB (99.33%)
|
||||
transferred 7.0 GiB of 7.0 GiB (100.00%)
|
||||
transferred 7.0 GiB of 7.0 GiB (100.00%)
|
||||
Successfully imported disk as 'unused0:nfs-kraken:106/vm-106-disk-1.qcow2'
|
||||
root@pve-m-0:/mnt/pve/nfs-kraken/osimages#
|
||||
transferred 9.8 GiB of 10.0 GiB (98.26%)
|
||||
transferred 9.9 GiB of 10.0 GiB (99.26%)
|
||||
transferred 10.0 GiB of 10.0 GiB (100.00%)
|
||||
transferred 10.0 GiB of 10.0 GiB (100.00%)
|
||||
unused0: successfully imported disk 'nfs-kraken:127/vm-127-disk-0.qcow2'
|
||||
#
|
||||
----
|
||||
|
||||
When the import process finishes you should get a success message like the one shown above. This process was done on a storage array with rotational hard disks, and it still only took a few seconds to complete.
|
||||
|
||||
|
||||
|
||||
=== VM Configuration: Disk
|
||||
|
||||
Now that the disk is part of the VM, we can go back to the hardware tab, highlight the new unused disk, and click edit. You shouldn't need to change anything and can safely just click `Add`.
|
||||
|
|
|
|||