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 do you add a bootable cdrom ISO?

Subject: Re: [Xen-users] How do you add a bootable cdrom ISO?
From: Per Jensen <per@xxxxxxxxx>
Date: Thu, 03 Sep 2009 23:09:31 +0200
Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 03 Sep 2009 14:10:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1251999114.17253.17.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <7547505.3301251990993806.JavaMail.root@xxxxxxxxxxxxxx> <1251999114.17253.17.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

James Pifer skrev:
>> James,
>>
>> I needed to restore a server from a 'dar' backupset. What I did was to 
>> "copy" the server .cfg and make it a HVM setup.
>>
>> When started, I connected to the vnc server on port 5900 and did the usual 
>> stuff when working from a rescue cdrom.
>>
>> The config went like this (Debian Lenny Xen 3.2.1):
>>
>> # boot fra CD-ROM
>> kernel = '/usr/lib/xen-3.2-1/boot/hvmloader'
>> builder = 'hvm'
>> boot = "d"
>> memory = '512'
>>
>> #
>> #  Disk device(s).
>> #
>> root        = '/dev/hda ro'
>> disk        = [
>>                    'phy:/dev/vg01/balrog2.net-es.dk-disk,hda,w',
>>                    'phy:/dev/vg01/balrog2.net-es.dk-swap,hdb,w',
>>                    'phy:/dev/vg01/balrog-backup,hdc,r',
>>                    'phy:/usr/local/sysresccd.iso,hdd:cdrom,r'
>>               ]
>>
>> #
>> #  Hostname
>> #
>> name        = 'balrog2-hvm'
>>
>> #
>> #  Networking
>> #
>> vif         = [ 'ip=192.168.2.11,mac=00:16:3E:32:38:D9' ]
>>
>> #
>> #  Behaviour
>> #
>> on_poweroff = 'destroy'
>> on_reboot   = 'restart'
>> on_crash    = 'restart'
>>
>>
>> keymap="da"
>>
>> vnc=1
>> vnclisten="0.0.0.0"
>> vncconsole=1
> 
> Sorry, forgot to change "To" to the list....
> 
> Per,
> 
> Thanks for the response, but I'm not seeing where this helps me. 
> 
> Thanks,
> James
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


James,

Perhaps I misunderstood your problem. the problem I had was to boot my
PV    machine from a rescue cd, which can only be done in a 'hvm' config
(as I understand)

The problem for me was to  convert the PV config to a 'hvm' type,
particularly the disk layout. I thought my config could help you along.

/Per

-- 
----------------------------------------------------------------------
Per Jensen        http://www.net-es.dk/~pj      FSF member #1516
----------------------------------------------------------------------

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