📜 ⬆️ ⬇️

Xen Fedora 10 as a dom0

The latest version of the Fedora tribe, regularly supporting the work
in Dom0 mode, was number 8. Xen was version 3.1.2 there, and the kernel for Dom0 was 2.6.21.
I want more new versions of all software, because everything is pretty obsolete.
The main thing is outdated XEN itself - the current stable version number 3.3.1 is dated January 5, 2009, and there are quite a lot of goodies.

Fedora 9/10 does not support work in the Dom0 mode, that is, there is no corresponding kernel in them. What to do? I found a fairly simple way that covered my needs.

So.

We put Fedora 10 as we want.
(Personally, I remove all the jackdaws, then I go to custom and there I also remove everything.)
We put xen, since he is there 3.3.0. And binutils is also needed - there is an ar archiver, which is useful to us.
yum install xen binutils

')
Dragging the kernel with Dom0 support from ... Debian Lenny.
core modules

We pick out what we need, we arrange in places:
ar x linux-image-2.6.26-1-xen-686_2.6.26-13_i386.deb data.tar.gz
tar xzf data.tar.gz ./boot
ar x linux-modules-2.6.26-1-xen-686_2.6.26-13_i386.deb data.tar.gz
tar xzf data.tar.gz ./lib/modules ./boot
mv -t /boot ./boot/*
mv -t /lib/modules ./lib/modules/*


Little Fedora Magic.
/sbin/new-kernel-pkg --mkinitrd --depmod 2.6.26-1-xen-686


Go to grub.conf. We are looking at how everything was written incorrectly by the stupid Fedorin script.
It is necessary to fix everything. Below are my options before and after.
Before:
title Fedora (2.6.26-1-xen-686)
root (hd0,2)
kernel /vmlinuz-2.6.26-1-xen-686 ro root=/dev/vgr5/f.root rhgb quiet
initrd /initrd-2.6.26-1-xen-686.img

After:
title DebXendora (2.6.26-1-xen-686)
root (hd0,2)
kernel /xen-3.3.gz
module /vmlinuz-2.6.26-1-xen-686 ro root=/dev/vgr5/f.root rhgb quiet console=tty0
module /initrd-2.6.26-1-xen-686.img


Rebuy. We are happy.

Shl. The XEN upgrade to 3.3.1 is still ahead, but 3.3.0 is already a plus.

Source: https://habr.com/ru/post/52089/


All Articles