WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] how to upgrade a linux guest OS under Xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] how to upgrade a linux guest OS under Xen
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Fri, 25 Jan 2008 00:53:46 +0000
Cc: mslemko <mslemko@xxxxxxxxxxxx>
Delivery-date: Thu, 24 Jan 2008 16:54:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47969319.3090107@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <47969319.3090107@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
> I'm having trouble upgrading a guest OS, and want to know what steps I
> should take to do that.
>
> specifically I'm trying to upgrade a trixbox 2.3.x install to 2.4 (both
> are CentOS 5).
>
> this is my situation:
> - I'm using XenSource 3.0. I've burned a trixbox install CD and have it
> in the CD drive (/dev/hda).
> - I have the same ISO mounted on another machine and served as a http
> source for the installation (just in case that is easier).
> - I've selected the /dev/hda to be passed on to the guest, but it seems
> that it doesn't boot the guest OS with the CD.

Is it a paravirt guest?  Paravirt guests can't boot off CD-ROMs.  If it's an 
HVM guest, you need to make sure the CD drive is enabled as the first boot 
device (for Open Source Xen you usually put boot="d" in the config file, d is 
the drive letter representing the CD-ROM)

> - I can mount /dev/hda (the CD) in the guest.
>
> Is there something I need to set to allow the guest to boot off that CD,
> or is there another way to upgrade.

Especially if you're using a PV guest, it may be worth investigating whether 
it's possible to just upgrade using yum, rather than the upgrade CD.

Cheers,
Mark

-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>