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
|