laurentio
1st May 2009, 05:08 PM
Had a client the other day annoyed with the fact that his Apple G4 was reporting a very strange date via open firmware while running the hardware diagnostic cd.
Here is how the date can be changed:
Reboot your machine, and hold Command-Option-O-F during the boot process to access the Open Firmware prompt.
Most likely, the real time clock is aliased in OF as rtc, so the command is this:
decimal dev rtc sec min hour day month year set-time (press enter)
So to set the clock to 10 seconds past 11:15PM on December 31st, 2005, the command would be:
decimal dev rtc 10 15 23 31 12 2005 set-time (enter)
The Open Firmware prompt should type ok after this, and you can then boot the Mac by typing mac-boot and pressing Enter.
happy now?:)
Here is how the date can be changed:
Reboot your machine, and hold Command-Option-O-F during the boot process to access the Open Firmware prompt.
Most likely, the real time clock is aliased in OF as rtc, so the command is this:
decimal dev rtc sec min hour day month year set-time (press enter)
So to set the clock to 10 seconds past 11:15PM on December 31st, 2005, the command would be:
decimal dev rtc 10 15 23 31 12 2005 set-time (enter)
The Open Firmware prompt should type ok after this, and you can then boot the Mac by typing mac-boot and pressing Enter.
happy now?:)