My problem is that I have a working QEMU/KVM installation on Opensuse 15.6 Leap. I have manged to use Windows 11 as guest, so the QEMU/KVM seems to work correctly. Also, i managed to install the Gentoo LiveGUI withouth problems, but I'm planning to try a file server configuration with Gentoo and I would like to test server configuration on in a virtual sand box.
I magange to install and start the live cd and continue using the Wiki instructions: https://wiki.gentoo.org/wiki/QEMU/Linux_guest
I have tried to launch these commands, that the instruction advices to do:
echo 'GRUB_PLATFORMS="pc"' >> /etc/portage/make.conf
echo 'sys-boot/grub -fonts -nls -themes' > /etc/portage/package.use/grub
emerge --ask sys-boot/grub:2
The two first commands, that are indeed simple, work without problems, but the third gives the following error message: "Invalid Repository Location (not a dir): 'var/db/repos/gentoo'
It announces, also: "Your current profile is invalid. If yhou have just changed your profile..."
I would be glad if I could find better instructions to solve this installation problem.
I have almost no experience about Gentoo. I tried it 25 year ago and the possiblities to configure the kernel made me to try Gentoo again, because Opensuse is quite inflexible.

