Nicolas Williams wrote: > On Mon, Dec 21, 2009 at 06:55:19PM -0800, Garrett D'Amore - sun microsystems > wrote: >> Grub has been modified to read and use the information in SPCR. A new >> keyword $CONSOLE is added for use on the kernel$ boot line in menu.lst; >> it will expand to properties which select either the appropriate serial >> port and mode (for example, >> "console=ttya,ttya-mode=19200,8,n,1,-,ttya-ignore-cd=true") or the >> normal text or graphics console ("console=text" or "console=graphics") >> as the Solaris release requires. (Currently Nevada uses text, >> OpenSolaris uses graphics.) A typical use in menu.lst would look >> like: >> >> kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,$CONSOLE > > How will grub know whether to expand $CONSOLE to console=text or > console=graphics? Will grub be built differently for Nevada and > OpenSolaris?
Yes, if the OpenSolaris transition hasn't taken over by the time of putback. > Are the changes to grub going back upstream? Probably not; something similar but different will be included in Grub2, which is on its way, but not ready soon enough to hold off this change.