Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > "boot-command" re-set during startup?

"boot-command" re-set during startup?
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2004
Status: Offline
Reply With Quote
Jan 12, 2004, 03:42 PM
 
hi. I have a Beige 266 MT running 10.2.8.

Is there some Darwin app or script that sets the Open Firmware "boot-command" setting during startup? and if so, can I choose my own setting instead?

I'm pretty sure my machine needs "boot-command" to be set to "boot", but it looks like something during startup keeps changing it to "0 bootr". this makes reboots into an annoying 3-step process. ("bootr, unknown word", then restart again, then type "boot")

from watching the startup process with Cmd-V, it looks like "boot-command" is set by or right after SecurityServer. the only file I found that mentions "boot-command" is /System/Library/StartupItems/SystemTuning/SystemTuning, but I'm not clear this is the culprit. I do know one thing: I don't know enough to go messing with it.

I'd like to either modify whatever script is causing this, or just add a "nvram boot-command boot" to a script during startup or shutdown. but I'm not familiar enough with Darwin's startup process to know where to put this. I'm used to more "traditional" BSD systems where everything's in /etc.

could someone please guide me to the right place?

thanks very much.
     
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status: Offline
Reply With Quote
Jan 12, 2004, 09:14 PM
 
To answer many of your questions:

"nvram" is the name of the unix command to set your open firmware variables. Also, "mac-boot" is what the boot command is supposed to be. This is also what it defaults to and it shouldn't be changing on you (i.e. the OS doesn't go changing this stuff).

If you are having problems with this being set to something it shouldn't, reboot into open firmware (holding down command-option-o-f) and type the following two commands:

reset-nvram
reset-all

You should no longer have boot-command boot problems.

If you would rather, you could:

sudo nvram boot-command="mac-boot"

but resetting the open firmware might be safer.

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:35 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2