Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Display UNIX messages during startup System
If you are the old school type of linux/unix user that enjoys seeing all the bootup messages rather than the graphical bootup screen then this hint is for you.

From the terminal type:
  sudo nvram -p
This command prints out your current arguments for the settings. If you want to see the old school style bootup type this:
  sudo nvram boot-args="-v"
Reboot to see the effects. To change back to the regular bootup screen type the following:
  sudo nvram boot-args=""
(notice that the quotes have nothing in them.)

[Editor's note: Other than testing the "-p" option, I have not tried this tip myself, so I can't verify whether it works or not ... but it makes sense based on the output of the "-p" switch.]
  • Currently 3.60 / 5
  You rated: 5 / 5 (5 votes cast)

Display UNIX messages during startup | 12 comments | Create New Account
Click here to return to the 'Display UNIX messages during startup' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
interesting output...
Authored by: jtrascap on Feb 12, '02 10:38:04AM
Did anyone read the output of the "sudo nvram -p" statement? There's some interesting things in there. My favourite:
oem-banner?     false
Original Equipment Manufacturer banner? Hmmm! Considering the other lines that are specific to Apple customization, I'd say this was more than just "left in" from the Unix basecode...

[ Reply to This | # ]
interesting output...
Authored by: Anonymous on Feb 12, '02 11:46:00AM

It may or may not be operational on Mac's, but on Sun machines it simply displays a user-specified text message when set. Mac users probably wouldn't see this by default on boot-up anyways, as they don't see the OF boot messages.

See these links for more info:

[ Reply to This | # ]
This is rather nice
Authored by: SeanAhern on Feb 12, '02 11:23:22AM

I've been using boot_args=-v for a while to see the startup messages.

Does anyone know if those are logged to a file anywhere? There are some that I'd like to go back and examine in detail, but they scroll by too quickly.

[ Reply to This | # ]
This is rather nice
Authored by: Auricchio on Feb 12, '02 11:51:09AM

No, messages this early don't make it to a file. The log doesn't actually get started till at least a few screens go by. There's an option that can be turned on while building the kernel (I forget where) to let this stuff fly out the serial port. Then again, with serial ports going away, I don't know if it's useful any more.

[ Reply to This | # ]
Authored by: SeanAhern on Feb 12, '02 03:21:58PM

I had thought this was probably the case, but had been hoping that once the drives were fsck'ed and mounted, that the rest would be put in a log.

Ah well.

[ Reply to This | # ]
Authored by: Auricchio on Feb 12, '02 10:05:35PM
Messages go into /var/log/system.log right after you see the message about it starting syslog.

[ Reply to This | # ]
This is rather nice
Authored by: Gwyrrdin on Feb 12, '02 03:38:36PM

type in "dmesg" at the prompt, and you see some info....

look in system.log for more....

cheers Gwyrrdin

[ Reply to This | # ]
Isn't this the Same as Command V?
Authored by: BuckarooBanzai on Feb 12, '02 06:08:42PM

I thought this was the same as holding command V on bootup? Is it not?

[ Reply to This | # ]
Isn't this the Same as Command V?
Authored by: rebug on Feb 12, '02 10:06:32PM

it is, but this makes it verbose all the time.

[ Reply to This | # ]
Isn't this the Same as Command V?
Authored by: ppmax on Feb 14, '02 09:37:58PM

notice that there is a switch for little-endian too.

for all you "star trek" conspiracy buffs, yet another bit of evidence...

[ Reply to This | # ]
Authored by: Hes Nikke on Feb 20, '02 08:32:40PM
this apperis to be a little redundent, even though the linked story is older, this one makes much more sence :D

[ Reply to This | # ]
Display UNIX messages during startup
Authored by: ubergoonz on Nov 28, '02 01:47:47PM

I have just tested it.
it works fine!
I think this would be useful for UNIX geeks. For those who uses Sun machines. You will notice that the nvram command will works like the eeprom command.

Now... does anyone know if it s possile to boot a mac into somewhat similiar to Sun's OBP or he NeXT's boot: prompt ?

[ Reply to This | # ]