[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Booting pv-ready distro installer.iso as Xen PV DomU drops to grub prompt?



You have a hybrid config. To go pv do:

to boot into a pv install, use these
./boot/x86_64/{initrd-xen,vmlinuz-xen}

as kernel / ramdisk in the test.cfg. So copy the pair locally off the ISO.

Also, why is there is no xvda device in disk={}? You need that to
receive the install.

Finally, drop the
boot = 'd'

Unless you are doing a live session, the above should get you started with the install.

cheers,
PryMar56




On Thursday, April 9, 2015 1:57 PM, "lyndat3@xxxxxxxxxxxxx" <lyndat3@xxxxxxxxxxxxx> wrote:


Hi.

I have Xen 4.5 installed & booted on an opensuse UEFI machine.

My toolstack of choice is Xen's native/default 'xl'.

I'm trying to launch a supposedly pv-capable distro-installer .iso as a PV guest using the pvgrub2 bootloader.

The iso contains

    mount -o loop openSUSE-13.2-DVD-x86_64.iso /mnt/iso
    cd /mnt/iso
    find . | grep xen | egrep "/xen|/initrd|/vmlinuz|/grub|/kernel"
        ./boot/x86_64/initrd-xen
        ./boot/x86_64/vmlinuz-xen
        ./suse/x86_64/grub2-x86_64-xen-2.02~beta2-20.5.1.x86_64.rpm
        ./suse/x86_64/kernel-xen-3.16.6-2.1.x86_64.rpm
        ./suse/x86_64/kernel-xen-devel-3.16.6-2.1.x86_64.rpm
        ./suse/x86_64/xen-4.4.1_06-3.3.x86_64.rpm
        ./suse/x86_64/xen-doc-html-4.4.1_06-3.3.x86_64.rpm
        ./suse/x86_64/xen-kmp-default-4.4.1_06_k3.16.6_2-3.3.x86_64.rpm
        ./suse/x86_64/xen-kmp-desktop-4.4.1_06_k3.16.6_2-3.3.x86_64.rpm
        ./suse/x86_64/xen-libs-4.4.1_06-3.3.x86_64.rpm
        ./suse/x86_64/xen-tools-4.4.1_06-3.3.x86_64.rpm
        ./suse/x86_64/xen-tools-domU-4.4.1_06-3.3.x86_64.rpm

This is the DomU .cfg I'm using

    cat test.cfg
        boot = 'd'
        disk = ['/home/lt/work/openSUSE-13.2-DVD-x86_64.iso,hdd:cdrom,r',]
        kernel = '/usr/lib/grub2/x86_64-xen/grub.xen'
        maxmem = 2048
        memory = 2048
        name = 'test'
        netif = 'yes'
        vif = [ 'mac=00:16:3E:01:01:01, bridge=br0, vifname=vifO',]
        vnc = 0
        sdl = 0
        stdvga = 1

When I exec 'xl create ...' at the Dom0, I just get dropped to a "grub" prompt.

Asking about it @ my disto ML, the suggestion so far is to add another tool into the mix, 'vm-install'.  That's causing MORE problems.

I'd really like to underestand & solve this with "just" Xen's native/default xl toolstack.

How do I get past the grub prompt to the usual installer opened in a VNC window?

LT


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.