> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> José Alberto Suárez López
> Sent: 12 March 2007 15:41
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] booting an ISO inside Xen (full virt)
>
> Hi list,
>
> I'm using Dom0 gentoo with xen 3.0.4 and xenman. I have
> several DomU working and it is really nice :)
> so all my DomUs are installed with disk images. Now i want to
> use an ISO to boot and install a linux system (or win).
I do this all the time, either directly from the CD/DVD or ISO files, and it
works fine. [My work is with HVM mode of Xen, which essentially means that I
have to install "unpatched" OS's all the time, so I install XP, Win2K3, SuSE,
etc, etc every now and again - even "Memtest86" works in Xen HVM if you like
(at least it did a while back)].
>
> When i try to boot the DomU i dont have nothing, nothing
> relevant (for me) in logs and i can connect to the console.
> The state of the DomU is unknow. Any help please? i'm going crazy.
>
> xm list output:
>
> peggy xen # xm list
> Name ID Mem VCPUs
> State Time(s)
> Domain-0 0 1195 2
> r----- 8671.1
> centos 44 128 1
> -b---- 106.8
> general_100.28 40 256 1
> -b---- 12.9
> iso 45 256 1
> ------ 0.0
>
> Yes, the ISo works, i tryed with different distros (ubuntu,
> gentoo, etc) and Yes i can mount the ISO in a loop device w/o
> problems.
Can you see if the /var/log/xen/qemu*.log contais anything useful, likewise for
/var/log/xen/xend{,-debug}.log ?
--
Mats
>
> Any clue is welcome, i will cry soon :(
>
> I'm usign this cfg:
>
> import os, re
> arch = os.uname()[4]
> if re.search('64', arch):
> arch_libdir = 'lib64'
> else:
> arch_libdir = 'lib'
>
> name='iso'
>
> kernel='/usr/lib/xen/boot/hvmloader'
> builder='hvm'
>
>
> memory=256
> shadow_memory=10
> #vcpus=1»···# number of vcpu's
> #cpus = "0"»# all vcpus run on CPU0
>
> pae=0
> acpi=0
> apic=0
>
> vif=['type=ioemu, bridge=xenbr0']
> disk=['file:/var/xen/iso.disk.xm,hda,w',
> 'file:/var/xen/stresslinux-0.3.1.iso,hdc:cdrom,r']
>
> device_model = '/usr/' + arch_libdir + '/usr/lib/xen/bin/qemu-dm'
>
> # Boots from CDROM.·
> # Change to 'c' after windows installation in order to boot from disk.
> boot='d'
> #boot='c'·
>
> sdl=0
> vnc=1
> vncunused=0
> stdvga=0
> extra=''
> on_reboot='restart'
> on_shutdown='rename-restart'
> ramdisk=''
> image_name='Linux_CD_Install'
> on_crash='destroy'
> image_conf='/var/log/xenman/image_store/Linux_CD_Install/Linux
> _CD_Install_iso_image.conf'
> bootloader=''
> vcpus=1
> root=''
>
>
> _______________________________________________
> 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
|