* Andrey Borzenkov
В Tue, 29 Jan 2013 12:50:33 -0500 Roman Bysh
пишет: First off, never edit the "grub.cfg" file manually due to the fact that when you run grub2-mkconfig command, all of the manual entries will disappear.
If you want to make chainloader entries, use the /etc/grub.d/40_custom file. Save your changes and then run:
grub2-mkconfig -o /boot/grub2/grub.cfg
On openSUSE you can also edit /boot/grub2/custom.cfg which is sourced during boot. No need to run grub2-mkconfig.
so cp /boot/grub2/grub.cfg /boot/grub2/custom.cfg and edit custom.cfg? if custom.cfg exists, is it used instead of grub.cfg or in addition to? in editing "40_custom" it must be necessary to copy and alter "entire" sections of grub.cfg as "40_custom" appears to merely add lines to the "bottom" of grub.cfg. ie: its format/usage is not well explained, aics. I tried to add "video=1600x1200-32" to grub.cfg kernel parameters line via 40_custom and it only added a single line at the bottom of grub.cfg and had *no* effect. thus far, usage/adaptation of grub2 as in unix text configuration files seem to be quite illogical and convoluted. I somehow after using grub2-mkconfig realized unwanted/unusable addiitons to the kernel parameters line in grub.cfg and could find *no* reference for correcting. On a "stab-in-the-dark" edited /etc/default/grub.old and was able to removed the unwanted chars from the grub.cfg kernel param lines. This is definitely *not* intuitive, expected, logical or documented (that I could find). grub2 "may be a good thing" but is a mess to the unknowing w/o very good documentation and that requirement does not exist. This point is a *major* failure. -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org