Re: trying to add dom0_mem=512M,max:512M into /etc/grub2.cfg

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

 



On 11/27/2012 08:54 AM, Jerome Yanga issued this missive:
Hi!

I would like to add "dom0_mem=512M,max:512M" into /etc/grub2.cfg.
However, I know that /etc/grub2.cfg is automatically generated via the
templates from /etc/grub.d and settings from /etc/default/grub. I need
to make the entry similar to below.  Please guide me on how to go
about this.

title Xen 4.1.0 / pv_ops dom0 kernel 2.6.32.36
         root (hd0,0)
         kernel /xen-4.0.gz dom0_mem=512M,max:512M loglvl=all guest_loglvl=all
         module /vmlinuz-2.6.32.36 ro root=/dev/sda2 console=hvc0
earlyprintk=xen nomodeset
         module /initrd-2.6.32.36.img

Thank you in advance.

I think you edit /etc/default/grub and add:

	GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=512M,max:512M"

to it. The template in /etc/grub.d/20_linux_xen uses that variable
as part of the command line generation. I won't swear to it as I haven't
done it, but it seems logical.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-         If this is the first day of the rest of my life...         -
-                        I'm in BIG trouble!                         -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux