Re: CentOS 8 Install as DOMU in PV Environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I understand this is the better option if HVM is available.. Im not sure how to make use of this kernel in a non-HVM, PV environment. I'm a little disturbed by the fact that there isnt PV support in CentOS 8, I hope it comes later so at least PVH becomes an option.

As for using this kernel in a PV only environment, the only route would be attempting an in place upgrade and try to install it as part of the upgrade. I am not willing to spend the time to do this and will use Centos 7 or other operating systems instead.


Christoph <mangel@xxxxxx> wrote:
>the fastest/best mode is still pvh... use the kernel from elrepo it
>supports the mode
>Am 19.09.2020 19:08, schrieb Radosław Piliszek:
>&gt; Hi,
>&gt; In general, PV tends not to be supported in newer distribution
>&gt; releases.
>&gt; This is mostly due to HVM performance and flexibility nowadays, which
>&gt; just was not the case back in the days when PV ruled.
>&gt; I am curious why you are trying PV.
>&gt; -yoctozepto
>&gt; On Sat, Sep 19, 2020 at 6:41 PM 9f9dcad3f78905b03201--- via
>&gt; CentOS-virt &lt;centos-virt@xxxxxxxxxx&gt; wrote:
>&gt;&gt; All,
>&gt;&gt; Just wanted to check one last time before letting this thread die.
>&gt;&gt; I am curious if anyone has gotten CentOS 8 to work in a PV Xen
>&gt;&gt; environment.
>&gt;&gt; Thanks.
>&gt;&gt; &lt;9f9dcad3f78905b03201@xxxxxxxxxx&gt; wrote:
>&gt;&gt; &gt;All,
>&gt;&gt; &gt;
>&gt;&gt; &gt;I have successfully installed CentOS 7 on a PV environment, and have been trying to see if I can can get a CentOS 8 install running.
>&gt;&gt; &gt;
>&gt;&gt; &gt;Hardware does not support virtualization extensions, hence the PV environment and I cant do HVM for the install then migrate.
>&gt;&gt; &gt;
>&gt;&gt; &gt;My understanding is that PV support is in the kernel, and that the distro of Linux shouldn&amp;#39;t technically matter. But currently when trying to &amp;quot;PXEBoot&amp;quot; using a CentOS 8 kernel and ram image I get a near instant crash for an invalid kernel.
>&gt;&gt; &gt;
>&gt;&gt; &gt;I tried to get around the issue by using DOM0 kernel and Ram Disk for the install (DOM0 is Debian 10), having the boot progress until it reaches the following, looping ISCSI error:
>&gt;&gt; &gt;
>&gt;&gt; &gt;&amp;gt;[  OK  ] Reached target Slices.
>&gt;&gt; &gt;&amp;gt;         Starting Create Static Device Nodes in /dev...
>&gt;&gt; &gt;&amp;gt;[  OK  ] Started iSCSI UserSpace I/O driver.
>&gt;&gt; &gt;&amp;gt;[  OK  ] Started Setup Virtual Console.
>&gt;&gt; &gt;&amp;gt;         Starting dracut cmdline hook...
>&gt;&gt; &gt;&amp;gt;[  OK  ] Started Apply Kernel Variables.
>&gt;&gt; &gt;&amp;gt;[  OK  ] Stopped iSCSI UserSpace I/O driver.
>&gt;&gt; &gt;&amp;gt;         Starting iSCSI UserSpace I/O driver...
>&gt;&gt; &gt;
>&gt;&gt; &gt;I have also tried the CentOS 7 kernel Ram Disk with the same results.
>&gt;&gt; &gt;
>&gt;&gt; &gt;I even tried installing CentOS 7 clean, then upgrading in place (by unofficial and unsupported means) and was left with an error that pygrub couldnt find the partition with the kernel.
>&gt;&gt; &gt;
>&gt;&gt; &gt;Is this is a bug, or is PV just not supported? Or am I doing something wrong?
>&gt;&gt; &gt;
>&gt;&gt; &gt;Config for the install is below:
>&gt;&gt; &gt;
>&gt;&gt; &gt;&amp;gt;# Kernel paths for install
>&gt;&gt; &gt;&amp;gt;#kernel = &amp;quot;/var/opt/xen/ISO_Store/Centos8PXEBoot/vmlinuz&amp;quot;
>&gt;&gt; &gt;&amp;gt;kernel = &amp;quot;/vmlinuz&amp;quot;
>&gt;&gt; &gt;&amp;gt;#ramdisk = &amp;quot;/var/opt/xen/ISO_Store/Centos8PXEBoot/initrd.img&amp;quot;
>&gt;&gt; &gt;&amp;gt;ramdisk = &amp;quot;/initrd.img&amp;quot;
>&gt;&gt; &gt;&amp;gt;extra=&amp;quot;modules=loop,squashfs console=hvc0&amp;quot;
>&gt;&gt; &gt;&amp;gt;
>&gt;&gt; &gt;&amp;gt;# Path to HDD and iso file
>&gt;&gt; &gt;&amp;gt;disk = [
>&gt;&gt; &gt;&amp;gt;        #&amp;#39;file:/vmdisk0,xvda,w&amp;#39;
>&gt;&gt; &gt;&amp;gt;        &amp;#39;format=raw, vdev=xvda, access=w, target=/dev/mapper/vg_1-virtualmachine&amp;#39;,
>&gt;&gt; &gt;&amp;gt;       ]
>&gt;&gt; &gt;&amp;gt;
>&gt;&gt; &gt;&amp;gt;extra=&amp;quot;ksdevice= inst.repo= nameserver=;quot;
>&gt;&gt; &gt;&amp;gt;
>&gt;&gt; &gt;&amp;gt;# Network configuration
>&gt;&gt; &gt;&amp;gt;vif = [&amp;#39;bridge=xenbr0&amp;#39;]
>&gt;&gt; &gt;&amp;gt;
>&gt;&gt; &gt;&amp;gt;#DomU Settings
>&gt;&gt; &gt;&amp;gt;memory = 3072
>&gt;&gt; &gt;&amp;gt;name = &amp;quot;centos-8.2&amp;quot;
>&gt;&gt; &gt;
>&gt;&gt; &gt;Thank you to all.
>&gt;&gt; &gt;_______________________________________________
>&gt;&gt; &gt;CentOS-virt mailing list
>&gt;&gt; &gt;CentOS-virt@xxxxxxxxxx
>&gt;&gt; &gt;
>&gt;&gt; _______________________________________________
>&gt;&gt; CentOS-virt mailing list
>&gt;&gt; CentOS-virt@xxxxxxxxxx
>&gt; _______________________________________________
>&gt; CentOS-virt mailing list
>&gt; CentOS-virt@xxxxxxxxxx
CentOS-virt mailing list

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     []     [Xfree86]     [Linux USB]

  Powered by Linux