<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.apple-style-span
{mso-style-name:apple-style-span;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>See in-line<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>(I sure wish I knew how to make it so that every time I type in a punctuation character in Outlook, it would not come up as Egyptian Hieroglyphics within the post!)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Jackoverfull [mailto:jackoverfull@gmail.com] <br><b>Sent:</b> Friday, February 03, 2012 8:06 PM<br><b>To:</b> Jim Harris<br><b>Cc:</b> yaboot-users@lists.ozlabs.org<br><b>Subject:</b> Re: Enable multiple OSX boot option and intellegent labels?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Il giorno 03/feb/2012, alle ore 20.25, Jim Harris ha scritto:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Success!</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Jack, I followed your advice and edited the ofboot.b file directly and re-saved it in the bootstrap partition. Then, with fear and trepidation, I changed the ‘boot-dev’ Open Firmware variable to point directly to the ofboot.b file. (Did I type in enough zeros? Did I forget some weird punctuation somewhere? Will this even work or did I just bork my machine??)</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>p.s. I saved a copy of both the original ofboot.b and the new ofboot.b on my desktop – and I’m going to write them to a thumb-drive too.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>After correcting a couple of typos in the boot file, I am now getting a menu with both OSX partitions represented, with sane labels. Though, as I am sure you agree, I hate ugly hacks like this.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal>Glad to be reading this!<o:p></o:p></p></div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>>>Jim<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>You aren’t the only one! ( :grin: )<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><<Jim</span><br><br><o:p></o:p></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Next question: Does anyone know how to make that boot menu in a larger typeface? These ol eyes have not been 20 years old for a LOOONG time, and the text in that menu is pretty darn small. . . . ( :grin: )</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal>Easiest solution: lower Open Firmware resolution. Open Firmware boots with the latest resolution used by Mac OS (Linux ignores the boot resolution), so you'll need to change it right before shutting down and changing it back on startup.<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>>>Jim<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>??? Huh? How do you do that?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The closest thing I could find is screen-#rows and screen-#columns (I hope I got those right)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>“printenv” shows screen-#columns as 100 and screen-#rows as 40. I tried “setenv screen-#columns 80” – which command it took, and it printed back wonderfully on a subsequent “printenv” – but there was no change in the Open Firmware screen resolution, not even after a hard reboot (<i>i.e.</i> a full shutdown and cold-start)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>After I did all of that, I executed what I will call the Macintosh “four-finger salute”: OPT-CMD-O-F to return to the Open Firmware editor – and the resolution was unchanged. Continuing the boot into OSX (or Linux) did not appear to be affected.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><<Jim<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>You could use this small command-line utility, calling it while booting and while shutting down: <a href="http://hints.macworld.com/article.php?story=20090413120929454">http://hints.macworld.com/article.php?story=20090413120929454</a><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>>>Jim<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>This utility is for the terminal window *<b>within</b>* the running context of OSX – not the Open Firmware.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><<Jim<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p></div><div><p class=MsoNormal>For the boot you have multiple options (create a service, move it in a .app package to start it at login, edit the rc.common file) haven't done enough tests to see if all of those are viable, to shut down I would probably generate a service for launchd or use a logouthook (<a href="http://support.apple.com/kb/HT2420?viewlocale=en_US">http://support.apple.com/kb/HT2420?viewlocale=en_US</a>).<o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>>>Jim<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Again, this is within the running OSX context, not the Open Firmware display.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>What I am trying to do is – somehow – make the Open Firmware text look more like 640x480 than 1024x768<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><<Jim<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p></div><div><p class=MsoNormal>There should be a way to edit the resolution from open firmware (so you can put a command directly in ofboot.b), but I don't know it and suspect it requires a reboot to see the changes anyway.<o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>>>Jim<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You would think so, wouldn’t you? I went all over the Internet trying to find this stuff – got some really nice command-lists, etc. but nothing that looked like what I needed, except the screen-#columns / #rows which seemed to do no good at all.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>(Hmmm. . . . Maybe I should try those commands within the ofboot.b file? Can I issue “setenv” commands there?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><<Jim<o:p></o:p></span></p></div><div><p class=MsoNormal>The other straightforward solution is…<o:p></o:p></p></div><div><pre> __, _, _, ___ _ _ _ ___ _,_ _, _, _, _ _ _, __, ___ ,<o:p></o:p></pre><pre> |_) / \ / \ | | | | | |_| / \ (_ / ` | | / \ |_) | |<o:p></o:p></pre><pre> |_) \ / \ / | |/\| | | | | |~| , ) \ , | | |~| | \ | |<o:p></o:p></pre><pre> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ .<o:p></o:p></pre><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>>>Jim<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>*<b>YOU</b>* try it first on YOUR machine, and post the script here. (or the video of your machine smoking out of both ears on YouTube!) ( :laughing: )<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><<Jim<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>