Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tweaknmod

macrumors 6502a
Original poster
Feb 13, 2012
527
1,794
Ottawa, Ontario
I got BootXchanger to change the boot logo, and it works great; but...

Right after the custom logo goes away, a screen with a mac logo appears and fades away. How do I change THIS also?

Anyone know where the file is? I've been looking through a million png's, but i can't seem to find the right one...

Note:
- this may seem like a stupid detail, but it matters to me
- I am aware of the risks in fiddling with this stuff

Thanks in advance for any help! :)
 

switon

macrumors 6502a
Sep 10, 2012
636
1
RE: lsof...?

Hi,

Do you mean the "apple logo" boot screen, or the login window? I assume you mean the boot screen.

I wonder if there is not some way of adding a "lsof" to one of the init scripts, say /etc/rc.common, or some other one. Basically, by the time the system has booted and the windowserver is up, the boot screen is gone. So it might be possible to add some "lsof"s to the init scripts that run while the boot screen is up, you could pipe the output of the "lsof"s to a file, and after the system boots you could search the file for the mac logo image file name. Something like the following might work:

lsof >> /var/root/lsof.output

(The lsof command lists all files and sockets that are currently open, so assuming that the kernel has opened the mac logo file to display the image, then lsof just might work.)

I know, it sounds crazy, and it probably is...but it's the first thing that comes to mind.

Good luck, and let me know how you solve this problem,
Switon
 
Last edited:

tweaknmod

macrumors 6502a
Original poster
Feb 13, 2012
527
1,794
Ottawa, Ontario
Hi,

Do you mean the "apple logo" boot screen, or the login window? I assume you mean the boot screen.

I wonder if there is not some way of adding a "lsof" to one of the init scripts, say /etc/rc.common, or some other one. Basically, by the time the system has booted and the windowserver is up, the boot screen is gone. So it might be possible to add some "lsof"s to the init scripts that run while the boot screen is up, you could pipe the output of the "lsof"s to a file, and after the system boots you could search the file for the mac logo image file name. Something like the following might work:

lsof >> /var/root/lsof.output

(The lsof command lists all files and sockets that are currently open, so assuming that the kernel has opened the mac logo file to display the image, then lsof just might work.)

I know, it sounds crazy, and it probably is...but it's the first thing that comes to mind.

Good luck, and let me know how you solve this problem,
Switon

Thanks for your reply!

I'll do some research and see if I can find a Rosetta Stone for what you just said, lol

I tried out the command you suggested (quickly) and I got a "permission denied" message, so a little education is in order. I'll let you know what I end up with.

Thanks again :)
 

switon

macrumors 6502a
Sep 10, 2012
636
1
RE: lsof...?

Hi,

Yes, you have to have root privileges to execute lsof (sorry I didn't mention this). So you can either login as root or use sudo, as in:

sudo lsof

Of course, if you add an lsof to an init script, it will automatically be run with root privileges and so you won't need to sudo.

The lsof command just lists all currently open files (and sockets), so if you can execute this command while the "boot logo" is being displayed, then the image file for the boot logo should show up in the lsof listing. The problem is that while the boot logo is displayed, the windowserver is not up and running and thus you cannot execute the lsof from another window. So, how might one get around this "chicken before the egg" problem? My idea was to add a lsof command to one of the init scripts that Mac OS executes when it boots up and before it brings up the windowserver, thus the lsof would be executed by the init script while the boot logo was being displayed on the screen. The output from lsof would then contain the file that was open that contains the boot logo image.

Gook luck,
Switon
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.