Re: custom Xen on custom kernel on CentOS 7

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


On 02/27/2018 07:50 AM, John Vetter wrote:
> Hi,
> I'm trying to run an arbitrary Xen version (4.7.x) on a recent kernel (say, 
> 4.13.x) on CentOS 7.
> What is the recommended way for doing this? (I am new to Xen and virtualization).
> I tried the following:
> 1. installed xen4centos.
> 2. built linux kernel 4.13.x and installed it (using make install)
> 3. built xen 4.7.x and installed it (using make install).
> grub2-mkconfig and don't seem to be picking up the combination 
> of new kernel and new xen and making an entry in the grub.cfg file.
> It did make an entry for the new Xen with the kernel installed with xen4centos.
> I looked at the script but was unable to figure a way out. How 
> do I get the installation scripts to make an entry for my new kernel and new Xen?

I would suggest one of
1. Run the scripts with -x to figure out where they're quitting early
2. Make an rpm for the kernel you're building, or
3. Manually edit the grub files and run dracut. It's not hard to do what those scripts do by hand.

CentOS-virt mailing list

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

  Powered by Linux