[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] Distro upgrade in ubuntu PV guest?
- To: Boris Derzhavets <bderzhavets@xxxxxxxxx>
- From: Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx>
- Date: Fri, 8 Jan 2010 15:56:42 -0200
- Cc: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, howard chen <howachen@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
- Delivery-date: Fri, 08 Jan 2010 09:59:23 -0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=eBxH95Iscfeja7UaI88HjnqSASjqwBndcmAContTIZ7kSZGDp5mwiZGvVxy9OkWVGx dQVIn8cGYVIZM2rJVdfOtV2wrUtna2I5GEaddqhH2LfoiPfHUGV9M9hnt5gU6iZ2ER1j Q5G8YqNxI7SBwuAY1Z50CeTRHoKv+U4+DCOZM=
- List-id: Xen user discussion <xen-users.lists.xensource.com>
Finally I have the Ubuntu Karmic running as PV machine under my open source Xen and XenServer 5.5...
There is only one kernel package with support for Xen (CONFIG_XEN=y), and it is: "linux-ec2".
So, I have read this guide: http://community.citrix.com/display/ocb/2008/07/02/Installing+Ubuntu+on+XenServer;jsessionid=C126EB0931801626CB857A098C195EAE
And before convert my VM from HVM to PVM, I install the right kernel with:
aptitude install linux-ec2 grub update-grub vim /boot/grub/menu.lst (to change uuid to root (hd0,0))...
Cheers! Thiago
2009/11/30 Boris Derzhavets <bderzhavets@xxxxxxxxx>
Boris.
From: Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx> To: Fajar A. Nugraha
<fajar@xxxxxxxxx> Cc: howard chen <howachen@xxxxxxxxx>; xen-users@xxxxxxxxxxxxxxxxxxx
Sent: Mon, November 30, 2009 2:46:03 PM Subject: Re: [Xen-users] Distro upgrade in ubuntu PV guest?
Well, apparently the Karmic's kernel that have support for running as Xen pv domU is the -generic version... 2009/11/18 Fajar A. Nugraha <fajar@xxxxxxxxx>
On Tue, Nov 17, 2009 at 8:47 PM, Thiago Camargo Martins Cordeiro
While it may not explicitly support Xen domU, it runs just fine. That
is, assuming your dom0 (Xen and hardware/BIOS) supports running pv_ops
kernel.
>> I have an ubuntu 8.04 pv guest running in PV mode (kernel: Linux
>> ubuntu 2.6.24-16-xen)
>>
>> What would happen if I do a distro upgrade to a newer verion using
>> apt-get?
Generally it's pretty much the same thing that would happen if you do
a distro-upgrade to newer version. Some things to watch out though:
- Karmic's upstart uses /etc/init/, which is different from previous versions
- if you use Karmic's (or any pv_ops) kernel, xen console will be on
hvc0, so you should adjust your system (/etc/init/*, /etc/securetty)
to spawn login screen there
- with pv_ops kernel, disks will be mapped as xvda (and not sda/hda).
You may need to change domU config, fstab, and grub.conf manually to
match that.
Regards,
Fajar
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|