|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] switching kernel from dom0 to guest with pv-grub
I know how to do it from the config level, but im assuming I probably need
to install grub and download a xen kernel on the guest as well? They don?t
have any of that installed since they are currently using the kernel from
the dom0. Current config looks like this:
kernel = '/XenConfigs/vmlinuz-vm2-xenU'
ramdisk = '/XenConfigs/initrd.vm2.xenU.img'
memory = 2048
name = 'huffer'
vif = [ 'ip=xxx.xxx.xxx.xxx' ]
address = 'xxx.xxx.xxx.xxx'
netmask = '255.255.255.224'
disk = ['phy:/dev/VolGroup00/huffer_img,sda1,w',
'phy:/dev/VolGroup00/huffer_swap,sda2,w']
root = '/dev/sda1 ro'
Just found out that the original guest you see above was created from
jailtime.org image, but with some additional config changes.
I am using a third party control panel for xen and I am trying to help them
figure out how to convert their images from using a dom0 type kernel setup
like this to being able to use pygrub or pv-grub. The problem is that really
needs one disk per filesystem, so it can mount and manipulate that
filesystem. Im hoping to find a way to convert their 20+ OS images into a
pv-grub compatible guest without having to recreate each guest from scratch.
I do see now that virt-install will allow you to specify additional disks,
though I am not 100% sure how the kickstart would know which disk is which,
plus im hoping I don?t have to go this route.
Hope my rambling makes sense. =)
-Mark
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Pasi Kärkkäinen
Sent: Monday, October 19, 2009 3:52 PM
To: Mark Chaney
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] switching kernel from dom0 to guest with pv-grub
On Mon, Oct 19, 2009 at 02:17:52PM -0500, Mark Chaney wrote:
> anyone know of any type of instructions/howto for converting a quest
from
> using the dom0 kernel to something like pygrub or even better, pv-grub?
Im
> using CentOS as the dom0 and guest if that makes a diff.
>
You could install a new guest with virt-install or virt-manager and
check the generated config file :)
virt-* installed centos/rhel/fedora PV guests use pygrub as a default.
Basicly it just means replacing the kernel/ramdisk/root/extra lines from
the cfgfile by bootloader= line.
-- Pasi
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|