lyndat3@your-mail.com wrote:
On Wed, Mar 25, 2015, at 08:51 AM, Jim Fehlig wrote:
lyndat3@your-mail.com wrote:
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.
Add the options to GRUB_CMDLINE_XEN in /etc/default/grub and recreate /boot/grub2/grub.cfg with 'grub2-mkconfig -o /boot/grub2/grub.cfg'.
Thanks, GRUB_CMDLINE_XEN= takes care of the xen.gz line.
If I have multikernel enabled and have both a -xen and -default kernel available, the
module /vmlinuz-3.19.2-2.g6c3d33f-xen ...
line looks like it's assembled from a combination of
GRUB_CMDLINE_LINUX= & GRUB_CMDLINE_LINUX_DEFAULT=
Right.
I need different options on the Xen instance's /vmlinuz line. For example a different elevator= & clocksource=.
Hmm, not sure if that is currently possible, but I'm not a grub2 expert. Perhaps others on the list have suggestions. Otherwise might be a feature request for grub2. Regards, Jim -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org