Just for information.
Install QV
Some notes before continuing:
In some cases it is possible for the boot partition to be the same as the btrfs
partition that QV will install into. This will require the files vmlinuz and
initrd to be in the btrfs partition. However, many bootloaders do not recognize
a btrfs partition. Recent versions of GRUB2 and rEFInd may, but there may be
issues.
Remember the option, if have a UEFI PC, of having a separate esp vfat boot
partition just for QV. It will simplify bootloader setup, and may be required
if insufficient free space in the existing boot partition.
WARNING: the author has created this script in good faith; however, no
liability is accepted for any undesired result. You continue with acceptance of
this total disclaimer of responsibility.
Please enter the partition to install QV. This may already have a btrfs
filesystem; if not,the partition will be wiped and a btrfs filesystem created.
If there is already an existing btrfs filesystem, existing content will be
kept. QV will just install into a folder in the partition.
(ex: sdc2): nvme0n1p7
Please enter the boot partition.
Files vmlinuz and initrd will be installed here.
Note, you can enter same as above; however, the bootloader must be able to recognize a btrfs partition. Recent GRUB2 and rEFInd can handle this, but there may be issues.
(ex: sda1): nvme0n1p7
Copying vmlinuz and initrd into: /mnt/nvme0n1p7
copied into folder: qv240409
Populating: /mnt/nvme0n1p7/qv240409/1/@qv/
this may take awhile...
Create subvolume '/mnt/nvme0n1p7/qv240409/1/@qv'
Installed.
Press ENTER for notes about the bootloader:
Bootloader setup
If you need to make a bootloader menu entry, pass these parameters on the kernel command line:
wkg_uuid=b4f00db1-6ee1-457d-94f0-13afd9aceec0 wkg_dir=qv240409/
vmlinuz and initrd have been installed into this folder in the boot partition:
/qv240409
Here is an example menu entry for /etc/grub.d/40_custom in GRUB2:
menuentry "QV Frugal" {
insmod btrfs
insmod search_fs_uuid
search --no-floppy --fs-uuid --set=root b4f00db1-6ee1-457d-94f0-13afd9aceec0
linux /qv240409/vmlinuz rw wkg_uuid=b4f00db1-6ee1-457d-94f0-13afd9aceec0 wkg_dir=qv240409/
initrd /qv240409/initrd
}
#
How to load through limine boot loader ?