I just installed openSUSE 13.2 with Xen & kernel-xen.

I need to set up the /xen.gz ... <OPTIONS> ... in grub.

In grub-legacy that's easy.  Just modify the /boot/grub/menu.lst

        kernel /xen.gz dom0_mem=1024M,max:1024M dom0_max_vcpus=2 
dom0_vcpus_pin=true ...

The system installed grub2 as the default.  In grub2 it's not clear to me how 
to set those options.

The grub2-generated /boot/grub/grub.cfg has

        ...
        echo    'Loading Xen xen ...'
        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
            xen_rm_opts=
        else
            xen_rm_opts="no-real-mode edd=off"
        fi
        multiboot       /xen.gz placeholder  ${xen_rm_opts} 
        ...

Where is $grub_platform defined?  I can't find the source.  Can I query it from 
the shell?

In either if/else case, it doesn't give you the option to add your own options.

Where do modify the xen.gz options when using grub2?

LT
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to